![]() ![]() ![]() It resides in /usr/lib on the Raspberry Pi 3 and the link ( \\\usr\lib) is correctly set in VS2017 Project->Configuration Properties->VC Directories->Library Directories. I also need a reference to the libgattlib.so library file. ![]() ![]() I tried to build a VC for Linux (Raspbian) project in VS2017 (from my PC) using libgattlib.so static library residing in Raspberry Pi 3 board. llibbcm_host.so -llibbrcmGLESv2.so -llibbrcmEGL.soġ> /usr/bin/ld: cannot find -llibmmal_core.soġ> /usr/bin/ld: /usr/bin/ld: cannot find -llibmmal_core.soġ> /usr/bin/ld: cannot find -llibmmal_util.soġ> /usr/bin/ld: cannot find -llibmmal_vc_client.soġ> /usr/bin/ld: cannot find -llibbcm_host.soġ> /usr/bin/ld: cannot find -llibbrcmGLESv2.soġ> /usr/bin/ld: cannot find -llibbrcmEGL.soġ> collect2: error: ld returned 1 exit status I even tried with file extension but that does not help ether 1>Target Link:ġ> g -o "/home/pi/projects/PiLedTestSetup/bin/ARM/Debug/PiLedTestSetup.out" -Wl,-stats -Wl,-no-undefined -Wl,-L/opt/vc/lib -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack /home/pi/projects/PiLedTestSetup/obj/ARM/Debug/camera.o So now it gives the -L (-L/opt/vc/lib) parameter in the build string or what you call it but its still not finding it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |