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
掌柜推荐
¥760.00
SRD-PR1H速度继电器数字技术转速监控超速保护模块风力发电机配件
¥287.00
双福N1H-1C-70 100齿轮转速传感器测速探头免磁铁全螺纹M12*1脉冲
¥289.00
双福N1H-7A-55 100齿轮转速传感器速度探头M18*1可测零速高速
¥1,800.00
SDE-AE2H-AC CRS17差动转速速度继电器超速报警带恒定差速控制
¥918.00
SRE-PE3M速度继电器转速监控超速欠速失速保护5位数显转速表厂家
¥1,580.00
SDE-AE2H-AC CRS18差动转速速度继电器超欠速差速报警20mA电流
©
Wed 2026-5-20
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0