Git Product home page Git Product logo

Comments (8)

1999kevin avatar 1999kevin commented on July 4, 2024 1

Hi, I'm trying to compile your code on Windows Visual Studio 2019. The compiling process is fine and the progress cannot decode jpg files. The fread command would not read the whole jpg file. Could you please help me figure why this happen?

from apriltag.

mkrogius avatar mkrogius commented on July 4, 2024

Currently we only officially support Linux for AprilTags. Probably the best solution here is just to make sure that we call that out more explicitly in the documentation.

@wxmerkt Do you have any suggestions for making this clearer on the ROS side of things? Is there some way we can mark this as a linux-only package?

from apriltag.

wxmerkt avatar wxmerkt commented on July 4, 2024

I’m afraid I’ve never built ros packages on windows. @seanyen do you have an example for the pthreads rosdep dependency? I couldn’t find a rosdep key.
Given this is a pure C library I don’t think C++ threads modernisation is planned.

(There are ways to blacklist packages but rare for people to do so - I haven’t received a build failure so I assume windows isn’t packaged via the build farm.)

from apriltag.

mkrogius avatar mkrogius commented on July 4, 2024

Also, this PR mentions one approach to building on windows: #27

from apriltag.

milijan avatar milijan commented on July 4, 2024

@seanyen you could try to just stub out the pthread calls and set nthreads to 1 in the detector. If you don't need multithreads it should just work as far as I can tell.

from apriltag.

matsuren avatar matsuren commented on July 4, 2024

Thanks for great project!
I deleted all pthread dependency and set nthread to 1. Everything works fine on Windows Visual Studio 2015.
My source code is here.

from apriltag.

Edward-hb avatar Edward-hb commented on July 4, 2024

Thanks for great project! I deleted all pthread dependency and set nthread to 1. Everything works fine on Windows Visual Studio 2015. My source code is here.

Thank you for your analysis, let me solve the problem of msvc compiling on windows, thank you

from apriltag.

christian-rauch avatar christian-rauch commented on July 4, 2024

There is PR #95 by @ryancwicks to build without pthreads and implement Windows support. It needs to be rebased and cleaned up.

from apriltag.

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.