User forums > Help
Just getting it set up w/wxWidgets...
Biplab:
--- Quote from: FlyingIsFun1217 on February 03, 2007, 05:10:03 am ---Ok... :P
Now I get: "undefined reference to 'WinMain@16'".
AAAAHHHHH!!!!!!
FlyingIsFun1217 :)
--- End quote ---
Probably you didn't declare any WinMain function. Did you declare wxApp derived class and used IMPLEMENT_APP() macro? Please provide more details.
FlyingIsFun1217:
Well, for some reason, all it took was a restart of Code::Blocks.
Now my only concern is that when trying to run the program, it wants wxbase28_gcc.dll. Is it expecting the dll of wxwidgets to run it since I compiled it with the dll?
How can I get to to be standalone?
Thanks again for your cooperation!
FlyingIsFun1217
Biplab:
Don't link against dll. Uncheck the option Use wxWidgets DLL from wizard. You should also have static lib of wx in your system. If you are using wxPack then it will be there.
FlyingIsFun1217:
So to be able to use the wxWidgets dll provided with wxPack, I HAVE to have it to run the program?
Ok, will use monolithic build.
Thanks!
FlyingIsFun1217
Biplab:
Use the following thumb-rule to select wx lib.
* Static - When you want your application to be self sufficient. Means don't rely upon external wx DLLs.
* DLL - You wish your application exe size to be smaller.
* Monolithic DLL - You'll distribute only one wx DLL.
* Monolithic Static - It's same as using Static. It's your personal choice to select this one.So just don't take your decision arbitrarily. I use DLL while developing as I have to recompile it frequently. During distribution I prefer static wx lib. Now it's your personal choice on selecting appropriate lib. :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version