Under MS Windows, you need to set the environment variable WXWIN to the location of wxWidgets. You need the following subdirectories to be located in same the directory:
For MS Visual C++, you also need to have in the same directory
You need to enable OpenGL support in wxWidgets. To do so, in the wxWidgets directory edit the file:
include\wx\msw\setup.hto have (line 854 in the 2.6.3 release)
#define wxUSE_GLCANVAS 1
In the wxWidgets directory, open the workspace:
build\msw\wx.dswUsing the Build -> Batch Build menu option, select the following targets:
In the ROBOOP directory, open the workspace:
roboop.dswUsing the Build -> Batch Build menu option, select all the targets. Then, build the targets.
Finally, in the GLroboop directory, open the workspace:
Glroboop.dswUsing the Build -> Batch Build menu option, select all the targets. Then, build the targets.
You can now run the program !
After you have modified the setup.h file, go to the build/msw subdirectory in the the wxWidgets directory and execute:
make -f makefile.bcc USE_OPENGL=1 UNICODE=1This will build a DEBUG version of the library. To obtain a non-DEBUG version, run the following commands:
make -f makefile.bcc USE_OPENGL=1 UNICODE=1 BUILD=release
Then, in the ROBOOP, run the command:
make -f makefile.bc5
Finally, in the GLroboop directory, execute:
make -f makefile.b32This will build a DEBUG version of the program. To obtain a non-DEBUG version, run the following commands:
make -f makefile.b32 BUILD=release