We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

cc1plus: error: unrecognized command line option ‘-std=c++11’ [answered]

asked 2015-03-30 14:33:36 +0300

Blizzer gravatar image

Hello

i get this error when i want to build my SDL2/C++ Code.

Have someone a tipp? I have use google but i dident find something-

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by VDVsx
close date 2015-04-07 10:58:50.244268

1 Answer

Sort by » oldest newest most voted
2

answered 2015-03-30 15:12:52 +0300

r0kk3rz gravatar image

You might have more luck on the SailfishOS Developers Mailing List for development type questions.

What are you building on? If on the device or in the MerSDK VM then AFAIK the current version of GCC is too old for C++11 features.

Work is being done on a toolchain update to GCC 4.8 (source) which will bring C++11 support.

edit flag offensive delete publish link more

Comments

1

EDIT// ahhh sorry XD i build on a Ubuntu/Manjaro Linux System but i build in the VM what come with the sdk and the Emulator because my jolla is on the way :D

i working on a gameengine github and want to bring it to Jolla, first was plane for PC and Android but now i will bring it to PC and Jolla first. I hope it will bring use a lot of nice games ;)

Blizzer ( 2015-03-30 15:23:27 +0300 )edit

Question tools

Follow
1 follower

Stats

Asked: 2015-03-30 14:33:36 +0300

Seen: 686 times

Last updated: Mar 30 '15