GLFW & MinGW

Monkey Targets Forums/Desktop/GLFW & MinGW

RetroRusty(Posted 2013) [#1]
How do I get Monkey/Trans to use MinGW and not MSBuild? I have installed MinGW but when I compile to GLFW, Trans is still running MSBuild. Is there a setting that I need to change?


GW_(Posted 2013) [#2]
it's broken


RetroRusty(Posted 2013) [#3]
What is?


AdamRedwoods(Posted 2013) [#4]
#GLFW_USE_MINGW=1



RetroRusty(Posted 2013) [#5]
Where do I need to put that setting?


therevills(Posted 2013) [#6]
At the start of your code.


RetroRusty(Posted 2013) [#7]
I have put that setting at the beginning of the code, but Monkey is still using MSBuild by the looks of it. This is what I am getting when I compile the code.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 12/03/2013 02:25:21.
Project "C:\Programming\Monkey\bananas\charlie\blobmonster\blobmonster.build\glfw\vc2010\MonkeyGame.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|Win32".
Project "C:\Programming\Monkey\bananas\charlie\blobmonster\blobmonster.build\glfw\vc2010\MonkeyGame.sln" (1) is building "C:\Programming\Monkey\bananas\charlie\blobmonster\blobmonster.build\glfw\vc2010\MonkeyGame.vcxproj" (2) on node 1 (default targets).
C:\Programming\Monkey\bananas\charlie\blobmonster\blobmonster.build\glfw\vc2010\MonkeyGame.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\Programming\Monkey\bananas\charlie\blobmonster\blobmonster.build\glfw\vc2010\MonkeyGame.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\Programming\Monkey\bananas\charlie\blobmonster\blobmonster.build\glfw\vc2010\MonkeyGame.sln" (default targets) -- FAILED.

Build FAILED.

"C:\Programming\Monkey\bananas\charlie\blobmonster\blobmonster.build\glfw\vc2010\MonkeyGame.sln" (default target) (1) ->
"C:\Programming\Monkey\bananas\charlie\blobmonster\blobmonster.build\glfw\vc2010\MonkeyGame.vcxproj" (default target) (2) ->
C:\Programming\Monkey\bananas\charlie\blobmonster\blobmonster.build\glfw\vc2010\MonkeyGame.vcxproj(18,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:00.04
TRANS FAILED: Error executing 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /p:Configuration=Release /p:Platform=Win32 MonkeyGame.sln', return code=1


benmc(Posted 2013) [#8]
After adding the #GLFW_USE_MINGW=1 I had to delete my build folder because the GLFW folder still had the failed MS Build stuff in it, then MinGW started working again.


RetroRusty(Posted 2013) [#9]
I've already done that but I'm still getting this error message.


AdamRedwoods(Posted 2013) [#10]
what version of monkey are you using?


RetroRusty(Posted 2013) [#11]
I'm using version V68b.


RetroRusty(Posted 2013) [#12]
I've got it working. I didn't have the correct path for MinGW in my Monkey config.