Comments (8)
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.
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.
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.
Also, this PR mentions one approach to building on windows: #27
from apriltag.
@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.
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.
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.
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)
- Improve documentation concerning estimated pose HOT 5
- What do the tag-specific hex codes in the c files represent?
- How to deal with tag36h9? HOT 1
- install problem HOT 5
- Clarify licensing HOT 1
- Geometric interpretation of estimation error HOT 2
- Help with thresholding parameters HOT 1
- How to run pose estimation in python ? HOT 3
- compatibility with WIN32_LEAN_AND_MEAN HOT 8
- Anyone implmented c# wrapper for this? HOT 1
- error when i run make in ubuntu 22.04 HOT 1
- Has anyone confirmed that this library can work on ESP32S3? HOT 3
- How to use intrinsics in Scaramuzza format to estimate the apriltag pose? HOT 3
- Suggestions on improving detections in low light conditions HOT 4
- Python bindings for apriltag_detect throws error when no detection is found HOT 5
- What's the meaning of 'apriltag.c:448: homography_compute2: Assertion `max_val_idx >= 0' failed.'? HOT 5
- Planned Python Package Index (PyPI) package? HOT 4
- Build fail on Ubuntu Noble in g2d.c: `last_quadrant` is used unitialized; treat-all-warnings-as-errors HOT 4
- How to detect AprilGrid? HOT 5
- (Python) 'Nthreads' is an invalid keyword argument for this function HOT 1
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 apriltag.