Only html5 building works..
Monkey Archive Forums/Monkey Discussion/Only html5 building works..
| ||
Probably I am doing something wrong here width my X64 PC, but the only thing I can get build is something for HTML5 and XNA. I followed all the instructions and installed all the needed programs and files, but still. Building for Flash gives me an error: ERROR:Error loading: c:\Program Files\Java\jdk1.6.0_21\jre\bin\server\jvm.dll I checked it.. the jvm.dll file is actually there. Building for glfw gives me an error about a file in the root of my D drive that is not there: D:\Microsoft.Cpp.Default.props Build started 11-3-2011 10:27:16. Project "D:\Programming\Projects\monkey\Terrorist\Terrorist.build\glfw\vc2010\MonkeyGame.sln" on node 1 (default targets). ValidateSolutionConfiguration: Building solution configuration "Debug|Win32". Project "D:\Programming\Projects\monkey\Terrorist\Terrorist.build\glfw\vc2010\MonkeyGame.sln" (1) is building "D:\Programming\Projects\monkey\Terrorist\Terrorist.build\glfw\vc2010\MonkeyGame.vcxproj" (2) on node 1 (default targets). D:\Programming\Projects\monkey\Terrorist\Terrorist.build\glfw\vc2010\MonkeyGame.vcxproj(18,3): error MSB4019: The imported project "D:\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 "D:\Programming\Projects\monkey\Terrorist\Terrorist.build\glfw\vc2010\MonkeyGame.vcxproj" (default targets) -- FAILED. Done Building Project "D:\Programming\Projects\monkey\Terrorist\Terrorist.build\glfw\vc2010\MonkeyGame.sln" (default targets) -- FAILED. |
| ||
Can you post your config.winnt.txt? |
| ||
Yep. I'd be interested as well. |
| ||
For Flash it is probably because I needed to change JDK_PATH="${PROGRAMFILES}\Java\jdk1.6.0_21" to JDK_PATH="c:\Program Files\Java\jdk1.6.0_21" because else I get an error that the JAVA part couldn't be found. Error: could not find JRE Error: could not find Java 2 Runtime Environment. The GLFW part is probably because I upgraded from VS2008 to VS2010 (found something about this on the internet). But a uninstall of VS2008 and an fresh install VS2010 did not solve the problem. My config.winnt.txt: '-------------------- 'Ant build tool path ' 'Must be set to a valid dir for ANDROID target support ' ANT_PATH="${SYSTEMDRIVE}\apache-ant-1.8.2" ANT_PATH="${SYSTEMDRIVE}\ant" '-------------------- '-------------------- 'MinGW path. ' 'Must be set to a valid dir for STDCPP target support. ' MINGW_PATH="${SYSTEMDRIVE}\MinGW" '-------------------- '-------------------- 'Java dev kit path ' 'Must be set to a valid dir for ANDROID and FLASH target support ' 'JDK_PATH="${PROGRAMFILES}\Java\jdk1.6.0_23" JDK_PATH="${PROGRAMFILES}\Java\jdk1.6.0_21" 'JDK_PATH="${PROGRAMFILES}\Java\jdk1.6.0_19" '-------------------- '-------------------- 'Android SDK and tool paths. ' 'Must be set to a valid for for ANDROID target support ' ANDROID_PATH="${SYSTEMDRIVE}\android-sdk-windows" '-------------------- '-------------------- 'Flex SDK path. ' 'Must be set for FLASH target support. ' FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4.1.0.16076" 'FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4.1" 'FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4.0.0.14159" 'FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4.0" 'FLEX_PATH="${SYSTEMDRIVE}\flex_sdk_4" 'FLEX_PATH="${SYSTEMDRIVE}\flex_sdk" '-------------------- '-------------------- 'MSBUILD path. ' 'Must be set for XNA and GLFW target support. ' MSBUILD_PATH="${WINDIR}\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" '-------------------- '-------------------- 'Tool used to 'run' .html files. ' 'This is optional, OS default tool for .html files will be used if this not set. ' 'HTML_PLAYER="${PROGRAMFILES}\Mozilla Firefox\firefox.exe" '-------------------- '-------------------- 'Tool used to 'run' flash .swf files. ' 'This is optional, OS default tool for .swf files will be used if this not set. ' 'FLASH_PLAYER="${PROGRAMFILES}\Mozilla Firefox\firefox.exe" '-------------------- |
| ||
Update: Build for Flash works now.. I un-installed the x64 version of Java SE and installed the i586 version. Never knew I had the x64 version installed. |
| ||
Another update... Uninstalled all (well, al lot of) the microsoft 'programs' in my programlist and reinstalled VC2010 again. Building glfw now works! |