CauldronDevelopmentLLC / CAMotics

Open-Source Simulation & Computer Aided Machining - A 3-axis CNC GCode simulator
Other
625 stars 143 forks source link

Qt 5 requires C++11 support, CXXFLAGS must be modified #193

Closed christophe-vescovi closed 7 years ago

christophe-vescovi commented 8 years ago

compilation terminate with error on Arch systems with the following error : "Qt requires C++11 support" I manage to compile CAMotics by editing SConstruct file and adding the CXXFLAGS on this line if env['PLATFORM'] != 'win32': env.Append(CCFLAGS = ['-fPIC'],CXXFLAGS="-std=gnu++11") Do not know if it is a problem on other systems but because of this error the camotics package is broken in AUR (Arch User Repository). Best regards, Chris

jcoffland commented 8 years ago

The newest versions of Qt 5 have started requiring C++11 support.