yfourel

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7567
    yfourel
    Participant

    Thank you. It’s ok now !

    Have a good end of week !

    in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7547
    yfourel
    Participant

    Just for confirmation, I placed my .so and .a in usr/local/lib and the .h in usr/local/include.

    After that I have done my “Synchronize sysroot” (after that I find my .so, .a, .h in my SysGCC on Windows).

    I indicate the name of my library and the directories (in qmake project setting) and when I apply, I obtain this problem :

    ../arm-linux-gnueabihf/bin/ld.exe: skipping incompatible c:\sysgcc\raspberry\bin\../arm-linux-gnueabihf/sysroot/usr/local/lib/MyLib.so

    The same error for MyLib.a.

     

    On Raspberry, if i do on the consol : file /MyLib.so, I see that the library is for Intel, so I think that’s the problem.

    I had windows sdk, then I ask linux_sdk for Raspberry, but apparently I need an other .so and .a, for Arm processor ?

    If you could juste confirm that to me before I ask the constructor other sdk…

    (in your WiringPi example, we install directly the library since the raspberry, so it must be Arm library I suppose ?)

     

    Thanks a lot ! 🙂

     

    in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7538
    yfourel
    Participant

    Ok, I’ll do it !

    Thanks again !

    in reply to: Use constructor library on Raspberry Pi using VisualGDB : #7526
    yfourel
    Participant

    Thanks a lot, it should help me.

    The company which sells us cameras supplies me a .so and a .a, and I put it on my sysroot and on my raspberry as you say in

    https://sysprogs.com/w/forums/topic/visualgdb-cant-debug-parts-of-a-library/

    Thank you again !

Viewing 4 posts - 1 through 4 (of 4 total)