My favorites | Sign in
Project Hosting will be READ-ONLY Thursday at 3:00pm UTC for up to 3 hours for network maintenance.
Project Home Downloads Wiki Issues Source
Search
for
CompilingVS2008Express  
Instructions for compiling wxWidgets-Windows version of Wildcat
Phase-Deploy
Updated Feb 4, 2010 by danhe...@gmail.com

I used Windows XP.

Get Microsoft Visual C++ 2008 Express Edition and install it ( it's free, but almost 1GB ).

Download the wxWidgets source code from here. http://prdownloads.sourceforge.net/wxwindows/wxMSW-2.8.8-Setup.exe

Set an environment variable called WXWIN to be C:\wxWidgets-2.8.8 or whereever wxWidgets installed to. ( to set an evironment variable go to Control Panel, then System, then Advanced tab, then press "Environment Variables" button, then press "New" ).

Edit C:\wxWidgets-2.8.8\include\wx\msw\setup.h changing "#define wxUSE_GLCANVAS 0" to "#define wxUSE_GLCANVAS 1" and changing "#define wxUSE_ODBC 0" to "#define wxUSE_ODBC 1"

Open and build C:\wxWidgets-2.8.8\build\msw\wx_dll.dsw ( let VC2008 convert the projects ) Change the configuration to "DLL Unicode Release" or to "DLL Unicode Debug" if you will be building Wildcat in Debug mode.

Copy 4 of the dlls that get made from C:\wxWidgets-2.8.8\lib\vc_dll to wildcat-cad\trunk\Build\wxWin32

They are:

  • xmsw28u_aui_vc_custom.dll
  • xmsw28u_core_vc_custom.dll
  • xmsw28u_gl_vc_custom.dll
  • xbase28u_vc_custom.dll

or, if you are doing the debug mode

  • xmsw28ud_aui_vc_custom.dll
  • xmsw28ud_core_vc_custom.dll
  • xmsw28ud_gl_vc_custom.dll
  • xbase28ud_vc_custom.dll

Open "wildcat-cad\trunk\Projects\wxVC9\Wildcat.sln", it should open with Visual C++ 2008 Express.

Choose "Release" configuration or "Debug".

Press "Build Solution"

If it builds OK, press "Start Debugging" to run it, or go to Windows Explorer and double-click on

Wildcat.exe in wildcat-cad\trunk\Build\wxWin32

If you have a problem, look at the forum and post a question for me. Dan Heeks.

Comment by stef...@gmail.com, Oct 6, 2008

I have built wxWindows as was described here, but using VC2005. This does not allow me to open the Wildcat wxVC9 solution. I modified the provided vcproj file to use Version="8.00" instead of Version="9.00". Open this and create the solution file afterwards. So far, it seems be a valid project. However, I got compilation errors:

"wildcat\trunk\Source\Workbenches\PartDesign?/part_pad_types.h(86) : error C2440: 'type cast' : cannot convert from 'float' to 'Wildcat::PartPadType?' Conversions between enumeration and floating point values are no longer allowed"

I've modified this into: void FromElement?(xercesc::DOMElement element, const std::string &name) { this->type = (PartPadType?)(int)WCSerializeableObject::GetFloatAttrib?(element, name); }

Which seems to be accepted just fine.

Comment by piao...@gmail.com, Feb 16, 2009

I downloaded the latest wildcat source code and try to build using visual studio 2008, but it seems the project is not correct.Some files are missing for directory restructure and other reasons. Can you check it?


Sign in to add a comment
Powered by Google Project Hosting