User forums > Help
problems with the compiled wxwidgets and code blocks.
stahta01:
--- Quote from: code2d on April 30, 2007, 05:04:40 am ---yaaay it compiles. Thanks for the great help!!!
I do have a minor thing I wish I could change. the program's (exe) will not run unless "mingwm10.dll" and "wxmsw28d_gcc_custom.dll" are in the same folder. I does not matter because I have "mingwm10.dll" for code blocks and I just went and got "wxmsw28d_gcc_custom.dll" for lib in wxwidgets. Is there a way I could could rename these files??? This would be handy but If I cant I'm still very much happy with what I have
--- End quote ---
You can change the word "custom" to other words if you want. If that is what you want use VENDOR=xyz in the wxWidget make and the dll will be "wxmsw28d_gcc_xyz.dll" instead of "wxmsw28d_gcc_custom.dll".
I have been told that if you put "mingwm10.dll" and "wxmsw28d_gcc_custom.dll" in a single folder and have that folder in the PATH environment variable that you will NOT have to copy it with each folder that has the exe. But, I have never done that because I am always creating special wxMSW DLLs and testing would be hard if I did that.
Tim S
parrimin:
Hi,
I fixed my problem of building the wxwidget project, but i still have the "wxmsw28_gcc_custom.dll not found" error. I have in the codeblock installed folder the files "wxmsw28u_gcc_cb.dll", and "mingwm10.dll". I thoudht they were the only files i had to extract...
I tried to rename my wxmsw28....dll file to the needed for exec, but it still says it can“t run. I saw there is a "wxmsw28_gcc_custom.dll" in "wxWidget installation folder"/lib, but... where must i copy this file to run?
Biplab:
--- Quote from: parrimin on May 02, 2007, 01:16:18 pm ---... I saw there is a "wxmsw28_gcc_custom.dll" in "wxWidget installation folder"/lib, but... where must i copy this file to run?
--- End quote ---
Copy it to the same folder where your exe of wxwidgets project.
parrimin:
Thanks for your answer, but... not running. First, it says it cant find "mingwm10.dll". Then i copied this file too, and now it says "The application failed to initialize properly (0xc0000005). Click on OK to terminate the application.
But, I have another question... If I run the app successfully, and i want my project to run in other machines, i have to copy these two files too? There is no manner to avoid this?
Biplab:
--- Quote from: parrimin on May 02, 2007, 01:34:25 pm ---But, I have another question... If I run the app successfully, and i want my project to run in other machines, i have to copy these two files too? There is no manner to avoid this?
--- End quote ---
Yes, you've to copy those files. But you can avoid that by compiling wxWidgets as a Static Library.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version