Giter Site home page Giter Site logo

Comments (10)

mamoll avatar mamoll commented on May 24, 2024

Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).


I can't reproduce this. Perhaps sourceforge was having problems. Can you try this:

#!

> wget 'http://downloads.sourceforge.net/project/ompl/dependencies/fcl-0.2.5.zip'
--2012-12-20 13:34:45--  http://downloads.sourceforge.net/project/ompl/dependencies/fcl-0.2.5.zip
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://hivelocity.dl.sourceforge.net/project/ompl/dependencies/fcl-0.2.5.zip [following]
--2012-12-20 13:34:45--  http://hivelocity.dl.sourceforge.net/project/ompl/dependencies/fcl-0.2.5.zip
Resolving hivelocity.dl.sourceforge.net (hivelocity.dl.sourceforge.net)... 74.50.101.106
Connecting to hivelocity.dl.sourceforge.net (hivelocity.dl.sourceforge.net)|74.50.101.106|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 421848 (412K) [application/octet-stream]
Saving to: ‘fcl-0.2.5.zip’

100%[==================================================>] 421,848      173KB/s   in 2.4s   

2012-12-20 13:34:50 (173 KB/s) - ‘fcl-0.2.5.zip’ saved [421848/421848]

> md5 fcl-0.2.5.zip 
MD5 (fcl-0.2.5.zip) = d0164f6454cda76d50ff53052be2fd45

from ompl.

mamoll avatar mamoll commented on May 24, 2024

Original comment by berenson (Bitbucket: berenson, GitHub: berenson).


(Reply via [email protected]):

Hi Mark,

Looks like it was some fluke with sourceforge. The compiling is getting
past that step but now there is a new error. It does build ccd but seems
unable to find it for link to fcl (see below). Do you know what the problem
could be?

Scanning dependencies of target ccd
[ 44%] Creating directories for 'ccd'
[ 44%] Performing download step (download, verify and extract) for 'ccd'
-- downloading...
src=3D'http://libccd.danfis.cz/files/libccd-1.4.tar.gz'
dst=3D'/home/berenson/ompl/src/external/libccd-1.4.tar.gz'
timeout=3D'none'
-- downloading... done
-- verifying file...
file=3D'/home/berenson/ompl/src/external/libccd-1.4.tar.gz'
-- verifying file... done
-- extracting...
src=3D'/home/berenson/ompl/src/external/libccd-1.4.tar.gz'
dst=3D'/home/berenson/ompl/build/Release/ccd-prefix/src/ccd'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 44%] No patch step for 'ccd'
[ 50%] No update step for 'ccd'
[ 50%] Performing configure step for 'ccd'
-- The C compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/berenson/ompl/build/Release/ccd-prefix/src/ccd-build
[ 50%] Performing build step for 'ccd'
Scanning dependencies of target ccd
[ 10%] Building C object CMakeFiles/ccd.dir/src/ccd.c.o
[ 20%] Building C object CMakeFiles/ccd.dir/src/mpr.c.o
[ 30%] Building C object CMakeFiles/ccd.dir/src/polytope.c.o
[ 40%] Building C object CMakeFiles/ccd.dir/src/support.c.o
[ 50%] Building C object CMakeFiles/ccd.dir/src/vec3.c.o
Linking C shared library libccd.so
[ 50%] Built target ccd
Scanning dependencies of target ccd_static
[ 60%] Building C object CMakeFiles/ccd_static.dir/src/ccd.c.o
[ 70%] Building C object CMakeFiles/ccd_static.dir/src/mpr.c.o
[ 80%] Building C object CMakeFiles/ccd_static.dir/src/polytope.c.o
[ 90%] Building C object CMakeFiles/ccd_static.dir/src/support.c.o
[100%] Building C object CMakeFiles/ccd_static.dir/src/vec3.c.o
Linking C static library libccd.a
[100%] Built target ccd_static
[ 50%] Performing install step for 'ccd'
[ 50%] Built target ccd
[100%] Built target ccd_static
Install the project...
-- Install configuration: "Release"
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/lib/libccd.so.1.4
-- Installing: /home/berenson/ompl/build/Release/ccd-prefix/lib/libccd.so.2
-- Installing: /home/berenson/ompl/build/Release/ccd-prefix/lib/libccd.so
-- Installing: /home/berenson/ompl/build/Release/ccd-prefix/lib/libccd.a
-- Installing: /home/berenson/ompl/build/Release/ccd-prefix/include/ccd
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/include/ccd/polytope.h
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/include/ccd/ccd.h
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/include/ccd/dbg.h
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/include/ccd/compiler.h
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/include/ccd/alloc.h
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/include/ccd/vec3.h
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/include/ccd/support.h
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/include/ccd/simplex.h
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/include/ccd/config.h
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/include/ccd/quat.h
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/include/ccd/list.h
-- Installing:
/home/berenson/ompl/build/Release/ccd-prefix/lib/pkgconfig/ccd.pc
[ 50%] Completed 'ccd'
[ 66%] Built target ccd
Scanning dependencies of target fcl
[ 66%] Creating directories for 'fcl'
[ 66%] Performing download step (download, verify and extract) for 'fcl'
-- downloading...
src=3D'
http://downloads.sourceforge.net/project/ompl/dependencies/fcl-0.2.5.zip'
dst=3D'/home/berenson/ompl/src/external/fcl-0.2.5.zip'
timeout=3D'none'
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- downloading... done
-- verifying file...
file=3D'/home/berenson/ompl/src/external/fcl-0.2.5.zip'
-- verifying file... done
-- extracting...
src=3D'/home/berenson/ompl/src/external/fcl-0.2.5.zip'
dst=3D'/home/berenson/ompl/build/Release/fcl-prefix/src/fcl'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 72%] No patch step for 'fcl'
[ 72%] No update step for 'fcl'
[ 72%] Performing configure step for 'fcl'
-- The CXX compiler identification is GNU
-- The C compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- FCL does not use Octomap
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- thread
-- date_time
-- filesystem
-- system
-- unit_test_framework
-- checking for module 'ccd'
-- package 'ccd' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266
(message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320
(_pkg_check_modules_internal)
CMakeLists.txt:64 (pkg_check_modules)

-- Configuring incomplete, errors occurred!
make[3]: *** [fcl-prefix/src/fcl-stamp/fcl-configure] Error 1
make[2]: *** [CMakeFiles/fcl.dir/all] Error 2
make[1]: *** [ompl/py-bindings/CMakeFiles/update_bindings.dir/rule] Error 2
make: *** [update_bindings] Error 2

On Thu, Dec 20, 2012 at 2:37 PM, Mark Moll [email protected]wrot=
e:

from ompl.

mamoll avatar mamoll commented on May 24, 2024

Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).


