Giter Site home page Giter Site logo

Comments (3)

phamhoanganhbk avatar phamhoanganhbk commented on June 7, 2024 1

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.

jlblancoc avatar jlblancoc commented on June 7, 2024

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.

phamhoanganhbk avatar phamhoanganhbk commented on June 7, 2024

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)

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.