Cmake error

174 views
Skip to first unread message

rtd5...@gmail.com

unread,
Nov 9, 2015, 10:24:49 PM11/9/15
to OpenVSP
I followed the initial set-up steps for compiling OpenVSP, but when I get to the Cmake portion I get several messages

     make -DCMAKE_BUILD_TYPE=Release -DVSP_USE_SYSTEM_FLTK=true
CMake Error: The source directory "/home/rtd/Desktop/OpenVSP/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
rtd@Big-Black-Box:~/Desktop/OpenVSP/build$ -DVSP_USE_SYSTEM_CPPTEST=true -DVSP_USE_SYSTEM_LIBXML2=true
-DVSP_USE_SYSTEM_CPPTEST=true: command not found
rtd@Big-Black-Box:~/Desktop/OpenVSP/build$ -DVSP_USE_SYSTEM_EIGEN=true -DVSP_USE_SYSTEM_FLTK=true
-DVSP_USE_SYSTEM_EIGEN=true: command not found
rtd@Big-Black-Box:~/Desktop/OpenVSP/build$ -DVSP_USE_SYSTEM_GLM=true -DVSP_USE_SYSTEM_GLEW=true
-DVSP_USE_SYSTEM_GLM=true: command not found
rtd@Big-Black-Box:~/Desktop/OpenVSP/build$ -DVSP_USE_SYSTEM_CMINPACK=true ../repo/SuperProject



rtd5...@gmail.com

unread,
Nov 9, 2015, 10:25:41 PM11/9/15
to OpenVSP
also I am using ubuntu 14.04

Rob McDonald

unread,
Nov 10, 2015, 11:56:15 AM11/10/15
to ope...@googlegroups.com
The cmake command listed on the Wiki is a single command -- a very long one.

From the output you've pasted here, it looks like you've entered it as
a sequence of commands. Try copy & pasting it as a single line, with
spaces between the elements and see how that works for you.

Rob
> --
> You received this message because you are subscribed to the Google Groups
> "OpenVSP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to openvsp+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

rtd5...@gmail.com

unread,
Nov 11, 2015, 2:10:22 AM11/11/15
to OpenVSP
Seems to have worked, but I cannot find the executable file. Thanks for the help.

Rob McDonald

unread,
Nov 11, 2015, 12:08:04 PM11/11/15
to ope...@googlegroups.com
Ok, from your 'SuperProject' build directory (the one you executed
cmake and make in), issue these commands:

cd OpenVSP-prefix/src/OpenVSP-build
make package

The first command will change into the embedded VSP build (separate
from the embedded Libraries build). The second command will collect
the results of the build process into a *.zip file like the ones I
upload to the internet. We do this because the build results are
somewhat scattered across the build system.

Next, copy that Zip file wherever you want, and unzip it to use the
goodies inside.

Rob

rtd5...@gmail.com

unread,
Nov 11, 2015, 9:35:29 PM11/11/15
to OpenVSP
 When I enter the make package command my computer outputs:
     make: *** No rule to make target `package'.  Stop.
I am pretty sure that I am in the correct directory. Thanks for the help so far.

Rob McDonald

unread,
Nov 12, 2015, 10:55:13 AM11/12/15
to ope...@googlegroups.com
The only thing I can think is that you aren't in the right directory.

Type in

pwd

To get a full report of the directory that you're in.

Rob
Reply all
Reply to author
Forward
0 new messages