Page 1 of 1

build directory issue

Posted: Mon Jul 22, 2013 2:13 pm
by jsm
Hello Daniel,

I have just compiled the sources of CC and I have a small issue. I have run CMake without any problems ('configure' and 'generate') and I can compile the whole solution. I am just surprised to see that the 'CloudCompare.exe' file is generated on one side in a folder ('...\build\qCC\Release\') and the other files (let us take 'CC_DLL.dll' as example) in other folders (like '...\build\CC\Release\' for 'CC_DLL.dll'). Of course, I could copy the files manually in a same folder, or specify manually a common output folder in Visual Studio. But it seems that it was not the case before. Did I did something wrong ? Or is there something to fix in the 'cmake' file ?

Thanks

JS

Re: build directory issue

Posted: Mon Jul 22, 2013 4:05 pm
by daniel
Yes, you must have forgotten to run the 'INSTALL' configuration ;)

Either 'compile' the INSTALL project if you're on visual/code::blocks, or type 'make install' if you are on Linux/gcc.

This will copy all the files at the right place (under the 'CMAKE_INSTALL_PREFIX' directory - you'll need to have write access!).

Re: build directory issue

Posted: Mon Jul 22, 2013 4:18 pm
by jsm
Oh yes you are right. The 'INSTALL' configuration was the only project not activated in VisualStudio... :-\
Thanks !