User forums > Using Code::Blocks
wxWidget issue (wxmsw28ud_gcc.dll related)
wedgeA:
I apologize in advance if this is a painful newbie question.
I am getting this same wxmsw28ud_gcc.dll error on any computer I try to run the .EXE except for my coding computer. I was hoping to write a stand alone .EXE using CB, minGW, and wxWidgets. Am I missing something for distribution? I am building the .EXE as target release. I am compiling on win XP for win XP.
ollydbg:
--- Quote from: wedgeA on April 03, 2009, 06:18:25 pm ---I apologize in advance if this is a painful newbie question.
I am getting this same wxmsw28ud_gcc.dll error on any computer I try to run the .EXE except for my coding computer. I was hoping to write a stand alone .EXE using CB, minGW, and wxWidgets. Am I missing something for distribution? I am building the .EXE as target release. I am compiling on win XP for win XP.
--- End quote ---
You can use this tool :http://www.dependencywalker.com/ to check which DLL's your EXE was depend on. Then Copy these DLLs with your EXE files. :D
wedgeA:
Thanks for the tips! So now I understand that for distribution I will always need to include at a minimum the wxmsw28ud_gcc.dll with every release .EXE file. Is there any way to create a stand alone .EXE that does not depend on additional libraries?
Ceniza:
--- Quote from: wedgeA on April 03, 2009, 07:20:09 pm ---Thanks for the tips! So now I understand that for distribution I will always need to include at a minimum the wxmsw28ud_gcc.dll with every release .EXE file. Is there any way to create a stand alone .EXE that does not depend on additional libraries?
--- End quote ---
Yes, it is possible. Look for statically linked libraries, which are "supported" (it is actually the linker's job) by Code::Blocks. However, this is not the place to talk more in deep about this issue.
yk1225:
i also have this problem, and my OS is VISTA, and i am new to codeblocks ,too. now i am google and baidu to find the solution .i would be very happy when someone can give me a hand ;)
Navigation
[0] Message Index
[*] Previous page
Go to full version