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

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

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. debug/release
#4482
Posted by: 2004-06-16 17:27:47
hi,

I've got a problem with debug and release versions. I use VC++, and when I am trying to make debug-version I got the boath libs MSVCRT and MSVCRTD. It coase some trubles in my prog. Haw can I tell: I wanna only debug-version. By the way, I descovered that I have only d-versions of all libs from wxwidgets in C:\Programme\wxwindows-2.4.2\lib. Should it be like this?! I've installed it from the officioal site... It is also a reason, why I can not compile the release version of samples.

Thanks!
Message2. Re: debug/release
#4485
Posted by: upCASE 2004-06-16 19:25:15
Hi!
To get the release version of the wxWidgets lib open the project file and set the build configuration to release or unicode release. Rebuild the lib.
"MSVCRT and MSVCRTD. It coase some trubles in my prog." What trouble? There should be a release and debug version, otherwise debugging wouldn't make much sense.
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Message3. Re: debug/release
#4486
Posted by: 2004-06-16 20:03:14
so, I use two different tool for my prog: wxwidgets and another one. this another one has very clear defference between Debug and Realise. So it cool MSVCRTD. But COMDLG32 und WSOCK32 (wich I need for wxWidgets) coll MSVCRT. Becoase of it I get run-time-error, what stopps my prog. The Code I've written should be really ok.

sorry, I didn't get it, how I should build (or exactly what) wxWidgets to get wxmsw.lib istea of wxmswd.lib etc. ?
Message4. Re: debug/release
#4494
Posted by: upCASE 2004-06-17 00:04:29
Hi!
Setting the configuration of the lib is essentially the same as configuring any other project. Open the .dsw file, use "set active configuration" and compile. It should give you a list with 9 different configs.
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2024-3-29  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0