Error 'setup.py' and empty solution with CMAKE under Windows

2014-04-11 Thread Paolo Patierno
Hello,

I downloaded qpid-cpp-0.26 and installed all the necessary tools.

After launch the following command (I want to build for VS2012) :


cmake -i -G Visual Studio 11 .


Cmake seems to do a lot of work but then it finished with following error :


C:\Python27\python.exe: can't open file 'setup.py': [Errno 2] No such file
or directory


If I launch command cmake without -i ... cmake generates a qpid-cpp.sln
without projects !

I can't find any vcproj files ?


What is the problem ?


Thanks,
Paolo.


Re: Error 'setup.py' and empty solution with CMAKE under Windows

2014-04-11 Thread Andrew Stitcher
On Fri, 2014-04-11 at 10:31 +0200, Paolo Patierno wrote:
 Hello,
 
 I downloaded qpid-cpp-0.26 and installed all the necessary tools.

If you wanted to try Proton this is the wrong thing to download as
Proton is not included in the qpid source code, it is a separate
download.

[If you wanted help with qpid then us...@qpid.apache.org would be a more
useful list]

 
 After launch the following command (I want to build for VS2012) :
 
 
 cmake -i -G Visual Studio 11 .

I'm not sure that building from within the source tree works. It is
definitely better and recommended to use a completely separate build
directory. So create a new build directory and either run from the
command line within that or use the gui and point it at a separate build
directory.


 Cmake seems to do a lot of work but then it finished with following error :
 
 
 C:\Python27\python.exe: can't open file 'setup.py': [Errno 2] No such file
 or directory

I'm not sure that not having a build directory is the cause of your
problem, but you are doing something we don't do/test. We do know that
cmake builds VS files under 0.26 in the configurations we have tested

Andrew