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
掌柜推荐
¥790.00
SRE-PD1H智能速度继电器转速监控器超速欠速失速保护器打滑检测
¥1,760.00
DMM-R100-BH双向转速表背光指针式船用尾轴正反转速表开孔101~104
¥840.00
双福SRE-AD0H-AC转速脉冲频率电流电压模拟量变送器模块20mA显示
¥810.00
SRE-PD1N智能速度继电器转速监控NAMUR输入接口带方波脉冲输出
¥497.00
双福D1H-5C-70双向转速传感器非接触霍尔齿轮正反转免磁钢M18*1.5
¥880.00
双福SRE-PD3H速度继电器转速监控器欠速超速柴油机飞车打滑保护器
©
Fri 2025-5-9
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0