开发者

How to run cpp file in Xcode?

开发者 https://www.devze.com 2023-03-30 00:12 出处:网络
I am trying to run the code from below link which contains C++ codes. https://github.com/cjcliffe/CubicVR

I am trying to run the code from below link which contains C++ codes.

https://github.com/cjcliffe/CubicVR

This link contains the BeatDetektor app for iPhone. But this is developed using C++. How can i run this project?? There are no xcode project file. Also i am trying to run main.cpp file but there are lots of package files error...

below is link for BeatDetektor app http://www.cubicvr.org/index.php?option=com开发者_开发技巧_content&view=article&id=67&Itemid=82

Can anyone tell me how to run C++ file in Xcode or on terminal???


Xcode is an IDE, not a compiler. It builds targets of various types by using a compiler like GCC internally. If there is no Xcode project file, you can create one yourself and add the source files to it. As far as I know Xcode will not compile source files on their own.


Using CMake software i am able to convert my cpp project to Xcode project... As github code contains .make extension file...

0

精彩评论

暂无评论...
验证码 换一张
取 消