Skip to content
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

Compilation Issue #2

Open
PranshuBansalDev opened this issue Feb 17, 2016 · 4 comments
Open

Compilation Issue #2

PranshuBansalDev opened this issue Feb 17, 2016 · 4 comments

Comments

@PranshuBansalDev
Copy link

Hi there,

I am trying to compile the example code provided and am not sure how to do this. Could you please provide a sample compile string or makefile?

I am getting the below error message when using my makefile
compile issue
makefile.txt

@ShawnHymel
Copy link

Try linking to libmraa in the make file:

g++ -o SparkFun_PWM SparkFun_pca9685_Edison.o SparkFun_PWM_Edison_Block_Example.o -lmraa

@PranshuBansalDev
Copy link
Author

Is there a python wrapper for this by any chance?

Thanks,
Pranshu Bansal
On Feb 17, 2016 2:01 PM, "Shawn Hymel" [email protected] wrote:

Try linking to libmraa in the make file:

g++ -o SparkFun_PWM SparkFun_pca9685_Edison.o
SparkFun_PWM_Edison_Block_Example.o -lmraa


Reply to this email directly or view it on GitHub
#2 (comment)
.

@jtilghman
Copy link

I have gotten the example in GITHUB compiled and working, but only by compiling it on the edison using make from the command line.

I cannot seem to get it to compile and download from eclipse.

Any help would be great.

@PranshuBansalDev
Copy link
Author

The -lmraa flag fixed my issue, thanks

@jtilghman: Sorry, I don't dev on the eclipse side. I prefer deving on the command line side so I don't think I can help you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants