Log in

View Full Version : Compiling the source



zopal
01-14-2007, 05:48 PM
I saw several wx*.h files included, this means we need wxwidgets to build?

Ellay
01-14-2007, 10:22 PM
Eh? What is this in reference to ?

zopal
01-15-2007, 03:45 AM
wxWidgets is a cross-platform toolkit, you can get it at: http://www.wxwidgets.org/downloads/

To be able to compile, you should compile wxwidgets in advance with release unicode, copy setup.h from include\wx\msw to include\wx.

To almost sucessfully compile, I had to change multiboxclient and server setting in Visual Studio/Project/Properties/Configuration Properties/C/C++/Code Generation/Runtime Library to Multi-threaded DLL (/MD) and add the wxWidgets path to Library files and Include files dir at Visual Studio/Tools/Options/Projects and Solutions/VC++ Directiories

zopal
01-15-2007, 08:58 AM
Now I get no error messages when compiling but get exception at start :(

Ellay
01-15-2007, 10:27 AM
If your trying to use MultiBox, use this link. I haven't tried the source, but this works without doing anything.

MultiBox Client & Server: http://ultrashare.net/hosting/fl/41b6bbca3c/

zopal
01-15-2007, 02:07 PM
Yeah, I downloaded that one. But doesn't compile/run well that's why I started this thread...

Micah
01-16-2007, 05:17 PM
Sorry for the delayed response, been busy with my Blood Elf. :D

If you want to compile and run from source download wxWidgets 2.8.0 from wxwidgets.org and build it in Unicode Debug mode. You will need to go into each project and change the Runtime Library to Multi-threaded Debug from Multi-threaded Debug DLL as previously mentioned. Also, add the include path as also mentioned by Zopal.

I don't know why but it throws an exception when built in release mode and I never took the time to figure out why. If someone knows what it is let us know here, one day I'll probably look into it....