GLFW problem :(

Monkey Targets Forums/Desktop/GLFW problem :(

Salmakis(Posted 2013) [#1]
I have a problem with GLFW, i got this errors:

Aktualisieren des Timestamps von "C:\Users\nix0r\Dropbox\Monkey72\fruitsort\main.build\glfw\vc2010\build\Release\MonkeyGame.unsuccessfulbuild".
ClCompile:
Alle Ausgaben sind aktuell.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I"../bdwgc/libatomic_ops-1.2/src" /I../bdwgc/include /I../stb /I../openal/include /I../glfw/include /I../glfw/lib /I../glfw/lib/win32 /Zi /nologo /W0 /WX- /O2 /Oi /Oy- /GL /D WIN32 /D NDEBUG /D _WINDOWS /D _MBCS /Gm- /EHa /MT /GS /Gy- /fp:precise /Zc:wchar_t /Zc:forScope /Fo"C:\Users\nix0r\Dropbox\Monkey72\fruitsort\main.build\glfw\vc2010\build\Release\\" /Fd"C:\Users\nix0r\Dropbox\Monkey72\fruitsort\main.build\glfw\vc2010\build\Release\vc100.pdb" /Gd /TP /analyze- /errorReport:queue ..\main.cpp /bigobj
main.cpp
..\main.cpp(7184): error C2065: 'GC_CTOR': nichtdeklarierter Bezeichner [C:\Users\nix0r\Dropbox\Monkey72\fruitsort\main.build\glfw\vc2010\MonkeyGame.vcxproj]
..\main.cpp(7184): error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'bb_app__app' [C:\Users\nix0r\Dropbox\Monkey72\fruitsort\main.build\glfw\vc2010\MonkeyGame.vcxproj]
Die Erstellung des Projekts "C:\Users\nix0r\Dropbox\Monkey72\fruitsort\main.build\glfw\vc2010\MonkeyGame.vcxproj" ist abgeschlossen (Standardziele) -- FEHLER.
Die Erstellung des Projekts "C:\Users\nix0r\Dropbox\Monkey72\fruitsort\main.build\glfw\vc2010\MonkeyGame.sln" ist abgeschlossen (Standardziele) -- FEHLER.

Fehler beim Buildvorgang.
"C:\Users\nix0r\Dropbox\Monkey72\fruitsort\main.build\glfw\vc2010\MonkeyGame.sln" (Standardziel) (1) ->
"C:\Users\nix0r\Dropbox\Monkey72\fruitsort\main.build\glfw\vc2010\MonkeyGame.vcxproj" (Standardziel) (2) ->
(ClCompile Ziel) -> 
  ..\main.cpp(7184): error C2065: 'GC_CTOR': nichtdeklarierter Bezeichner [C:\Users\nix0r\Dropbox\Monkey72\fruitsort\main.build\glfw\vc2010\MonkeyGame.vcxproj]
  ..\main.cpp(7184): error C2146: Syntaxfehler: Fehlendes ';' vor Bezeichner 'bb_app__app' [C:\Users\nix0r\Dropbox\Monkey72\fruitsort\main.build\glfw\vc2010\MonkeyGame.vcxproj]

    0 Warnung(en)
    2 Fehler


What i did:
installed VC2010
setting the path to the vc2010 stuff in the monkey.config
setting the VCTargetsPath variable

what i also tried:
reinstall VC2010
use #GLFW_USE_MINGW=true (nothing changed by this, it still post the vc2010 related errors)


any idea what i can do?
i got this working on another computer so easy, i got no clue whats wrong in here :(


SLotman(Posted 2013) [#2]
Don't know about VC2010 errors, but #GLFW_USE_MINGW=true only works if you have MINGW installed and set on "bin\config.winnt.txt"

You can also open and save the project on Visual Studio... sometimes that helps.


Salmakis(Posted 2013) [#3]
thank you very much, i forgot to set the path variable to MINGW, now i can use the GLFW target via MinGW.