Comments (5)
Hey, thank you for your report!
I think I will need some more clarification in this case:
- How are you trying to build it? Is this using the conda build recipe, or did you follow the pure manual install instructions?
- What does the environment look like that you build in?
- Also, can you attach the full build log? You can append them to your post here.
Thanks!
from trex.
Hi Tristan,
- I am using the pure manual install instructions.
- I am using a conda virtual environment initialized using:
conda create -n tracking -c conda-forge cmake ffmpeg tensorflow-gpu=2 cxx-compiler c-compiler glfw mesa-libgl-devel-cos6-x86_64 libxdamage-devel-cos6-x86_64 libxi-devel-cos6-x86_64 libxxf86vm-cos6-x86_64 libselinux-devel-cos6-x86_64 libuuid-devel-cos6-x86_64 mesa-libgl-devel-cos6-x86_64
- see attached.
Also, a few other points:
- I am using Pylon 6, which requires me to change the pylon lib location in
/trex/Application/src/commons/CMakeModules
, from/opt/pylon5/lib64\32
to/opt/pylon/lib
, as well as/opt/pylon5/include
to/opt/pylon/include
. - I also tried compiling it with pylon5 but then I get another error, see attached log.
- During compiling I am getting this warning:
make[4]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
Which I guess means the compiler isn't using all the available threads/core? I don't know enough about C/MAKE to solve this myself, but it's not a big issue either way.
trex_build_output_pylon5.txt
trex_build_output_pylon6.txt
Thanks,
Elhanan
from trex.
Hey,
Firstly, thank you for your detailed information. Potentially pylon5 works better -- to me it seems like somehow Pylon6 might have been compiled with a different std lib. At least the error looks very weird. I am using pylon5.0.12 at least, so I know that this works on Debian. You might have to adapt the script in CMakeModules for your specific library names, which is annoying but they call them differently in each version.
PYLON_GEN2_LIBRARY and PYLON_GEN_LIBRARY are missing, so their names need to be added. What do ls /opt/pylon*
and ls /opt/pylon*/lib*
say on your system? I can add the proper names in my dev version then.
Regarding the jobserver: It is indeed a warning only, something OpenCV related. Nothing to worry about for now!
Thanks for your report!
-Tristan
from trex.
Hi,
With pylon 5:
ls /opt/pylon*`
bin include INSTALL lib64 README ReleaseNotes.txt Samples setup-usb.sh share
ls /opt/pylon*/lib*
gentlproducer
libbxapi-5.1.0.so
libbxapi.so
libFirmwareUpdate_gcc_v3_1_Basler_pylon_v5_1.so
libGCBase_gcc_v3_1_Basler_pylon_v5_1.so
libGenApi_gcc_v3_1_Basler_pylon_v5_1.so
libgxapi-5.1.0.so
libgxapi.so
liblog4cpp_gcc_v3_1_Basler_pylon_v5_1.so
libLog_gcc_v3_1_Basler_pylon_v5_1.so
libMathParser_gcc_v3_1_Basler_pylon_v5_1.so
libNodeMapData_gcc_v3_1_Basler_pylon_v5_1.so
libpylonbase-5.1.0.so
libpylonbase.so
libpylonc-5.1.0.so
libpylonc.so
libpylon_TL_bcon-5.1.0.so
libpylon_TL_bcon.so
libpylon_TL_camemu-5.1.0.so
libpylon_TL_camemu.so
libpylon_TL_gige-5.1.0.so
libpylon_TL_gige.so
libpylon_TL_usb-5.1.0.so
libpylon_TL_usb.so
libpylonutility-5.1.0.so
libpylonutility.so
libuxapi-5.1.0.so
libuxapi.so
libXmlParser_gcc_v3_1_Basler_pylon_v5_1.so
pylon-libusb-1.0.so
And with Pylon 6:
ls /opt/pylon*
bin include lib share
ls /opt/pylon*/lib*
gentlproducer
libgxapi.so
libpylonc-6.1.1.so
libpylon_TL_gige.so
libuxapi-6.1.1.so
libbxapi-6.1.1.so
liblog4cpp_gcc_v3_1_Basler_pylon.so
libpylonc.so
libpylon_TL_gtc-6.1.1.so libuxapi.so
libbxapi.so
libLog_gcc_v3_1_Basler_pylon.so
libpylon_TL_bcon-6.1.1.so
libpylon_TL_gtc.so
libXmlParser_gcc_v3_1_Basler_pylon.so
libFirmwareUpdate_gcc_v3_1_Basler_pylon.so
libMathParser_gcc_v3_1_Basler_pylon.so libpylon_TL_bcon.so
libpylon_TL_usb-6.1.1.so pylonCXP
libGCBase_gcc_v3_1_Basler_pylon.so
libNodeMapData_gcc_v3_1_Basler_pylon.so
libpylon_TL_camemu-6.1.1.so libpylon_TL_usb.so
pylon-libusb-1.0.so
libGenApi_gcc_v3_1_Basler_pylon.so
libpylonbase-6.1.1.so
libpylon_TL_camemu.so
libpylonutility-6.1.1.so pylonviewer
libgxapi-6.1.1.so
libpylonbase.so
libpylon_TL_gige-6.1.1.so
libpylonutility.so
Qt
Thanks
Elhanan
from trex.
Thank you! I added these into my CMakeModules extension. You can replace this file in your version and check if it works. If it does not work, I suggest you try downloading Pylon 5.0 instead of 5.1, if they still have it available on their website. It seems indeed like a weird error, and probably something very specific. I am really hoping we can find out what the issue is here.
from trex.
Related Issues (20)
- 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
- Windows installations fail HOT 20
- TRex fails to launch on MacOS after installation HOT 5
- Flipping body axis between head and taill while drosophila tracking HOT 1
- Beta: Dialogs for file and directory selection HOT 2
- Beta: Conda installation fails on Mac HOT 2
- Beta: Doesn't run on command `trex` HOT 2
- Issues Installing
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.