Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / compiling wxWidgets?

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. compiling wxWidgets?
#5012
Posted by: hailang_82 2004-08-22 00:50:56
Can anyone give me some instructions on how to compile wxWidgets with Dev C++??
I am trying to compile wxWidgets 2.5.2 after changing the settings of the setup.h .

I did try to go through the instructions of install.txt but the instructions concerning Dev C++ and wiWidgets are too vague.

For example,

-if you are compiling with GCC 3.x using makefiles and with wxUSE_STI==1 you need to manually add -DNO_GCC_PRAGMA to CXXFLAGS in config.gcc.

so where am i suppose to find the file containing the variable, wxUSE_STL?

I need all the instructions to compile the library. I am currently using Dev 4.9.9. mingw 3.3.1 and wxWidgets 2.5.2

Can anyone help?


Message2. Re: compiling wxWidgets?
#5024
Posted by: upCASE 2004-08-25 19:26:20
Hi!
"so where am i suppose to find the file containing the variable, wxUSE_STL?"
Check WXDIR/include/msw/setup.h.
The rest is explained straight forward in install.txt for 2.5.2. Go to WXDIR/build/msw and use "make" with the correct makefile for your compiler and use the correct options you want.

upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Message3. Re: compiling wxWidgets?
#5029
Posted by: hailang_82 2004-08-26 09:56:00
For unknown reasons, I can't find the variable, wsUSE_STL in the setup.h. Think i corrupt the files of Dev C++. I manage to compile successfully after reinstalling the program in another directory. thanks

DY
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2022-12-9  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0