Can you try deleting the directory fcl-prefix in your build directory, rerunning cmake, and run make again? Do you have pkg-config installed?

from ompl.

mamoll avatar mamoll commented on May 24, 2024

Original comment by berenson (Bitbucket: berenson, GitHub: berenson).


(Reply via [email protected]):

Hi Mark,

I do have pkg-config installed. I tried what you suggested but now it can't
find ccd when trying to build fcl:

[ 62%] Built target ccd
[ 62%] Performing configure step for 'fcl'
-- FCL does not use Octomap
-- checking for module 'ccd'
-- package 'ccd' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266
(message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320
(_pkg_check_modules_internal)
CMakeLists.txt:64 (pkg_check_modules)

Dmitry

from ompl.

mamoll avatar mamoll commented on May 24, 2024

Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).


Since I can't reproduce this, I am just guessing at this point. Can you tell me which version of Linux you're using? Do you have ROS installed? All your packages from your package manager are up-to-date? In other words, if I create a virtual machine with a vanilla version of your Linux distro, am I likely to run into the same problem?

from ompl.

mamoll avatar mamoll commented on May 24, 2024

Original comment by berenson (Bitbucket: berenson, GitHub: berenson).


(Reply via [email protected]):

Hi Mark,

I was suspicious about this, too, so I set up a clean virtualbox install
with Ubuntu 12.04 32bit and didn't install anything besides what was said
in the install instructions for ompl. Unfortunately, I'm still getting the
same error when I try to make update_bindings.

Dmitry

from ompl.

mamoll avatar mamoll commented on May 24, 2024

Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).


Hm, I have a virualbox install of 12.04 64bit and everything works out of the box. I doubt that the architecture difference is the problem. You could install ccd an tcl "by hand" outside of ompl.app. If "pkg-config --modversion fcl" and "pkg-config --modversion ccd" work on the command line, then a fresh build of ompl.app should also find fcl and ccd. Delete your old build dir to be on the safe side.

from ompl.

mamoll avatar mamoll commented on May 24, 2024

Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).


Argh, I finally tracked this down. There is a typo in CMakeModules/UseFCL.cmake. Please this file as follows:

-- a/CMakeModules/UseFCL.cmake Wed Dec 19 15:07:59 2012 -0600
+++ b/CMakeModules/UseFCL.cmake Mon Dec 24 20:38:24 2012 -0600
@@ -47,7 +47,7 @@
         URL_MD5 "d0164f6454cda76d50ff53052be2fd45"
         CMAKE_COMMAND env
         CMAKE_ARGS
-            "PKG_CONFIG_PATH=${CCD_LIBRARY_DIRS}/pkgconfig"
+            "PKG_CONFIG_PATH=${CCD_LIBDIR}/pkgconfig"
             "${CMAKE_COMMAND}"
             "-DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/fcl-prefix"
             "-DCMAKE_BUILD_TYPE=Release"

Please confirm if that fixes it.

from ompl.

mamoll avatar mamoll commented on May 24, 2024

Original comment by berenson (Bitbucket: berenson, GitHub: berenson).


(Reply via [email protected]):

Hi Mark,

It works! I can now compile everything.

Dmitry

from ompl.

mamoll avatar mamoll commented on May 24, 2024

Original comment by Mark Moll (Bitbucket: mamoll, GitHub: mamoll).


Fixed. I uploaded a new zip file and tar file for ompl.app to the download section. The download links on the OMPL web site have also been updated.

from ompl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.