Comments (8)
Hey there, thanks for trying it out.
Which version of Pylon are you using? It does not seem to find the libraries, which is odd.
And you are right about GLFW. As it is stating at the end, it does not find the Xrandr dev package. You can either install them using conda, or simply do it system-wide (apt-get) -- does not usually harm you. Not sure how you would install that on Ubuntu, but I'm sure Google will know. If you wish to use conda for that, here are a couple ones you can install on linux (conda-forge required):
https://anaconda.org/conda-forge/libxrandr-devel-cos6-x86_64 (or also without the devel if it doesnt suffice)
Same for other libraries that might come up (-cos6... are the libraries specifically for your system)
https://anaconda.org/search?q=xcursor
from trex.
Hi Tristan - yep, doing sudo apt-get install xorg-dev libglu1-mesa-dev
solved that issue.
However, now I have issues with it not detecting the Pylon installation:
[ 85%] Linking CXX executable ../../../trex_check_python
/usr/bin/ld: cannot find -lPYLONBASE_LIBRARY-NOTFOUND
/usr/bin/ld: cannot find -lPYLON_UTILITY_LIBRARY-NOTFOUND
/usr/bin/ld: cannot find -lPYLON_GEN_LIBRARY-NOTFOUND
/usr/bin/ld: cannot find -lPYLON_GEN2_LIBRARY-NOTFOUND
/usr/bin/ld: cannot find -luuid
collect2: error: ld returned 1 exit status
src/tracker/python/CMakeFiles/trex_check_python.dir/build.make:152: recipe for target 'trex_check_python' failed
make[2]: *** [trex_check_python] Error 1
CMakeFiles/Makefile2:942: recipe for target 'src/tracker/python/CMakeFiles/trex_check_python.dir/all' failed
make[1]: *** [src/tracker/python/CMakeFiles/trex_check_python.dir/all] Error 2
Makefile:159: recipe for target 'all' failed
make: *** [all] Error 2
I currently have installed Pylon version 6.1.1
. I also tried uninstalling it and reinstalling version 5.2.0
(as you tested it according to the documentation), and then the error is slightly different:
[ 84%] Linking CXX executable ../../../trex_check_python
/usr/bin/ld: cannot find -lPYLON_GEN_LIBRARY-NOTFOUND
/usr/bin/ld: cannot find -lPYLON_GEN2_LIBRARY-NOTFOUND
/usr/bin/ld: cannot find -luuid
collect2: error: ld returned 1 exit status
src/tracker/python/CMakeFiles/trex_check_python.dir/build.make:154: recipe for target 'trex_check_python' failed
make[2]: *** [trex_check_python] Error 1
CMakeFiles/Makefile2:942: recipe for target 'src/tracker/python/CMakeFiles/trex_check_python.dir/all' failed
make[1]: *** [src/tracker/python/CMakeFiles/trex_check_python.dir/all] Error 2
Makefile:159: recipe for target 'all' failed
make: *** [all] Error 2
Thanks,
Elhanan
from trex.
Whats your output for ls /opt/pylon5/lib64
? I assume I am missing some library names in the Application/src/commons/CMakeModules/FindBaslerPylon.cmake
. I can add those easily.
It's also still missing libuuid-dev apparently.
from trex.
I've installed libuuid-dev with sudo apt install uuid-dev
.
The output of ls /opt/pylon5/lib64
is attached..
ls_pylon5.txt
from trex.
Alright, you may try pulling the newest version using git pull
from the master branch and see if it finds your libraries now!
from trex.
I'll have to check it tomorrow and will keep you updated.
Thank you for all the quick help!
from trex.
No worries! You can edit the file yourself, too, in case it does not work. It's pretty straight-forward (just add more names to the existing lists of names). But do let me know!
from trex.
Hi Tristan, I just had time to check it again today, but it seems everything's working now.
Thanks for all the help!
from trex.
Related Issues (20)
- frame_rate doesn't seem to map predictably across parameters HOT 2
- Additional info on blob values in raw mode HOT 3
- Size of GUI HOT 3
- File format for visual fields HOT 1
- How to export problematic frames flagged timeline data HOT 1
- Training images not being saved HOT 2
- TRex crash HOT 3
- Override automatic matches HOT 3
- pvinfo not displaying information about blobs
- Visual identification fails HOT 3
- Auto_categorize not working HOT 2
- Regions of interest (ROIs) HOT 2
- Movement Initiations HOT 1
- Problem while installing TRex on MacOS HOT 1
- Trex freezes when opening video file (.mp4) HOT 8
- Endless "python not initialised" warning when entering training mode HOT 4
- [GLFW] Error 65540: 'Invalid window size 0x0' HOT 1
- Unable to convert video file with tgrabs HOT 3
- Errors during "Compile it yourself" installation at build_conda_package.bat HOT 3
- Allow TGrabs detections in a single direction (brighter or darker than background) HOT 2
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 trex.