[CMake] CPack error

Macumber, Daniel Daniel.Macumber at nrel.gov
Tue May 3 09:30:13 EDT 2011


Hello, I am using CPack with 'include(InstallRequiredSystemLibraries)' under Windows 7, VS 2008, and NSIS.  When I try to build package I get the following error and the package fails to build:



1>------ Build started: Project: PACKAGE, Configuration: Release Win32 ------

1>

1>Performing Post-Build Event...

1>CPack: Create package using NSIS

1>CPack: Install projects

1>CPack: - Install project: OpenStudio

1>warning: target 'GPSVC.dll' is not absolute...

1>warning: target 'GPSVC.dll' does not exist...

1>Error copying file "GPSVC.dll" to "C:/working/openstudioTrunk/build/_CPack_Packages/win32/NSIS/OpenStudio-0.3.7.Unknown-Windows/bin/GPSVC.dll".

1>warning: target 'GPSVC.dll' is not absolute...

1>warning: target 'GPSVC.dll' does not exist...

1>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/BundleUtilities.cmake:691 (message):

1> error: verify_app failed

1>Call Stack (most recent call first):

1> C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/BundleUtilities.cmake:551 (verify_app)

1> C:/working/openstudioTrunk/build/cmake_install.cmake:51 (fixup_bundle)

1>CPack Error: Error when generating package: OpenStudio

1>Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."

1>Build log was saved at "file://c:\working\openstudioTrunk\build\PACKAGE.dir\Release\BuildLog.htm"

1>PACKAGE - 1 error(s), 0 warning(s)

========== Build: 0 succeeded, 1 failed, 84 up-to-date, 0 skipped ==========



I am building a 32 bit application but am on a 64 bit machine and I have read several posts about GPSVC.dll being a problem on Windows 7 when only the 64 bit version is available.  I'm not sure that I actually need this dll in the first place either.  Does anyone know how to get around this?

Thanks a lot,
Dan


More information about the CMake mailing list