fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[fluid-dev] Using Visual Express to Compile in 64bit


From: Dan Dietzer
Subject: [fluid-dev] Using Visual Express to Compile in 64bit
Date: Sun, 07 Oct 2012 11:39:37 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1

Is there something I have to change in CMakeList.txt to be able to compile in Visual C++ Express 64bit? I received these messages from CMake:

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:/Users/Sandstone/Repository/Fluidsynth/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 10/7/2012 11:33:36 AM.

Project

"C:\Users\Sandstone\Repository\Fluidsynth\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"

on node 1 (default targets).

InitializeBuildStatus:

Creating "cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\CL.exe /c /Zi /nologo- /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/Users/Sandstone/Repository/Fluidsynth/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /Gd /TC /errorReport:queue testCCompiler.c /Zm1000

Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl /c /Zi /nologo- /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/Users/Sandstone/Repository/Fluidsynth/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /Gd /TC /errorReport:queue testCCompiler.c /Zm1000

cl : Command line warning D9035: option 'nologo-' has been deprecated and

will be removed in a future release

[C:\Users\Sandstone\Repository\Fluidsynth\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

testCCompiler.c

ManifestResourceCompile:

C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res" cmTryCompileExec.dir\Debug\cmTryCompileExec_manifest.rc

Link:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\Sandstone\Repository\Fluidsynth\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe" /VERSION:"0.0" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:"cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:\Users\Sandstone\Repository\Fluidsynth\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.pdb" /SUBSYSTEM:CONSOLE /STACK:"10000000" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Sandstone/Repository/Fluidsynth/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.lib" /MACHINE:X64 cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res

cmTryCompileExec.dir\Debug\testCCompiler.obj /machine:x64 /debug

LINK : fatal error LNK1104: cannot open file 'kernel32.lib'

[C:\Users\Sandstone\Repository\Fluidsynth\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

Done Building Project

"C:\Users\Sandstone\Repository\Fluidsynth\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"

(default targets) -- FAILED.

Build FAILED.

"C:\Users\Sandstone\Repository\Fluidsynth\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"

(default target) (1) ->

(ClCompile target) ->

cl : Command line warning D9035: option 'nologo-' has been deprecated and will be removed in a future release [C:\Users\Sandstone\Repository\Fluidsynth\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

"C:\Users\Sandstone\Repository\Fluidsynth\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"

(default target) (1) ->

(Link target) ->

LINK : fatal error LNK1104: cannot open file 'kernel32.lib' [C:\Users\Sandstone\Repository\Fluidsynth\build\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

1 Warning(s)

1 Error(s)

Time Elapsed 00:00:00.54

CMake will not be able to correctly generate this project.

Call Stack (most recent call first):

CMakeLists.txt:22 (project)

Configuring incomplete, errors occurred!


Regards,
Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]