You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you say how to specify the needed compiler? It requires C++11, but I environment settings are ignored by the build, and it picks a default system compiler, which fails:
---> Building ncpp
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ncpp/ncpp/work/ncpp-2.3.0" && /opt/local/bin/scons OPT_PREFIX=/opt/local
scons: Reading SConscript files ...
Loading eol_scons from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ncpp/ncpp/work/ncpp-2.3.0/site_scons/eol_scons...
Searching for tool_*.py files...
Found 1 tool files, caching is disabled.
Config files: ['/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_science_ncpp/ncpp/work/ncpp-2.3.0/config.py']
Checking for netcdf linking...yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o raf/ACconfig.o -c -g -Wall -std=c++11 -Wno-write-strings -Wno-deprecated-register -g -Wall -Wno-write-strings -DPNG -I. -I/opt/local/include raf/ACconfig.cc
cc1plus: error: unrecognized command line option "-Wno-deprecated-register"
cc1plus: error: unrecognized command line option "-std=c++11"
scons: *** [raf/ACconfig.o] Error 1
scons: building terminated because of errors.
The text was updated successfully, but these errors were encountered:
Could you say how to specify the needed compiler? It requires C++11, but I environment settings are ignored by the build, and it picks a default system compiler, which fails:
The text was updated successfully, but these errors were encountered: