GithubHelp home page GithubHelp logo

Missing apriltag.h about apriltools HOT 4 CLOSED

thegoodhen avatar thegoodhen commented on June 22, 2024
Missing apriltag.h

from apriltools.

Comments (4)

thegoodhen avatar thegoodhen commented on June 22, 2024 1

Hello! Thank you! So far, it's not much... I was just playing around with the April Tags during my robotics classes and got this idea, so I put something together real quick for people to enjoy. But I do plan to continue the development! And yes, f0x52 is right.

I compiled it on windows under cygwin as:

g++ -o apriltags.exe apriltag_demo.cc -I.. -L .. -llibapriltag pkg-config opencv --cflags --libs

For this, I needed the apriltags.so file together with the .h files in the outer directory (./../).

The .so file appeared when I ran cmake, as described in: https://github.com/AprilRobotics/apriltag

from apriltools.

piotao avatar piotao commented on June 22, 2024 1

I was able to compile it, but I was not able to link it. Here is the command I've used:

gcc -c AprilTools.cc -o AprilTools.o -I apriltag/ -L apriltag/ -L apriltag/lib -llibapriltag pkg-config opencv --cflags --libs

My configuration is that I have apriltag lib INSIDE AprilTools, and it is compiled inside too, so I have apriltag/lib dir with libapriltag.so.3.1.0 inside. However, linker do not see the option -llibapriltag, even when I put -L apriltag/lib into command. Strange.

from apriltools.

f0x52 avatar f0x52 commented on June 22, 2024

I think basically all of those come from the apriltag library, https://github.com/AprilRobotics/apriltag
Please keep me posted on how compilation for Linux goes :D

from apriltools.

thegoodhen avatar thegoodhen commented on June 22, 2024

@piotao Thank you, you have helped me figure out how to compile the whole thing under Linux. The binaries are now released. The steps necessary to compile the program for source have been kindly described in the readme by @HansH in #1 . Closing the issue as solved.

from apriltools.

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.