Hello,
I have been wanting to try trinitycore for a while and I now got the chance.
I just have a small problem using CMAKE (following all the instructions on the trinitycore windows compilation article).
The log from CMAKE is posted below:
Check for working C compiler using: Visual Studio 10 Win64
Check for working C compiler using: Visual Studio 10 Win64 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "cl" is not able to compile a simple test program.
It fails with the following output:
Change Dir: C:/Dev/TrinityCore/10866/Build/CMakeFiles/CMakeTmp
Run Build Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
cmTryCompileExec.vcxproj /p:Configuration=Debug
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.1]
Copyright (C) Microsoft Corporation 2007. All rights reserved.
Build started 1/24/2011 5:52:59 PM.
Project
"C:\Dev\TrinityCore\10866\Build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"
on node 1 (default targets).
C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform.Targets(23,7):
error MSB8007: The Platform for project 'cmTryCompileExec.vcxproj' is
invalid. Platform='x64'. You may be seeing this message because you are
trying to build a project without a solution file, and have specified a
non-default Platform that doesn't exist for this project.
[C:\Dev\TrinityCore\10866\Build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
Done Building Project
"C:\Dev\TrinityCore\10866\Build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"
(default targets) -- FAILED.
Build FAILED.
"C:\Dev\TrinityCore\10866\Build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"
(default target) (1) ->
(InvalidPlatformError target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.Cpp.InvalidPlatform.Targets(23,7): error MSB8007: The Platform for project 'cmTryCompileExec.vcxproj' is invalid. Platform='x64'. You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Platform that doesn't exist for this project. [C:\Dev\TrinityCore\10866\Build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.79
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:12 (project)
Configuring incomplete, errors occurred!
OS: Win7 Ultimate x64
Any help would be deeply appreciated.
Thanks in advance,
-atxe