Re: [CMake] CPack error in visual studio 2010

2014-03-26 Thread Lloyd
The problem disappeared now. I suspect some application (may be the antivirus or a virus) was keeping that file ("C:/Users/user1/Desktop/xyz/abc-1.0.0-win32.exe") open. On Tue, Mar 25, 2014 at 3:33 PM, Lloyd wrote: > Hi, > > I am using CPack (CMake) with Visual Studio 2010. When I "build" Packa

[CMake] CPack error in visual studio 2010

2014-03-25 Thread Lloyd
Hi, I am using CPack (CMake) with Visual Studio 2010. When I "build" Package, my NSIS based installer is getting created in the "_CPack_Packages\win32\NSIS" directory of the build directory. But the build process in Visual Studio throws an error like the following: Error 32 error : Problem copyin

Re: [CMake] CPack error : Problem checking NSIS version with command: "C:/NSIS/makensis.exe" /VERSION

2014-03-19 Thread Iosif Neitzke
Apparently NSIS 2.15 lacks a "v" in the version output string, which causes the regular expression used in cmCPackNSISGenerator [0] to fail. The "v" was added back to the version string in 2.16 [1], and presumably exists all the way through NSIS version 2.46. [0] https://github.com/Kitware/CMake

Re: [CMake] CPack error : Problem checking NSIS version with command: "C:/NSIS/makensis.exe" /VERSION

2014-03-19 Thread Iosif Neitzke
On both Windows 7 and Windows XP makensis.exe /VERSION seems to exit normally, but it must be a bad return value or regex failure: https://github.com/Kitware/CMake/blob/master/Source/CPack/cmCPackNSISGenerator.cxx#L437 -- Powered by www.kitware.com Please keep messages on-topic and check the CM

Re: [CMake] CPack error : Problem checking NSIS version with command: "C:/NSIS/makensis.exe" /VERSION

2014-03-18 Thread Bruce Cartland
Can't vouch for 2.15. Are you able to use NSIS 2.46? This works for me using CMake 2.8.12.2 (I also used a number of previous 2.8 versions though can't be sure which ones). On 19/03/14 12:37, Iosif Neitzke wrote: > When trying to run CPack with NSIS 2.15, i get: > > CPack error : Problem checking

[CMake] CPack error : Problem checking NSIS version with command: "C:/NSIS/makensis.exe" /VERSION

2014-03-18 Thread Iosif Neitzke
When trying to run CPack with NSIS 2.15, i get: CPack error : Problem checking NSIS version with command: "C:/NSIS/makensis.exe" /VERSION Please check ./NSISOutput.log for errors CPack error : Cannot initialize the generator NSIS NSISOutput.log: # Run command: "C:/NSIS/makensis.exe" /VERSION #

Re: [CMake] cpack error in visual studio

2013-05-02 Thread Eric Noulard
2013/5/2 Lloyd : > Hi, > > I am trying CPack in visual studio. When I build "PACKAGE" it throws me an > error like this: > > CMake Error at C:/BuildDir1/src/cmake_install.cmake:38 (message): > ABSOLUTE path INSTALL DESTINATION forbidden (by caller): > > C:/BuildDir1/src/Debug/QtGuid4.dll;C:/B

[CMake] cpack error in visual studio

2013-05-02 Thread Lloyd
Hi, I am trying CPack in visual studio. When I build "PACKAGE" it throws me an error like this: CMake Error at C:/BuildDir1/src/cmake_install.cmake:38 (message): ABSOLUTE path INSTALL DESTINATION forbidden (by caller): C:/BuildDir1/src/Debug/QtGuid4.dll;C:/BuildDir1/src/Debug/QtCored4.dll;

[CMake] CPack error : Problem creating temporary directory

2013-04-09 Thread h f
Hello, I am working on a project called Alpha, and I have installed all the binaries needed (using cmake and the module bundleUtilities) in this directory : E:/projects/Alpha/installNow, I want to generate a NSIS package with cpack but I have the following error when building the PACKAGE target

