-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation Issues(CentOS 7): #198
Comments
That's perplexing. I did some searching - with no luck. When I look at your error, it's not obvious that the -std=c++11 flag is set: g++ -I. -I.. -DVMC_SRC -DVMC -DLINUX -DPOSIX -pipe -DMUD_DEBUG -g -Wall -g -c dilshare.cpp -o ../../build//vmc/dilshare.o Could you perhaps try to compile with just that line and add the two flags by hand, see what happens, i.e. something like: g++ -I. -I.. -DVMC_SRC -DVMC -DLINUX -DPOSIX -pipe -DMUD_DEBUG -g -Wall -g -std=c++11 -c dilshare.cpp -o ../../build//vmc/dilshare.o You could also try with the std=gnu++11 Let me know how it goes please. |
It leaves this error when I add the flags by hand: Assembler messages: |
If you're up for it you might want to try to build with the new CMake that was just added today by @bluedreamer. Would love to hear how that works out. |
I started to test this on cent 7, got distracted with xmas, you need to install cmake3 though from epel and maybe downgrade the minimum version in the top level CMakeLists.txt - I think the most "advanced" feature Im using is from 3.12 |
So sudo apt install cmake3 ?
…On Fri, Dec 24, 2021, 15:36 Adrian ***@***.***> wrote:
I started to test this on cent 7, got distracted with xmas, you need to
install cmake3 though from epel and maybe downgrade the minimum version in
the top level CMakeLists.txt - I think the most "advanced" feature Im using
is from 3.12
—
Reply to this email directly, view it on GitHub
<#198 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOOOMXS4EFSWZ7FYRGRHKMLUST7X3ANCNFSM5BBGBFNA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Been a while since I've used ubuntu/debian. A lot of distro's are shipping with cmake 3 by default - you can check with the usual Which version are you using? I can install a VM then and test it out |
My version was too old. Thanks
…On Fri, Dec 24, 2021 at 4:28 PM Adrian ***@***.***> wrote:
Been a while since I've used ubuntu/debian. A lot of distro's are shipping
with cmake 3 by default - you can check with the usual cmake --version
Which version are you using? I can install a VM then and test it out
—
Reply to this email directly, view it on GitHub
<#198 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOOOMXUUFYH2R5BMCQMH363USUFZZANCNFSM5BBGBFNA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thank you @bluedreamer :-) |
I looked at several clsoed errors like the one that I had(repeatedly)
g++ -I. -I.. -DVMC_SRC -DVMC -DLINUX -DPOSIX -pipe -DMUD_DEBUG -g -Wall -g -c dilshare.cpp -o ../../build//vmc/dilshare.o
In file included from /usr/include/c++/4.8.2/forward_list:35:0,
from ../structs.h:10,
from ../utility.cpp:14,
from utility.cpp:10:
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the
^
In file included from /usr/include/c++/4.8.2/forward_list:35:0,
from ../structs.h:10,
from ../structs.cpp:8,
from structs.cpp:11:
/usr/include/c++/4.8.2/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the
^
My makefile already has -std=c++11 in it, what else could be causing this issue?
The text was updated successfully, but these errors were encountered: