Since I like Eclipse quite much, I decided to hook 3dgs with the engine sdk on it. For anyone else interested, my setup on Windows:

I use Eclipse Helios CDT for C/C++ apps.
Using the workspace "projects" in my gstudio7 folder, create a new project called MyGame with the following settings:

project->properties
  • C/C++ Build -> Builder Settings -> internal builder
  • C/C++ Build -> Settings -> Tool Settings -> GCC C++ Compiler Includes:
    C:/MinGW/lib/gcc/mingw32/4.5.2/include
    C:/MinGW/lib/gcc/mingw32/4.5.2/include/c++
    C:/MinGW/include
    C:/GStudio7/sdk_engine (I actually use this folder locally in my project)
    C:/GStudio7/projects/MyGame
  • C/C++ Build -> Settings -> Tool Settings -> MinGW C++ Linker:
    Libraries (-l) = acknex
    Library search path (-L) = C:\GStudio7\sdk_engine
  • C/C++ Build -> Settings -> Build Steps -> Post-build steps Command: c:\gstudio7\WED.exe -p C:\GStudio7\projects\MyGame\Debug\MyGame.exe (for building your acknex.dll)
  • C/C++ Build -> Tool Chain Editor -> Current Toolchain = MinGW GCC (you have to install MinGW GCC)
  • C/C++ Build -> Tool Chain Editor -> Current builder = CDT Internal Builder


Note: replace Gstudio7 where needed laugh.

Create a new source file (MyGame.cpp) and copypaste the example code from gstudio\sdk_engine\e_tutorial.cpp, see if it works. Press the hammer to build, and the green arrow to run.

Regards,
Joozey


Click and join the 3dgs irc community!
Room: #3dgs