Guidance
指路人
g.yi.org
Guidance Forums
/
wxWidgets (wxWindows) in C++
/ Compiling issues
最新
搜索
论坛
Reginald Rexx
STC(宏晶)单片机与电路设计
wxWidgets (wxWindows) in C++
奇瑞QQ车友论坛
生活信息交流与学习角
质量与可靠性
Rapid-Q Basic
FreeBasic
Reginald
Forum
Examples
RapidQ
Forum
Bugs
Examples
Resource
RQ Doc
RQ Intro
System
LeonAutoBackup
Home
Software
App
Lib
RapidQ
Reginald
Upload
Chrononet
回顶部
⇑
Forum List
•
Thread List
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
1.
Compiling issues
#4683
Posted by:
2004-06-30 03:23:24
I tried to compile the program presented at
http://www.free2code.net/tutorials/programming/cpp/9/GUI_Programming_made_easy.php
.
I added the proper command line arguments that it specifies:
Compiler Options: -fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -fvtable-thunks -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__
Linker Options: -lwxmsw -lole32 -lwsock32 -lcomctl32 -lctl3d32 -lgcc -lstdc++ -lshell32 -loleaut32 -ladvapi32 -luuid -lodbc32
However, when i try to compile is says that lwxmsw does not exist. When i remove it, i get a whole bunch of linker errors:
[Linker error] undefined reference to `wxApp::wxApp()'
[Linker error] undefined reference to `wxTheApp'
[Linker error] undefined reference to `wxString::InitWith(char const*, unsigned, unsigned)'
[Linker error] undefined reference to `wxDefaultPosition'
[Linker error] undefined reference to `wxFrameNameStr'
...
...
...
[Linker error] undefined reference to `WinMain@16'
Anyone got any ideas on how to fix this?
Forum List
•
Thread List
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥308.00
N1H-3A-70转速传感器M16*1.5长70测齿轮有源带插头高转速双福直销
¥1,005.00
DRE-PD2H智能双向速度继电器正反转向识别超欠速反转报警反接制动
¥410.00
PMM-R52-BI指针式压力表带背光52mm金属壳可定制刻度盘logo润滑油
¥930.00
SRE-PD3H CRS142柴油机发动机超速保护继电器速度监控器转速监视
¥750.00
SRE-PE0H CRS185转速表5位数显数字式测速仪双福
¥648.00
N2H-3C-70齿轮传感器转速测量非接触式霍尔法兰直径18长70耐高压
©
Tue 2023-9-26
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0