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

Offline 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
help!! help!! a problem with C::B!
« on: October 06, 2006, 07:45:27 am »
Some days ago, i set a project with wxWidgets in C::B,compiling had no problem,but when I run this program,A prolem had happened. system remind me: this program doesn't find wxmsw26ud_gcc_cb.dll,so it doesn't run.


why ?  please help!  thanks! consider some  days.don't think out the key.



help   help   help!

Offline 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: help!! help!! a problem with C::B!
« Reply #1 on: October 06, 2006, 07:55:08 am »
my system: windows XP sp2 simple chinese

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7108
    • My Best Post
Re: help!! help!! a problem with C::B!
« Reply #2 on: October 06, 2006, 08:59:15 am »
wxmsw26ud_gcc_cb.dll is the debug version of the DLL have your tried to compile in the release mode?

Tim S
« Last Edit: October 06, 2006, 09:11:13 am by stahta01 »
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 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: help!! help!! a problem with C::B!
« Reply #3 on: October 06, 2006, 09:12:30 am »
what should I do? please teach me!

I had compiled wxWidgets 2.6.3


I should compile wxmsw26ud_gcc_cb.dll, right?

Offline 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: help!! help!! a problem with C::B!
« Reply #4 on: October 06, 2006, 09:14:23 am »
wait  online!

Offline 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: help!! help!! a problem with C::B!
« Reply #5 on: October 06, 2006, 09:29:42 am »
how  to solve this problem  !!


please help  me!

Offline 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: help!! help!! a problem with C::B!
« Reply #6 on: October 06, 2006, 09:34:35 am »
In  the  release mode,  it  was still  wrong!


The program didn't still  find wxmsw26ud_cb.dll,  why,  why??

Do  you meet it?   please  help solve it,  thanks  a  lot! 

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9614
Re: help!! help!! a problem with C::B!
« Reply #7 on: October 06, 2006, 09:37:37 am »
Do  you meet it?   please  help solve it,  thanks  a  lot! 
Hammering the forum with your question won't make us to answer any faster.
Anyway, please put the DLL inside the the folder with your executable. Make sure you really *have* this dll. Please make sure it is called like that, especially watch for the wxmsw26ud_cb.dll and wxmsw26ud_cb.dll.
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: help!! help!! a problem with C::B!
« Reply #8 on: October 06, 2006, 09:46:29 am »
liuke520 is back again  :)
"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 #9 on: October 06, 2006, 10:10:28 am »
I  had  tried,  but  no usefull.

Offline 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: help!! help!! a problem with C::B!
« Reply #10 on: October 06, 2006, 10:12:53 am »
sorry,  The  dll  is wxmsw26ud_gcc_cb.dll   not wxmsw26ud_cb.dll

Offline 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: help!! help!! a problem with C::B!
« Reply #11 on: October 06, 2006, 10:15:18 am »
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -D__WXDEBUG__ -Winvalid-pch -include wx_pch.h -DUSE_PCH -Wall -O2 -g  -ID:\wxWidgets-2.6.3\include -ID:\wxWidgets-2.6.3\lib\gcc_dll\mswud -ID:\wxWidgets-2.6.3\contrib\include -I"C:\Program Files\CodeBlocks\include" -ID:\wxWidgets-2.6.3\include  -c wx_pch.h -o wx_pch.h.gch\Release_wx_pch.h.gch
cc1plus.exe: warning: wx_pch.h.gch/Debug_wx_pch.h.gch: created using different flags
cc1plus.exe: warning: ./wx_pch.h.gch/Debug_wx_pch.h.gch: created using different flags
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -D__WXDEBUG__ -Winvalid-pch -include wx_pch.h -DUSE_PCH -Wall -O2 -g  -ID:\wxWidgets-2.6.3\include -ID:\wxWidgets-2.6.3\lib\gcc_dll\mswud -ID:\wxWidgets-2.6.3\contrib\include -I"C:\Program Files\CodeBlocks\include" -ID:\wxWidgets-2.6.3\include  -c main.cpp -o obj\Release\main.o
cc1plus.exe: warning: ./wx_pch.h.gch/Debug_wx_pch.h.gch: created using different flags
mingw32-g++.exe -pipe -mthreads -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DwxUSE_UNICODE -D__WXDEBUG__ -Winvalid-pch -include wx_pch.h -DUSE_PCH -Wall -O2 -g  -ID:\wxWidgets-2.6.3\include -ID:\wxWidgets-2.6.3\lib\gcc_dll\mswud -ID:\wxWidgets-2.6.3\contrib\include -I"C:\Program Files\CodeBlocks\include" -ID:\wxWidgets-2.6.3\include  -c app.cpp -o obj\Release\app.o
cc1plus.exe: warning: ./wx_pch.h.gch/Debug_wx_pch.h.gch: created using different flags
mingw32-g++.exe -LD:\wxWidgets-2.6.3\lib\gcc_dll -L"C:\Program Files\CodeBlocks\lib" -LD:\wxWidgets-2.6.3\lib  -o bin\Release\anewone.exe obj\Release\main.o obj\Release\app.o   -s  -lwxmsw26ud -lgdi32  -mwindows
Process terminated with status 0 (0 minutes, 17 seconds)
0 errors, 4 warnings


this  is build log,  please  help me

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7108
    • My Best Post
Re: help!! help!! a problem with C::B!
« Reply #12 on: October 06, 2006, 10:26:53 am »
Do you have this file wxmsw26ud_gcc_cb.dll ?

Try to find out where -D__WXDEBUG__ is coming from if you have this file wxmsw26u_gcc_cb.dll instead.

Edited file names.

If you have neither, this file can be downloaded wxmsw26u_gcc_cb.dll
at http://prdownload.berlios.de/codeblocks/wxmsw26u_gcc_cb_wx2.6.3p2.7z

Tim S
« Last Edit: October 06, 2006, 10:45:41 am by stahta01 »
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 80sky

  • Multiple posting newcomer
  • *
  • Posts: 26
Re: help!! help!! a problem with C::B!
« Reply #13 on: October 06, 2006, 10:43:50 am »
sure  ,  I have  it.  otherwise  The  C::B doesn't run.

I can't understand what  you said.  Can  you  say  it clearly, thanks.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7108
    • My Best Post
Re: help!! help!! a problem with C::B!
« Reply #14 on: October 06, 2006, 10:46:27 am »
What is the name of the file you have?
Does the file have an ud in the name?

We need to find out if you have the file which your program is asking for?
Every letter in the filename must match for it to work.

Tim S
« Last Edit: October 06, 2006, 10:54:04 am by stahta01 »
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