GithubHelp home page GithubHelp logo

Comments (5)

mooch443 avatar mooch443 commented on August 17, 2024

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.

elhananby avatar elhananby commented on August 17, 2024

Hi Tristan,

  1. I am using the pure manual install instructions.
  2. 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
  3. 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.

mooch443 avatar mooch443 commented on August 17, 2024

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.

elhananby avatar elhananby commented on August 17, 2024

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.

mooch443 avatar mooch443 commented on August 17, 2024

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)

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.