Post not yet marked as solved
Post marked as unsolved with 0 replies, 452 views
Hi,
O ma trying to complile the netcdf-cxx4-4.3.1 on my Monterey. I have the error message as follows:
g++ -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT ncAtt.lo -MD -MP -MF .deps/ncAtt.Tpo -c ncAtt.cpp -fno-common -DPIC -o .libs/ncAtt.o
In file included from ncAtt.cpp:1:
In file included from ./ncAtt.h:1:
In file included from ./ncType.h:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/string:519:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37:
../version:1:1: error: expected external declaration
-n 4.3.1
What is it?
Xcode Version 1: 3.4.1 (13F100)
clang version: 13.1.6 (clang-1316.0.21.2.5)