-
Notifications
You must be signed in to change notification settings - Fork 49
Manual intervention via makeflags necessary to enable C++11 #88
Comments
obs-linuxbrowser/CMakeLists.txt Lines 52 to 60 in 72d3988
As you can see we actually have C++11 enabled. I wonder how it happened that you weren't able to compile without manually setting the appropriate flag. Did you compile from master? |
Yes, i compiled from master :\ |
Could you please provide information about your OS? And it might help if you try to re-download the repo and compile again without manually adding Thanks in advance |
Sure, glad to help:
https://gist.github.com/nooitaf/218af84bcf096f8f0477609698462bc2 |
Seems like you are using an older compiler version (GCC 5.x). The build is designed to work out of the box when using current compiler versions (GCC 8.x on Arch). I believe Mint provides a GCC package I will include your issue in the known issues section. |
Ah that explains it. Thanks
As i use linuxbrew i installed gcc-8 with
But just |
Unfortunately I don't have any experience with Mint and I can't help you with this one, but maybe Google has a working solution for you. |
Thanks for this package :)
i got this error while compiling and did not know how to solve it at first..
I just solved it by adding
-DCMAKE_CXX_FLAGS="-std=c++11"
to the cmake command:cmake -DCMAKE_CXX_FLAGS="-std=c++11" -DCEF_ROOT_DIR=CEF_ROOT_PATH ..
Builds fine now :)
Maybe this could be added to the docs for noobs like me who dont compile every day :D
The text was updated successfully, but these errors were encountered: