Guidance
指路人
g.yi.org
Guidance Forums
/
wxWidgets (wxWindows) in C++
/ problems when compiling wsWindows examples
最新
搜索
论坛
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
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
1.
problems when compiling wsWindows examples
#2566
Posted by:
am
2003-08-27 02:35:09
On Dev-Cpp ver. 4.9.8, installed WxWindows-2.4.0.DevPak and
WxWindows-2.4.0-contribs.DevPak
Loading up Dev-Cpp with file->new->projectGUI->wxWindows works.
I have problems when I try to run examples of contribution
(which are mainly in MS VisualC++) on Dev-Cpp.
I did the following:
1) from Plot example directory, copied files plot.cpp, plot.rc, plotVC.dsp
in a new directory
2) imported plotVC.dsp file in Dev-Cpp successfully
With this procedure the following file plot.dev is obtained
....
Compiler=-D__GNUWIN32__ -W -finline-functions -DNDEBUG -DWIN32 -D_WINDOWS
-D__WINDOWS__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DWINVER=0x0400 -DSTRICT
CppCompiler=-D__GNUWIN32__ -W -finline-functions -DNDEBUG -DWIN32 -D_WINDOWS
-D__WINDOWS__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DWINVER=0x0400 -DSTRICT
Includes=../../../contrib/include;../../../lib/mswd
Linker=-lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32
-lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 -lcomctl32 -lrpcrt4
-lwsock32 -lwinmm -lwxmsw -lpng -lzlib -ljpeg -ltiff -lregex -lplot
Libs="../../../lib";"../../../contrib/lib"
....
Replacing Includes= and Libs= with the proper addresses and compiling
the compiler says that wxmsw is not existing.
Replacing this library with -lwxmswu generate a lot of linker errors for undefined references.
Should I recompile wxwindows source file to get libwxmsw? Or there is a
a DevPak just available? Thanks for any suggestion.
2.
Re: problems when compiling wsWindows examples
#2568
Posted by:
guidance
2003-08-27 06:36:23
Last edited by:
guidance
2011-06-14 09:45:58
(Total edited 1 time)
Try this:
http://www.guit.tk/?f=561
Forum List
•
Thread List
•
Reply
•
Refresh
•
New Topic
•
Search
•
Previous
•
Next
1
掌柜推荐
¥1,420.00
·
¥950.00
·
¥288.00
·
¥738.00
·
¥397.00
·
¥750.00
·
©
Sun 2024-11-24
Guidance Laboratory Inc.
Email:
webmaster1
g.yi
.
org
Hits:
0