Comments (6)
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.
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.
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.
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.
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.
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:
- Some stuff in dynamicEDTOctomap.cpp that windows does not like
- A problem with the makefile generation that causes the target to always fail
from octomap.
Related Issues (20)
- Too much ram occupation of octovis HOT 1
- How to enlarge the scale of octomap?
- Map Dynamic Casting fails
- octovis library linking
- large difference in speed between add pointcloud to octomap and remove it from the octomap
- octomap shows wrong occupancy information when the manipulator moves HOT 1
- What are the requirements for MapCollection / MapNode? HOT 3
- compilation error HOT 1
- How to reder a color voxel map?
- color drop when dereference pointer to octomap::ColorOcTree object
- cmake error during installation HOT 1
- Memory leak in node creation HOT 2
- OcTree update not fully deterministic? HOT 2
- How are the empty and occupied nodes specified? HOT 1
- Get Free Volumes from octree2pointcloud
- Octovis displays EMPTY "Octree Structure" of map from ros2 octomap_saver_node
- Convert .ply(or .las) to .bt file
- Any working example on clearing dynamic object? HOT 1
- New release after #406 HOT 12
- Build failure on Windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octomap.