Okay it's all clear now, then when I build I think I have to transfer the executable and run it in the omega's terminal, it seems work when I try this
Then I will try to finish my project without OLED libraries, thank you so much!
Oh thank you this works and it's very powerful! Thank you so much!
I have just some other questions I hope you can ask...
This NetBeans setup is the same as cross-compiling for omega? Means that I can run server programs binding to Omega's IP and the omega will run a tcp server?
Another question, I tried all the combinations possible, but seems that the libonionoledexp.so can't work, I combined it with liboniondebug and libonion12c as it's suggested in documentation, and I also configured the project properties (now in compilation line the flags -l<lib> are added).. Did you use that library too?
Hey @crispyoz I'm sorry I didn't thanked you, now I'm using the Omega2+ for some projects with threads and semaphores and I wanted ask you how to add the flag -lpthread in linking (because I think it's for this that the run command gives me error in make)
Okay @crispyoz thank you very much, I installed successfully Netbeans and seems to be working in the right way.
I need some other tips also because it's the first time I use a tool like this (to compile simple programs I had only textedit and the terminal).
Now I created my C project and in my source folder I have the main, for example a program to display "hello world" on the OLED screen of the omega.
How can I link the oled C libraries in the cross-compilation with NetBeans? Do I have to download them or are stored in the usr/lib folder ?
Thank you another time
I'm trying to setup netbeans, but when I open 'tools' in the c/c++ I have a different screen:
I Need to setup a ccls configuration (?)
I tried Also a lot to crosscompile my c programs with the Onion's tutorial, but I noticed that also the c-cross-compile-example with gpioRead fails in compilation:
makefile:9: recipe for target 'gpioRead' failed
make *** [gpioRead] Error 127
Do you know if cross compilation is the only method to use the OLED expansion C libraries?
Looks like your connection to Community was lost, please wait while we try to reconnect.