Code Monkey home page Code Monkey logo

Comments (2)

CarlLyt avatar CarlLyt commented on May 16, 2024 1

Thank you very much for your reply,
After an afternoon of hard work, I fixed this promble,I just tested the project , it worked well .
I made the following adjustments

  1. OPenMP 2.0 seem not to be able use size_t in the for loop, so i replaced size_t with int.
  2. It look some promblem when i use the visualization stuff, so i add #find_package(Pangolin QUIET), Display functionality is not used
  3. I git clone tinyply in my computer, (cmake && make),and add the tinyply.lib in my own project

So, it work well without display function, that also satisfy my need
Thank you again for taking the time to reply to my question, this issuse can be close :)

from cilantro.

kzampog avatar kzampog commented on May 16, 2024

Hi! Unfortunately, I haven't given VS a proper try in a very long time :(
One reason is that VS only supports a very old version of OpenMP, so some (if not all) of the multi-threading will not work (and may even fail to compile).

The error you're quoting seems to be at the linking stage and you mention that you were able to build the library. Are you linking your project against the library (e.g. using something like target_link_libraries(my_executable ${cilantro_LIBRARIES})?

BTW, did you manage to build the examples?

Not sure if it helps, but you should have no issues building everything within WSL on Windows :) (you might need an X server for the visualization stuff though).

Edit: this might also be interesting if you don't mind switching compilers:
https://stackoverflow.com/questions/43318137/using-openmp-3-4-in-visual-studio-2017

from cilantro.

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.