User forums > Using Code::Blocks

Creating a Stand-alone file

<< < (2/2)

oBFusCATed:
It looks like in wxDev-C++ your application is link to static wx library, that's why you don't need the wx.dll.
You can achieve the same thing with C::B, but I don't know how (maybe you need to find wx static lib and link against it)

stahta01:

--- Quote from: oBFusCATed on July 23, 2009, 07:09:19 am ---It looks like in wxDev-C++ your application is link to static wx library, that's why you don't need the wx.dll.
You can achieve the same thing with C::B, but I don't know how (maybe you need to find wx static lib and link against it)

--- End quote ---

IIRC, Try unchecking use DLL in wizard. Tim S.

thomas:
Well, you need not use wxWidgets at all to get an executable. Luckily :)
All you need to do is make any kind of normal project (for example console program or Win32 program) and hit "compile", it will create a standalone executable in the location that is given in the project's options.

reason2breathe:
Aha! Fantastic. what's the difference between debug and release?

thomas:
The size of the executable, and the ability to debug the program. You may want to read a beginner's book of C/C++ programming and consult the MinGW/gcc documentation for those basic concepts.

Navigation

[0] Message Index

[*] Previous page

Go to full version