Page 1 of 1

How to compile a C program in Visual Programming ?

Posted: Thu May 19, 2016 8:43 am
by gregoire_thomas
Hi,

I'm new to red pitaya and I just want to try the digital_led_blink.c program.
I copy paste it into Visual Programming but i don't know how to compile/run it.

Could someone please help me ?
Thanks.

Re: How to compile a C program in Visual Programming ?

Posted: Thu May 19, 2016 9:58 am
by gregoire_thomas
EDIT: I found how to compile but I have the following error :
"redpitaya/rp.h": no such file or directory"

Here is my project properties :
Makefile : Automatic
Libraries : redpitaya/rp.h
and nothing in "Compile Instructions"

What should i have to add to make it works ?

Thanks again.

Re: How to compile a C program in Visual Programming ?

Posted: Mon Mar 20, 2017 5:16 pm
by Amraam
Hi,

I've successfully compiled the example following this steps:
https://wiki.redpitaya.com/index.php?ti ... le_program

Probably your error is due to Makefile missing.

My ecosystem is 0.95