Home My Page Projects MPTK: The Matching Pursuit ToolKit
Summary Activity Forums Tracker Lists Docs News SCM Files

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: cmake installation error in Linux (Ubuntu) [ Reply ]
By: M W on 2009-06-03 15:41
[forum:102342]
Hi, I am getting the same errors. But i have installed CMAKE with the root account. So CMAKE seems to work properly (is there a way to assure it?)

I downloaded and unpacked the source code into
...someDir/MPTK-Source-0.5.6
Created
...someDir/MPTK

cd someDir/MPTK
cmake ../MPTK-Source-0.5.6

-> There i got path errors, that fftw &libsndfile cound not be found

i adujested them in
ccmake ./

but when i run [c] configure, i get:
"
CMake Error at src/CMakeLists.txt:7 (ADD_SUBDIRECTORY):
The binary directory

/home/staff/mwacker/code/cPlusPlus/thirdParty/MPTK/src/libmptk

is already used to build another source directory, so it cannot be used to
build source directory

/home/staff/mwacker/code/cPlusPlus/thirdParty/MPTK-Source-0.5.6/src/libmptk

Specify a unique binary directory name.



CMake Error at src/CMakeLists.txt:10 (ADD_SUBDIRECTORY):
The binary directory

/home/staff/mwacker/code/cPlusPlus/thirdParty/MPTK/src/libdsp_windows

is already used to build another source directory, so it cannot be used to
build source directory

/home/staff/mwacker/code/cPlusPlus/thirdParty/MPTK-Source-0.5.6/src/libdsp_windows

Specify a unique binary directory name.
"

Can somebody help me? Im getting crazy with that error




RE: cmake installation error in Linux (Ubuntu) [ Reply ]
By: Chris Srinivasa on 2009-05-08 15:58
[forum:102163]
Got it. Turns out I needed admin rights to properly install cmake.

RE: cmake installation error in Linux (Ubuntu) [ Reply ]
By: Chris Srinivasa on 2009-05-07 19:14
[forum:102158]
Hey Sasho,

Thanks for the help. Unfortunately, I did everything you told me and still have the same errors. I checked my CMAKE_BACKWARD_COMPATIBILITY parameter and it said 2.4. And the version of cmake I am using is 2.6 patch 4. Could this be a case of Ubuntu not liking Cmake or vice versa ? Either way I have to find a work around.

RE: cmake installation error in Linux (Ubuntu) [ Reply ]
By: Sasho Musevic on 2009-05-07 17:25
[forum:102155]
Hello Chris!

I just tried to recreate your error by doing the exact same think you did and I didn't get the error (I'm running MAC OS X Leopard, which is more or less Free BSD on console level). I'd check the cmake version. In my case, typing cmake produces:
sasomusevic$ cmake
ccmake version 2.6-patch 3
...
...
...

try running: ccmake <path_to_source>
instead of cmake. In the GUI check the CMAKE_BACKWARDS_COMPATIBILITY parameter. Mine says: 2.4, FYI.

Hope it helps,
Sash

RE: cmake installation error in Linux (Ubuntu) [ Reply ]
By: Chris Srinivasa on 2009-05-07 15:18
[forum:102139]
I just tried the same thing using a completly distinct directory and still got the same two errors as before:

*******************************************

CMake Error at src/CMakeLists.txt:7 (ADD_SUBDIRECTORY):
The binary directory

/mptk-temp/src/libmptk

is already used to build another source directory, so it cannot be used to
build source directory

/home/christopher/mptk/MPTK-Source-0.5.6/src/libmptk

Specify a unique binary directory name.


CMake Error at src/CMakeLists.txt:10 (ADD_SUBDIRECTORY):
The binary directory

/mptk-temp/src/libdsp_windows

is already used to build another source directory, so it cannot be used to
build source directory

/home/christopher/mptk/MPTK-Source-0.5.6/src/libdsp_windows

Specify a unique binary directory name.

***********************************************

I am starting to think there might be a problem with the CMakeLists.txt provided with MPTK. Someone please help.

cmake installation error in Linux (Ubuntu) [ Reply ]
By: Chris Srinivasa on 2009-05-07 14:56
[forum:102135]
Hello,

I am writting to you as I have a problem compilling mptk with cmake. Everything seems fine except for the following kind of error message (I get this message twice):

******************************************************************************

CMake Error at src/CMakeLists.txt:7 (ADD_SUBDIRECTORY):
The binary directory

/home/christopher/mptk-0.5.6/src/libmptk

is already used to build another source directory, so it cannot be used to
build source directory

/home/christopher/mptk/MPTK-Source-0.5.6/src/libmptk

Specify a unique binary directory name.

*******************************************************************************

I was wondering if you had ever seen this message before and how it can be solved. My issue is that both directories are actually distinct. As specified in your install guide I did the following:

I untarred mptk in /home/christopher/mptk/MPTK-Source-0.5.6
Then I wanted to install the binaries and libraries in /home/christopher/mptk-0.5.6

As such I did:

mkdir mptk-0.5.6
cd mptk-0.5.6
cmake /home/christopher/mptk/MPTK-Source-0.5.6

and I got the error shown above.

Thank you in advance for your help,

Christopher