Closed N0ury closed 5 years ago
It's really only a pain if you use macports (basically outdated) instead of brew (not outdated). I haven't used macports in many many years and I don't miss it :D
Anyway, it seems it's just a -I/opt/local/include
flag somewhere since the error message says it can't find the header. Those /opt
aren't quite "standard"/"default" I suppose, contrary to /usr/local
which is what brew uses. I guess this is why you also had to mess with your path more than usually needed.
So, try to add that -I in the makefile
@adriweb
it seems it's just a -I/opt/local/include flag somewhere since the error message says it can't find the header
I have already tried this. But maybe in a wrong way. I'll try again.
I'll also have a look at brew... It was much easier on a Linux box.
OK. FWIW, once the deps are installed with brew, I believe I didn't have anything to change to build on mac.
I've installed brew, and things go better. I can run a HelloWorld on a TI Nspire CX CAS device. Thanks @adriweb I have now to install and check all my usual stuff.
I'm stuck here. Please help. It's really a pain to build Ndless on a Mac.