User forums > Using Code::Blocks
help!! help!! a problem with C::B!
80sky:
wxmsw26u_gcc_cb.dll just this .
oh , I have no it .
how can get it. please tell me!
stahta01:
You need to find where __WXDEBUG__ is being set.
First look in
Project -> Build Options
under Tab Compiler #defines
If __WXDEBUG__ is there you have to remove it.
Tim S
thomas:
...or link with the correct library.
--- Quote from: 80sky ----lwxmsw26ud
--- End quote ---
That is a debug build with Unicode.
--- Quote from: 80sky ---wxmsw26u_gcc_cb.dll just this
--- End quote ---
That is the non-debug DLL belonging to Code::Blocks which is not intended to be used in building other applications or being redistributed.
Even though this may work, it is very bad practice.
The file you want is called wxmsw26u_gcc_custom.dll (if you use MinGW and if you did not change the vendor). If you don't have that file, you have to download wxWidgets, and compile it (refer to the documentation at the wxWidgets site on how to do this).
These are build instructions that should work:
cd wxWidgets-2.6.3/build/msw
set path=c:\mingw\bin;c:\mingw\mingw32\bin
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1 clean
mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1
80sky:
ok, I compile wxWidgets again!
God bless me! all the best!
80sky:
Checking for existence: K:\c++代码\codeblocks\anewone\bin\Debug\anewone.exe
Executing: C:\Program Files\CodeBlocks/cb_console_runner.exe "K:\c++代码\codeblocks\anewone\bin\Debug\anewone.exe" (in K:\c++代码\codeblocks\anewone\.)
Process terminated with status -1073741515 (0 minutes, 8 seconds)
wxWidgets had compiled again, but the case just like before.
up is build log. still .
don't find wxmsw26ud_gcc_custom.dll, what's wrong? can you help me? thanks a lot!
Navigation
[0] Message Index
[*] Previous page
Go to full version