Comments (5)
Alright, thank you... I am not sure how high-priority this problem is, but I'll look into it!
from apriltools.
I tried both building release .tar.gz code and received by 'git clone', and even (on raspbian) downloaded as zip. Every time I also entered the downloaded repo folder and ran 'git clone' for apriltag
from apriltools.
See makefile&cmake logs for raspbian 'git clone'.
CMake output:
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython3.5m.so (found version "3.5.3")
python3: can't open file '/home/pi/AprilTools/python_build_flags.py': [Errno 2] No such file or directory
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/AprilTools/build
CMakeError.log
CMakeOutput.log
Make output:
make[2]: *** No rule to make target 'apriltag/apriltag.c', needed by 'apriltag/CMakeFiles/apriltag.dir/apriltag.c.o'. Stop.
CMakeFiles/Makefile2:128: recipe for target 'apriltag/CMakeFiles/apriltag.dir/all' failed
make[1]: *** [apriltag/CMakeFiles/apriltag.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2```
from apriltools.
Raspbian source compilation from the release logs similar things.
On Kali, the same 'git clone'.
Cmake:
-- The CXX compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenCV: /usr (found version "3.2.0")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PythonLibs: /usr/lib/aarch64-linux-gnu/libpython3.7m.so (found version "3.7.4")
python3: can't open file '/root/AprilTools/python_build_flags.py': [Errno 2] No such file or directory
-- Configuring done
-- Generating done
-- Build files have been written to: /root/AprilTools/build
CMakeError.log
CMakeOutput.log
Make:
[ 3%] Building C object apriltag/CMakeFiles/apriltag.dir/apriltag.c.o
[ 6%] Building C object apriltag/CMakeFiles/apriltag.dir/apriltag_pose.c.o
[ 10%] Building C object apriltag/CMakeFiles/apriltag.dir/apriltag_quad_thresh.c.o
[ 13%] Building C object apriltag/CMakeFiles/apriltag.dir/common/g2d.c.o
[ 17%] Building C object apriltag/CMakeFiles/apriltag.dir/common/getopt.c.o
[ 20%] Building C object apriltag/CMakeFiles/apriltag.dir/common/homography.c.o
[ 24%] Building C object apriltag/CMakeFiles/apriltag.dir/common/image_u8.c.o
[ 27%] Building C object apriltag/CMakeFiles/apriltag.dir/common/image_u8x3.c.o
[ 31%] Building C object apriltag/CMakeFiles/apriltag.dir/common/image_u8x4.c.o
[ 34%] Building C object apriltag/CMakeFiles/apriltag.dir/common/matd.c.o
[ 37%] Building C object apriltag/CMakeFiles/apriltag.dir/common/pam.c.o
[ 41%] Building C object apriltag/CMakeFiles/apriltag.dir/common/pjpeg-idct.c.o
[ 44%] Building C object apriltag/CMakeFiles/apriltag.dir/common/pjpeg.c.o
[ 48%] Building C object apriltag/CMakeFiles/apriltag.dir/common/pnm.c.o
[ 51%] Building C object apriltag/CMakeFiles/apriltag.dir/common/string_util.c.o
[ 55%] Building C object apriltag/CMakeFiles/apriltag.dir/common/svd22.c.o
[ 58%] Building C object apriltag/CMakeFiles/apriltag.dir/common/time_util.c.o
[ 62%] Building C object apriltag/CMakeFiles/apriltag.dir/common/unionfind.c.o
[ 65%] Building C object apriltag/CMakeFiles/apriltag.dir/common/workerpool.c.o
[ 68%] Building C object apriltag/CMakeFiles/apriltag.dir/common/zarray.c.o
[ 72%] Building C object apriltag/CMakeFiles/apriltag.dir/common/zhash.c.o
[ 75%] Building C object apriltag/CMakeFiles/apriltag.dir/common/zmaxheap.c.o
[ 79%] Linking C shared library lib/libapriltag.so
[ 79%] Built target apriltag
Scanning dependencies of target apriltools
[ 82%] Building CXX object CMakeFiles/apriltools.dir/AprilTools.cc.o
/root/AprilTools/AprilTools.cc: In function βuint8_t compareFilenames(std::string, std::string)β:
/root/AprilTools/AprilTools.cc:273:1: warning: control reaches end of non-void function [-Wreturn-type]
273 | }
| ^
[ 86%] Linking CXX executable apriltools
/usr/bin/ld: CMakeFiles/apriltools.dir/AprilTools.cc.o: in function `main':
AprilTools.cc:(.text+0x1ae4): undefined reference to `tag36h11_create'
/usr/bin/ld: AprilTools.cc:(.text+0x1b08): undefined reference to `tag25h9_create'
/usr/bin/ld: AprilTools.cc:(.text+0x1b2c): undefined reference to `tag16h5_create'
/usr/bin/ld: AprilTools.cc:(.text+0x1b50): undefined reference to `tagCircle21h7_create'
/usr/bin/ld: AprilTools.cc:(.text+0x1b74): undefined reference to `tagCircle49h12_create'
/usr/bin/ld: AprilTools.cc:(.text+0x1b98): undefined reference to `tagStandard41h12_create'
/usr/bin/ld: AprilTools.cc:(.text+0x1bbc): undefined reference to `tagStandard52h13_create'
/usr/bin/ld: AprilTools.cc:(.text+0x1be0): undefined reference to `tagCustom48h12_create'
/usr/bin/ld: AprilTools.cc:(.text+0x2530): undefined reference to `tag36h11_destroy'
/usr/bin/ld: AprilTools.cc:(.text+0x2554): undefined reference to `tag25h9_destroy'
/usr/bin/ld: AprilTools.cc:(.text+0x2578): undefined reference to `tag16h5_destroy'
/usr/bin/ld: AprilTools.cc:(.text+0x259c): undefined reference to `tagCircle21h7_destroy'
/usr/bin/ld: AprilTools.cc:(.text+0x25c0): undefined reference to `tagCircle49h12_destroy'
/usr/bin/ld: AprilTools.cc:(.text+0x25e4): undefined reference to `tagStandard41h12_destroy'
/usr/bin/ld: AprilTools.cc:(.text+0x2608): undefined reference to `tagStandard52h13_destroy'
/usr/bin/ld: AprilTools.cc:(.text+0x262c): undefined reference to `tagCustom48h12_destroy'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/apriltools.dir/build.make:126: apriltools] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/apriltools.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
from apriltools.
Tried again, everything works perfectly now except make gets stuck at 21% for a LONG time.
from apriltools.
Related Issues (20)
- Focal Length Estimation -1 px HOT 4
- Run AprilTools on linux HOT 5
- When using Cmake, the source direction /apriltag does not contain a CMakeLists.txt file. HOT 2
- Tracking stops on frame 73 HOT 1
- Tag is not aligned with marker on vertical video HOT 3
- Build from source gets stuck at 21% on OSX HOT 2
- Live Video Feed HOT 1
- Shaky 3d objects despite good tracking HOT 2
- Doesnt work in new Blender Versions. HOT 2
- Adding all apriltag families HOT 1
- tracking not working
- Python script won't import in 2.91
- Import track to blender camera not moving HOT 2
- Has this project been abandoned? HOT 7
- Don't package AprilTools.exe in bin/, package it in releases.
- CI/CD
- Add a .gitignore HOT 1
- april tools does not detect the contents of this folder HOT 2
- Issue when trying to import to blender HOT 8
- A readme for python-rewrite?
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 apriltools.