Ian Scott wrote:
> Baptiste LAGARDE wrote:
>> I wish to develop with kdevelop under kubuntu a program that uses vnl.
>> I managed to build vxl using "cmake -i vxl-1.8.0" and "make", and to add
>> the /vcl and /core/vnl directories to a simple "hello world" program in
>> kdevelop (using the "Import existing project..." tool). My program, that
>> ran all right before I added the directories to the project, builds up
>> fine but upon execution I get a message saying :
>> /bin/sh: ./vcl: not found
>> *** Exited with status: 127 ***
>> and the program doesn't execute.
> It is unclear what you are trying to do here. Why would you want to run
> vcl? vcl is a library, not an executable. If you are trying to run all
> the tests, I suggest using ctest from the command line.
> I have used kdevelop with CMake, without too much trouble.
You can also do
cmake -G KDevelop3
This will create a kdevelop project.
You will have to remove the CMakeCache.txt file from your source tree, I
would recommend removing your whole source tree, and starting over using
out of source builds.