-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Add OSX compiler support #15
Conversation
* Apple requires this for mkdir
* Unix supports UTF8 paths which the converter will handle * Unix does not have support for wstring initializations of ofstream or ifstream
* AppleClang will error when this not provided
Hi @8W9aG, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! TTYL, MSBOT; |
Thanks! |
Now you can test it by following these instructions: https://youtu.be/HNWdYrtw3f0 |
Hey can you also do the cla thing? Thanks. |
Can you include the proper linking for OS X ? 1 warning generated. |
Sorry about that I was just compiling the AirLib library, I'll fix the linking issues on the HelloDrone target pronto |
Don't be sorry! Thanks for what you have done thus far. Seeing it hit 100% made me grin. |
Fix here: #16 |
I am trying to compile the code using cmake. I installed all the prerequisites and did a git submodule update to clone the external/rpclib. But then when I ran build.sh under the cmake folder, it gives me an error saying that
Did anyone have this issue? How do I solve it? |
Aha... first you need to get rpclib submodule.
BTW, there is a bug in CMakeLists.txt. We need to make AirLib dependent on rpclib. Please feel free to change. I've get my Linux m/c ready for testing this first... |
@sytelus I followed your instruction and ran this line in a brand new clone of AirSim.
But I still get the same error as before. I have Eigen, Boost, and gcc/g++6 installed and detected properly. And how do I fix the CMakeLists.txt, to make AirLib dependent on rpclib? I am not very good with cmake. Thank you! I am very excited about this, and really want to try it out. |
I'm working on fixing this right now, stay tuned... |
merge from origin: microsoft branch
This introduces some minor changes which enables AirSim to be compiled on OSX successfully.
Tested on:
Xcode 8.2.1
OSX 10.12.3
I have yet to test whether this works, but thought I'd get that going after this is in.