Sysprogs forums › Forums › VisualGDB › Raspberry wiringPi.h problem
- This topic has 8 replies, 2 voices, and was last updated 7 years, 3 months ago by
support.
-
AuthorPosts
-
June 27, 2018 at 09:59 #21210
gunahmt
ParticipantHi everyone,
I have some problem with my raspberry pi. When i try to this tutorial https://visualgdb.com/tutorials/raspberry/wiringPi/ my project giving error like that;
‘ Error wiringPi: No such file or directory ‘
How can i fix that ? Thanks for help.
-
This topic was modified 7 years, 4 months ago by
gunahmt.
June 27, 2018 at 20:32 #21213support
KeymasterHi,
Looks like the wiringPi library was either not built/installed successfully, or the toolchain synchronization after it was built did not complete.
Could you confirm that the “build” command for wiringPi succeeded and that the libwiringPi.so file is present in /usr/lib on your Raspberry Pi and in the corresponding directory inside the toolchain’s sysroot.
July 2, 2018 at 11:07 #21240gunahmt
ParticipantI confirm the “build” command. libwirinPi.so file is present on my raspberry pi :/
July 3, 2018 at 04:22 #21244support
KeymasterHi,
Thanks for checking this. Please also check that the .so file is present in the cross-toolchain’s sysroot directory.
If it does, please try adding “-Wl,-verbose” to the linker flags and check the linker output. It will show where exactly the linker is searching for the library.
If nothing helps, please attach a screenshot of the error and the build output with the verbose linker mode turned on.
July 4, 2018 at 07:30 #21248gunahmt
ParticipantJuly 4, 2018 at 23:44 #21257support
KeymasterHi,
Thanks for the screenshots. Unfortunately as you have cropped them, it is hard to see your project type and give further diagnostic instructions.
In order to pinpoint this further, please try adding “-Wl,-verbose” to the linker flags as suggested earlier and check the build output.
July 5, 2018 at 07:42 #21261gunahmt
Participantis that right? I changed this. But still not working.
Attachments:
You must be logged in to view attached files.July 5, 2018 at 15:41 #21269gunahmt
ParticipantI figure it out the problem. https://visualgdb.com/tutorials/raspberry/crosscompiler/ i tried this tutorial after that i saw that https://visualgdb.com/tutorials/raspberry/wiringPi/ and took error which showed in this topic . When i follow the first link’s tutorial, i generate project msbuild type thats the reason why i am taking this error. create a new project to use gnu makes that work. thanks for help.
-
This reply was modified 7 years, 3 months ago by
gunahmt.
July 5, 2018 at 18:57 #21272support
KeymasterHi,
Good to know it works. If you encounter any further problems, feel free to get back to us.
-
This topic was modified 7 years, 4 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.