Created
July 13, 2016 05:42
-
-
Save Technicus/84a51de81e460e07d6a0d33cda29acec to your computer and use it in GitHub Desktop.
DS4driver Intel Edison Compile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git source = < https://github.com/TXBDan/DS4driver > | |
/DS4driver# g++ main.cpp -o d4 -lmraa | |
main.cpp: In function 'int main()': | |
main.cpp:26:35: warning: comparison between 'enum mraa::Result' and 'enum mraa_result_t' [-Wenum-compare] | |
if (d_pin->dir(mraa::DIR_OUT) != MRAA_SUCCESS) { | |
^ | |
/tmp/ccrS03EX.o: In function `main': | |
main.cpp:(.text+0xc2): undefined reference to `DS4driver::DS4driver()' | |
main.cpp:(.text+0xd6): undefined reference to `DS4driver::init(char const*)' | |
main.cpp:(.text+0x10b): undefined reference to `DS4driver::update()' | |
collect2: error: ld returned 1 exit status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
g++ main.cpp DS4driver.cpp -o d4 -lmraa