Comments (3)
Hi,
I have solved the problem.
For those new (like me) on Windows who want to test the samples
Step 1: Download source code (not Installer)
Step 2: CMake GUI, follow the author's instructions. But pay attention to click on MRPT_BUILD_EXAMPLES (I forgot in this step).
Step 3: Link *.dll libraries to sample projects.
from mrpt.
Hi,
If you git cloned the sources, why is cmake detecting what seems to be an already built version under C:/Program Files/mrpt-2.5.6/...
??
If you formerly installed mrpt in Windows with the installer, please uninstall it first (through the usual "Control Panel -> Apps" ), remove the cmake build directory, open cmake-gui again, select as source dir the place where you cloned the repo, and as build directory a new, empty directory somewhere else, and try again...
It's supposed to build ok, including nanogui, under Windows on our CI pipeline so it should work... let me know if you still have problems after following those steps.
from mrpt.
Hi @jlblancoc
Thank you for your reply.
I uninstalled the mrpt installer and then i removed the cmake build directory of slam_icp_simple_example
(because i just want to run the sample, i don't know if i need to build the mrpt project first?).
Then it came up with another error
`Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
The C compiler identification is MSVC 19.33.31630.0
The CXX compiler identification is MSVC 19.33.31630.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
CMake Error at CMakeLists.txt:26 (find_package):
By not providing "Findmrpt-slam.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"mrpt-slam", but CMake did not find one.
Could not find a package configuration file provided by "mrpt-slam" with
any of the following names:
mrpt-slamConfig.cmake
mrpt-slam-config.cmake
Add the installation prefix of "mrpt-slam" to CMAKE_PREFIX_PATH or set
"mrpt-slam_DIR" to a directory containing one of the above files. If
"mrpt-slam" provides a separate development package or SDK, be sure it has
been installed.
Configuring incomplete, errors occurred!
See also "D:/github/mrpt/samples/slam_icp_simple_example/build/CMakeFiles/CMakeOutput.log".`
Many thanks,
from mrpt.
Related Issues (20)
- Incorrect license and copyright for CSparse HOT 1
- There might be a little mistake in CICP::ICP_Method_LM HOT 1
- Provide example of 2D lidar reprojection (Malaga Urban dataset) HOT 1
- New variance field for the Range message HOT 8
- How to build it with visual studio 2022 on windows11 HOT 1
- Source packages release do not contain submodules HOT 2
- pymrpt broken in ros-noetic-mrpt2 in 2.9.0 HOT 5
- Provide python wrapper for ros1bridge & ros2bridge HOT 2
- FTBFS on Ubuntu Focal HOT 1
- CPose3DPDFGaussian composition broken in Python HOT 1
- ros-noetic-mrpt2 dependencies HOT 1
- Does not build with an opencv where patch level > 15 HOT 1
- Test cases OpenGL.CFBORender_camera_intrinsics/fov failed on riscv64 HOT 3
- gimbal lock condition computing jacobian from quaternion to rpy HOT 1
- error: ‘cvEndFindContours’ was not declared in this scope HOT 1
- mrpt fails to build on 32bit architectures with 64bit time_t type HOT 4
- Consider adding zstd as default compression method
- Visualizing all possible areas that LIDAR can see with GridMap HOT 4
- Investigate possible bug in nn_radius_search()
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 mrpt.