Compiling error

Monkey Targets Forums/XNA/Compiling error

jayparker(Posted 2011) [#1]
I try to compile my project to XNA-target and I get error.
What is missing/wrong?

TRANS monkey compiler V1.20
LoadConfig
lhs = BMAX_PATH
path = C:\BlitzMax\bin\bmk.exe
BMAX_PATH
NOT BMAX_PATH
FileType( path )=1
FILETYPE_FILE    =1
FILETYPE_DIR    =2
lhs = HTML_PLAYER
path = C:/Program Files/MonkeyPro/bin\mserver_winnt.exe
lhs = ANT_PATH
path = c:\Program Files\apache-ant-1.8.2
lhs = MINGW_PATH
path = C:\MinGW
lhs = JDK_PATH
path = c:\Program Files\Java\jdk1.6.0_27
lhs = ANDROID_PATH
path = c:\Program Files\Android\android-sdk
lhs = FLEX_PATH
path = c:\Program Files\flex_sdk_4.5.1
lhs = FLASH_PLAYER
path = C:/Program Files/MonkeyPro/bin\mserver_winnt.exe
lhs = MSBUILD_PATH
path = C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
IsValid bmx
2
2
BMAX_PATH = C:\BlitzMax\bin\bmk.exe
IsValid bmx
2
2
BMAX_PATH = C:\BlitzMax\bin\bmk.exe
Parsing...
Semanting...
Translating...
Building...
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.239]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 22.10.2011 10:22:41.
Project "C:\Development\Monkey\MatchUp v5\MatchUp.build\xna\MonkeyGame.sln" on node 1 (default targets).
C:\Development\Monkey\MatchUp v5\MatchUp.build\xna\MonkeyGame.sln.metaproj : error MSB4126: The specified solution configuration "Release|HPD" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration. [C:\Development\Monkey\MatchUp v5\MatchUp.build\xna\MonkeyGame.sln]
Done Building Project "C:\Development\Monkey\MatchUp v5\MatchUp.build\xna\MonkeyGame.sln" (default targets) -- FAILED.

Build FAILED.

"C:\Development\Monkey\MatchUp v5\MatchUp.build\xna\MonkeyGame.sln" (default target) (1) ->
(ValidateSolutionConfiguration target) -> 
  C:\Development\Monkey\MatchUp v5\MatchUp.build\xna\MonkeyGame.sln.metaproj : error MSB4126: The specified solution configuration "Release|HPD" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration. [C:\Development\Monkey\MatchUp v5\MatchUp.build\xna\MonkeyGame.sln]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.06
TRANS Failed to execute 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /p:Configuration=Release MonkeyGame.sln', return code=1
Abnormal program termination. Exit code: -1



Goodlookinguy(Posted 2011) [#2]
This is an error with HP computers.

Click on the start menu -> Right click on "Computer" -> Click "Properties" -> Click "Advanced system settings" -> delete the system variable called "PLATFORM" or "Platform"


jayparker(Posted 2011) [#3]
Worked, thanks!