Hello. Since couple weeks I'm trying to learn how to make games. After couple games written in 2D I decided to take another step and try to write something in 3D. In google I've found crystal space. I'm windows user so it took me some time to figure out how to make it work. Firstly I did everything according to this tutorial:
http://www.crystalspace3d.org/docs/online/1.4/manual/MinGW.html#0Building CS took me couple hours.
Than I've made new project in NetBeans 6.9.1. In project properties I've added:
in C++ compiler options- Include:../../../../../CS/include
In Linker options: Additionaly libraries: ../../../../../CS/out/msysx86/optimize/libs
Than I've added 2 files from CS\apps\tutorial\simple1 folder to my project and hit Build. Unfortunately code didn't want to build:
"/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/d/[DropBox]/My Dropbox/[PROJEKTY]/[Pisanie gier]/[PrawieGry] CrystalSpace3D'
"/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/_prawiegry__crystalspace3d.exe
make[2]: Entering directory `/d/[DropBox]/My Dropbox/[PROJEKTY]/[Pisanie gier]/[PrawieGry] CrystalSpace3D'
mkdir -p dist/Debug/MinGW-Windows
g++.exe -o dist/Debug/MinGW-Windows/_prawiegry__crystalspace3d build/Debug/MinGW-Windows/simple1.o -L../../../../../CS/out/msysx86/optimize/libs -lcrystalspace-1.4
Info: resolving vtable for std::exception by linking to __imp___ZTVSt9exception (auto-import)
Info: resolving vtable for std::bad_alloc by linking to __imp___ZTVSt9bad_alloc (auto-import)
Info: resolving vtable for __cxxabiv1::__vmi_class_type_info by linking to __imp___ZTVN10__cxxabiv121__vmi_class_type_infoE (auto-import)
Info: resolving vtable for __cxxabiv1::__class_type_info by linking to __imp___ZTVN10__cxxabiv117__class_type_infoE (auto-import)
Info: resolving vtable for __cxxabiv1::__si_class_type_info by linking to __imp___ZTVN10__cxxabiv120__si_class_type_infoE (auto-import)
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.
../../../../../CS/out/msysx86/optimize/libs/libcrystalspace-1.4.a(win32.o): In function `Win32Assistant':
d:/CS/libs/csutil/win32/win32.cpp:471: undefined reference to `_imp__GetStockObject@4'
d:/CS/libs/csutil/win32/win32.cpp:471Info: resolving std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage by linking to __imp___ZNSs4_Rep20_S_empty_rep_storageE (auto-import)
make[2]: Leaving directory `/d/[DropBox]/My Dropbox/[PROJEKTY]/[Pisanie gier]/[PrawieGry] CrystalSpace3D'
make[1]: Leaving directory `/d/[DropBox]/My Dropbox/[PROJEKTY]/[Pisanie gier]/[PrawieGry] CrystalSpace3D'
: undefined reference to `_imp__GetStockObject@4'
collect2: ld returned 1 exit status
make[2]: *** [dist/Debug/MinGW-Windows/_prawiegry__crystalspace3d.exe] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 5s)
I've found couple similar topics in this section but none of them helped me.
EDIT: I forgot to mention what CS/CEL and WinLibs I'm using:
cs-win32libs-1.9_006 (from tutorial)
CS 1.4 (from SVN repository)
CEL 1.4 (from SVN repository)
System: Windows 7 (x86)
Graphic card: NVIDIA GeForce G 105M
Driver: NVidia 275.21 (i guess)