[CMake] CPack error

2011-05-03 Thread Macumber, Daniel
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

Re: [CMake] CPack Error: Not enough items on list: CPACK_INSTALL_CMAKE_PROJECTS

2009-08-14 Thread Karl Reite
: 13. august 2009 17:38 To: Karl Reite Cc: cmake@cmake.org Subject: Re: [CMake] CPack Error: Not enough items on list: CPACK_INSTALL_CMAKE_PROJECTS >From CPack.cmake : cpack_set_if_not_set(CPACK_INSTALL_CMAKE_PROJECTS "${CMAKE_BINARY_DIR};${CMAKE_PROJECT_NAME};ALL;/") Looks like yo

Re: [CMake] CPack Error: Not enough items on list: CPACK_INSTALL_CMAKE_PROJECTS

2009-08-13 Thread David Cole
>From CPack.cmake :cpack_set_if_not_set(CPACK_INSTALL_CMAKE_PROJECTS "${CMAKE_BINARY_DIR};${CMAKE_PROJECT_NAME};ALL;/") Looks like you do not have a "PROJECT" statement in your top level CMakeLists.txt file. If you did, the second component of CPACK_INSTALL_CMAKE_PROJECTS would not be the empty

[CMake] CPack Error: Not enough items on list: CPACK_INSTALL_CMAKE_PROJECTS

2009-08-13 Thread Karl Reite
Hi, My problem is that I can not get CPack to create an installer for my project. I have done this before with success, but this time I can not figure out the problem. I work in Visual Studio 2005 SP1. The project compiles without errors. When i try to build the "PACKAGE" project (this call

Re: [CMake] CPack, error generating rpm file, error "File must begin with "/": "

2009-06-25 Thread Eric Noulard
2009/6/25 Pascale B : > Hi Eric, > > >    Thanks for your help. I use a remote computer in order to test many > operating systems. The content of rpmbuild.out is enigmatic, it seems empty: > > Processing files: sources-1.04.0-1 > RPM build errors: > Strange that's right. Are you able to "manually

Re: [CMake] CPack, error generating rpm file, error "File must begin with "/": "

2009-06-25 Thread Pascale B
ascale > Date: Thu, 25 Jun 2009 16:39:14 +0200 > Subject: Re: [CMake] CPack, error generating rpm file, error "File must begin > with "/": " > From: eric.noul...@gmail.com > To: chos...@hotmail.com > CC: cmake@cmake.org > > 2009/6/25 Pascale B : &g

Re: [CMake] CPack, error generating rpm file, error "File must begin with "/": "

2009-06-25 Thread Eric Noulard
2009/6/25 Pascale B : > Hi Eric, > >    I already had this buildroot problem and fixed it, I copied the file > locally and can create packages (rpm, deb) on my local computer without any > problems. Ok sorry about that I didn't remember that yuo already faced this. >    The problem I have now is

Re: [CMake] CPack, error generating rpm file, error "File must begin with "/": "

2009-06-25 Thread Pascale B
could the "File must begin with "/": come from? I tried to grep this error string in the cmake folder and didn't find it? Thanks for your help, Pascale > Date: Thu, 25 Jun 2009 16:09:25 +0200 > Subject: Re: [CMake] CPack, error generating rpm file, error "

Re: [CMake] CPack, error generating rpm file, error "File must begin with "/": "

2009-06-25 Thread Eric Noulard
2009/6/25 Pascale B : > Hi All, > >    I am using CMake, CPack to generate packages. I successfully generated > .tar.Z, .rpm and .deb files on my local computer. I am now trying to make > tests on a computer that I access with SSH and I am getting an error only > for the rpm file. > > The error pre

[CMake] CPack, error generating rpm file, error "File must begin with "/": "

2009-06-25 Thread Pascale B
Hi All, I am using CMake, CPack to generate packages. I successfully generated .tar.Z, .rpm and .deb files on my local computer. I am now trying to make tests on a computer that I access with SSH and I am getting an error only for the rpm file. The error presents as: CPack Error: Problem c