News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

help!! help!! a problem with C::B!

Started by 80sky, October 06, 2006, 07:45:27 AM

Previous topic - Next topic

80sky

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!

80sky

my system: windows XP sp2 simple chinese

stahta01

#2
wxmsw26ud_gcc_cb.dll is the debug version of the DLL have your tried to compile in the release mode?

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

80sky

what should I do? please teach me!

I had compiled wxWidgets 2.6.3


I should compile wxmsw26ud_gcc_cb.dll, right?

80sky


80sky

how  to solve this problem  !!


please help  me!

80sky

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! 

MortenMacFly

Quote from: 80sky on October 06, 2006, 09:34:35 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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

thomas

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

80sky


80sky

sorry,  The  dll  is wxmsw26ud_gcc_cb.dll   not wxmsw26ud_cb.dll

80sky

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

stahta01

#12
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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

80sky

sure  ,  I have  it.  otherwise  The  C::B doesn't run.

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

stahta01

#14
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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]