
But thank you for remembering me!
there actually was a platform (at least 1) for the NXT to work with gnu c++ /eclipse: it was working with the OS nxtOSEK.totokan wrote: While I understand the desire for a simpler programming environment, and I see how much trouble trying to grapple with 'real code' is causing, personally, I am glad to be able to program and compile in C....
These are how I expected things to go with the NXT, this is the platform I hoped the NXT would be
Technically, this is just a "not yet implemented" feature rather than a bug. I would recommend for the time being just keeping all your source files in the same folder as the library files, though you don't need to do that if you modify your makefile to link to libev3.so. I need to dig up the instructions for how to do that properly. David Gilday got it to work and I just haven't implemented it in BricxCC automatically yet.totokan wrote:There is a bug with BricxCC Project Manager, it does not include with relative paths.
To use relative #include paths with the gcc toolset, it is a matter of specifying -I <path-to-include-dir> (and for linking with libraries, add -L <path-to-library-dir>) as arguments to gcc. I think it would be trivial to edit the Makefile to do so, if BricxCC does not currently add them.afanofosc wrote:Technically, this is just a "not yet implemented" feature rather than a bug. I would recommend for the time being just keeping all your source files in the same folder as the library files, though you don't need to do that if you modify your makefile to link to libev3.so. I need to dig up the instructions for how to do that properly. David Gilday got it to work and I just haven't implemented it in BricxCC automatically yet.totokan wrote:There is a bug with BricxCC Project Manager, it does not include with relative paths.
What does the generated makefile look like when you put relative or absolute paths into the .prj file? You can tell BricxCC not to delete the makefile and have a look at it using notepad. This option is on the Compiler -> General tab.
John Hansen
You should be able to recompile your existing project in the new bricxcc and download it (barring any NXT specific issues).h-g-t wrote:Apologies if I am in the wrong thread but, as a non-programmer, I am totally confused by what I read about coding the EV3.
I have only one project which is written in NXC.
Can I just download the latest bricxcc and find a newer version of NXC into which I can load my existing program?
Or do I have to load everything detailed in this thread and learn C instead?
Users browsing this forum: Semrush [Bot] and 7 guests