Author Topic: help!! help!! a problem with C::B!  (Read 10228 times)

Offline 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: help!! help!! a problem with C::B!
« Reply #15 on: October 06, 2006, 10:52:08 am »
wxmsw26u_gcc_cb.dll  just this .


oh ,  I  have  no  it .


how  can  get  it.  please tell  me!

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7108
    • My Best Post
Re: help!! help!! a problem with C::B!
« Reply #16 on: October 06, 2006, 10:58:53 am »
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
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: help!! help!! a problem with C::B!
« Reply #17 on: October 06, 2006, 11:07:34 am »
...or link with the correct library.

Quote from: 80sky
-lwxmsw26ud
That is a debug build with Unicode.

Quote from: 80sky
wxmsw26u_gcc_cb.dll  just this
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

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: help!! help!! a problem with C::B!
« Reply #18 on: October 06, 2006, 01:03:32 pm »
ok,  I compile wxWidgets  again!


God bless  me!  all  the best!

Offline 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: help!! help!! a problem with C::B!
« Reply #19 on: October 06, 2006, 02:16:56 pm »
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!