kralf / carmen

The Carnegie Mellon Robot Navigation Toolkit.
GNU General Public License v2.0
11 stars 12 forks source link

Cannot build ... #2

Open asimay opened 9 years ago

asimay commented 9 years ago

hi Dear Kralf,

I download your code, but cannot build it through... why it happens like this? image

kralf commented 9 years ago

Hi asimay

You will have to install the package remake from my launchpad ppa to build this port of CARMEN. Please not that remake is available for Ubuntu lucid, precise, and trusty. Just do:

sudo add-apt-repository ppa:kralf/asl sudo apt-get install remake

... and try again to run cmake.

asimay commented 9 years ago

Hi dear Kralf, I don't believe your reply is so prompt... thank you very much.

I tried your instructions, and still cannot build...

qq 20141119171146

kralf commented 9 years ago

Hi asimay

ReMake is a collection of CMake modules. The error still indicates that these modules were not installed in your system.

I forgot to mention the apt-get update command in my previous instruction. So please carry on doing:

sudo apt-get update sudo apt-get install remake

... and try once more.

asimay commented 9 years ago

ok. I'm trying it. I noticed you totally reconstruct the whole carmen system versus carmen 0.7.4-beta version. It's really a hard and great work of what you do... Honor for you.

kralf commented 9 years ago

Thanks.

Just to let you know, if you want to install the CARMEN packages instead of building them from source, have a look at the very same PPA:

https://launchpad.net/~kralf/+archive/asl

Cheers!

asimay commented 9 years ago

Dear kralf, I followed your instruction, and update successfully, but it is still failed. I restart my computer several times, it also cannot work. my snapshot like belows: 17 21 13

asimay commented 9 years ago

cmakeoutput

asimay commented 9 years ago

my cmake log is above, just rename it to " *.txt " is ok.

asimay commented 9 years ago

Hi dear Kralf, It can work, I carelessly modified the "ReMake" in cmakelist.txt to "remake" before.. now it can work, and I begin to update the needed libs by following the cmake out instruction. thank you very much. will let you know the result.

asimay commented 9 years ago

Hi dear Kralf, I found in cmakelist files, there are some fixed writting of compiling by Qt3, but we use qt5 now, and qt is not compatible well from 3 to 5. there is no ReMakeQt5.cmake in your remake tools.could you please add it ? 00 11

asimay commented 9 years ago

hi Kralf, I think it will cost much time to adapt to QT5. I find some codes in carmen used QT3 functions, and these functions are not reserved in QT5...

MFreidank commented 9 years ago

hi Kralf,

I've got exactly the same issue, but I am trying to build on Windows 7 using Visual Studio. Any fix possible for me? Thanks in advance

kralf commented 9 years ago

I am sorry, but this build system port of CARMEN has specifically been designed for Debian Linux and was never tested on Windows. Concerning Qt3, it is only some of the GUI components which depend on it. So any other modules should still build without.

MFreidank commented 9 years ago

hi again,

thanks for your fast response. I've installed Linux Ubuntu Precise and got a lot further this time. However when building the binaries(more specifically: building carmen-test-doc) ccmake fails returning the error: "CMake Error at /usr/share/cmake-2.8/Modules/ReMakeDistribute.cmake:162(message): Changelog not consistent with the project settings! Call Stack (most recent call first): CMakeLists.txt:108 (remake_distribute_deb)"

Any idea on what could go wrong and how to fix it?

kralf commented 9 years ago

Hi MFreidank

This problem is related to the remake_distribute_deb() macros at the end of the top-level CMakeLists.txt, and for helping you across that problem, I would have to see the full CMake output. Nevermind though, if you just want to build, simply uncomment the calls to remake_distribute_deb().

Btw.: Are you aware that the entire CARMEN suite is available as binary packages for Ubuntu lucid/precise/trusty on my ppa? See https://launchpad.net/~kralf/+archive/asl for the details.

Cheers!

kintzhao commented 8 years ago

when i build it , meetting this erro:

yhzhao@yhzhao:~/projects_ByMe/carmen/build$ cmake ..

-- Project: CARMEN version 0.7.4-86, release beta -- Summary: The Carnegie Mellon Robot Navigation Toolkit. -- Author(s): Mike Montemerlo -- Contact: mmde@cs.cmu.edu -- Home: http://carmen.sourceforge.net -- License: GNU General Public License (GPL) -- checking for module 'libart-2.0' -- package 'libart-2.0' not found CMake Error at /usr/share/cmake-2.8/Modules/ReMakeFind.cmake:310 (message): Missing package libart2!

No installation candidates. Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/ReMakeFind.cmake:103 (remake_find_result) src/CMakeLists.txt:9 (remake_find_package)

-- Configuring incomplete, errors occurred! See also "/home/yhzhao/projects_ByMe/carmen/build/CMakeFiles/CMakeOutput.log". See also "/home/yhzhao/projects_ByMe/carmen/build/CMakeFiles/CMakeError.log".

yhzhao@yhzhao:~/projects_ByMe/carmen/build$ locate libart

/usr/lib/x86_64-linux-gnu/libart_lgpl_2.so.2 /usr/lib/x86_64-linux-gnu/libart_lgpl_2.so.2.3.21 /usr/lib/x86_64-linux-gnu/dia/libart_filter.so /usr/share/doc/libart-2.0-2 /usr/share/doc/libart-2.0-2/AUTHORS /usr/share/doc/libart-2.0-2/NEWS.gz /usr/share/doc/libart-2.0-2/README /usr/share/doc/libart-2.0-2/changelog.Debian.gz /usr/share/doc/libart-2.0-2/copyright /var/lib/dpkg/info/libart-2.0-2:amd64.list /var/lib/dpkg/info/libart-2.0-2:amd64.md5sums /var/lib/dpkg/info/libart-2.0-2:amd64.postinst /var/lib/dpkg/info/libart-2.0-2:amd64.postrm /var/lib/dpkg/info/libart-2.0-2:amd64.shlibs /var/lib/dpkg/info/libart-2.0-2:amd64.symbols