Git Product home page Git Product logo

Comments (6)

ahornung avatar ahornung commented on September 23, 2024

Maybe @csprunk knows why there is a problem with dynamicEDT.

If you don't need it, you could comment the line

ADD_SUBDIRECTORY( dynamicEDT3D )

from the top level CMakeLists.txt or just compile the octomap & octovis targets.

from octomap.

csprunk avatar csprunk commented on September 23, 2024

Can you provide a more detailed error message, e.g., the line in dynamicEDTOctomap.cpp where the build fails? That could give me an idea what the actual problem is.

from octomap.

balzer82 avatar balzer82 commented on September 23, 2024

How I find the line number in dynamicEDTOctomap.cpp where the build fails? I see 81, 1148 and 145 in the posted error message.

from octomap.

ahornung avatar ahornung commented on September 23, 2024

There should usually be more output on a failed compilation. Can you try to run mingw32-make.exe VERBOSE=1 and post the output? Just to be sure, run mingw32-make clean before. It could be a problem with Windows 8 (I don't think anyone ever tried compiling OctoMap on it), or mixing 32 and 64 bit... but this is just guessing.

from octomap.

balzer82 avatar balzer82 commented on September 23, 2024

Thanks Armin, I got it. Here is the output for the step:

[ 88%] Built target unit_tests
mingw32-make -f dynamicEDT3D\src\CMakeFiles\dynamicedt3d.dir\build.make dynamicEDT3D/src/CMakeFiles/dynamicedt3d.dir/depend
mingw32-make[2]: Entering directory 'D:/Eigene Dateien/GitHub/octomap/build'
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_depends "MinGW Makefiles" "D:\Eigene Dateien\GitHub\octomap" "D:\Eigene Dateien\GitHub\octomap\dynamicEDT3D\src" "D:\Eigene Dateien\GitHub\octomap\build" "D:\Eigene Dateien\GitHub\octomap\build\dynamicEDT3D\src" "D:\Eigene Dateien\GitHub\octomap\build\dynamicEDT3D\src\CMakeFiles\dynamicedt3d.dir\DependInfo.cmake" --color=
mingw32-make[2]: Leaving directory 'D:/Eigene Dateien/GitHub/octomap/build'
mingw32-make -f dynamicEDT3D\src\CMakeFiles\dynamicedt3d.dir\build.make dynamicEDT3D/src/CMakeFiles/dynamicedt3d.dir/build
mingw32-make[2]: Entering directory 'D:/Eigene Dateien/GitHub/octomap/build'
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report "D:\Eigene Dateien\GitHub\octomap\build\CMakeFiles" 6
[ 90%] Building CXX object dynamicEDT3D/src/CMakeFiles/dynamicedt3d.dir/dynamicEDT3D.cpp.obj
cd /d D:\EIGENE~1\GitHub\octomap\build\DYNAMI~1\src && C:\MinGW\bin\g++.exe   -Ddynamicedt3d_EXPORTS -Wall -Wno-error  -O3 -funroll-loops -DNDEBUG @CMakeFiles/dynamicedt3d.dir/includes_CXX.rsp   -fPIC -o CMakeFiles\dynamicedt3d.dir\dynamicEDT3D.cpp.obj -c "D:\Eigene Dateien\GitHub\octomap\dynamicEDT3D\src\dynamicEDT3D.cpp"
"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_progress_report "D:\Eigene Dateien\GitHub\octomap\build\CMakeFiles" 7
[ 92%] Building CXX object dynamicEDT3D/src/CMakeFiles/dynamicedt3d.dir/dynamicEDTOctomap.cpp.obj
cd /d D:\EIGENE~1\GitHub\octomap\build\DYNAMI~1\src && C:\MinGW\bin\g++.exe   -Ddynamicedt3d_EXPORTS -Wall -Wno-error  -O3 -funroll-loops -DNDEBUG @CMakeFiles/dynamicedt3d.dir/includes_CXX.rsp   -fPIC -o CMakeFiles\dynamicedt3d.dir\dynamicEDTOctomap.cpp.obj -c "D:\Eigene Dateien\GitHub\octomap\dynamicEDT3D\src\dynamicEDTOctomap.cpp"
dynamicEDT3D\src\CMakeFiles\dynamicedt3d.dir\build.make:81: recipe for target 'dynamicEDT3D/src/CMakeFiles/dynamicedt3d.dir/dynamicEDTOctomap.cpp.obj' failed
mingw32-make[2]: Leaving directory 'D:/Eigene Dateien/GitHub/octomap/build'
CMakeFiles\Makefile2:1148: recipe for target 'dynamicEDT3D/src/CMakeFiles/dynamicedt3d.dir/all' failed
mingw32-make[1]: Leaving directory 'D:/Eigene Dateien/GitHub/octomap/build'
Makefile:145: recipe for target 'all' failed

from octomap.

csprunk avatar csprunk commented on September 23, 2024

This is very strange, the log seems to give no reason why the build failed. Right after the command to build the object file for dynamicEDTOctomap.cpp, it just states that it failed.

I have never compiled under windows/mingw myself. Maybe you could try to introduce an obvious error in dynamicEDTOctomap.cpp (e.g., add some random text at the top of the file) to provoke an error message. That way we would know whether there is a more general problem of error messages not being shown in your build log.

At this point, I have no clue what the error is, I can imagine two things though:

  1. Some stuff in dynamicEDTOctomap.cpp that windows does not like
  2. A problem with the makefile generation that causes the target to always fail

from octomap.

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.