C++ in Matlab IDE: How do I compile in Xcode 9 using g++

I am not a coder, but rarther an enthusiast. This said I am new to C++ I am trying to use some C++ code found on Github. It uses the POCO C++ Library and the g++ compiler. The code streams data using an API.


I wish to use the data in my Matlab based financial model. Thus I wish to stream the data into a data structure in Matlab.


I am using a Mac and plan to download the latest Xcode version Xocde 9.


As mentioned earlier the C++ code on Github specfies it uses the g++ compiler (translated C++ codes to machine code)


Will XCode support g++ compiler by default? I believe it will. How do I compile in Xcode 9 using g++ ?


Thankyou


DCap

There is a build setting in the Build Options called "Compiler for C/C++/Objective-C". The value for setting is the full path to the compiler you want to use. The g++ provided with Xcode command line tools is at /usr/bin/g++.

C++ in Matlab IDE: How do I compile in Xcode 9 using g++
 
 
Q