-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RPi2 w/ Ubuntu ARM: undefined reference when trying to build examples_linux #239
Comments
Hi @hy565 |
Hi @mz-fuzzy, Thanks for the quick reply. I don't think it has to do with your last commit though. I tried making the examples_RPi folder before the weekend (before your commit) and faced the same error. I saw your new commit and tried it out again with the examples_linux folder and hit the same wall. I've also did the git reset and tried to make the examples_RPi folder again, and sure enough, I am still getting the same undefined reference errors. I'm still trying to figure out what exactly is the difference in my Ubuntu ARM setup that prevents the example from compiling, and I hope you or anyone here can help me out! Thanks. |
in c++ build command line. Fix for ubunutu compilation. Signed-off-by: mz-fuzzy <mzfuzzy800@gmail.com>
Your latest commit fixed it, I am able to compile the examples on Ubuntu now. Thanks @mz-fuzzy !
|
Hi guys,
I'm trying to get the library running on a Raspberry Pi 2, but I'm having some problems. I think it could be because I'm running Ubuntu 14.04 LTS on my RPi2 instead of Raspbian.
I git cloned the RF24 library and had no problems installing it using "sudo make install".
However, when I tried to build the examples to test out the hardware, I'm getting a whole bunch of "undefined reference" errors, shown in the screenshot below:
The installation seems to install the library files to /usr/local/include and /usr/local/lib, I don't know if that's right...but it seems that the compiler can't find the appropriate header files.
Has anybody encountered something similar or can suggest any way I can troubleshoot this?
Thank you.
The text was updated successfully, but these errors were encountered: