[EXTERNAL] Re: [xsde-users] macOS x86_64 build help
Baca, Antony M
abaca6 at sandia.gov
Thu Aug 18 11:40:46 EDT 2022
Thanks. I definitely made some progress with the following:
mv libxsd-frontend/version libxsd-frontend/version.txt
mv libcutl/version libcutl/version.txt
But it's still having trouble building. Not sure what I'm missing here.
Any thoughts on this error?
/Users/abaca6/xsde-3.3.0.a12+dep/libcutl/cutl/details/boost/functional/hash/extensions.hpp:172:24: error: redefinition of 'hash_value' as different kind of symbol
inline std::size_t hash_value(std::tuple<> const& v)
^
/Users/abaca6/xsde-3.3.0.a12+dep/libcutl/cutl/details/boost/functional/hash/extensions.hpp:131:17: note: previous definition is here
std::size_t hash_value(std::array<T, N> const& v)
^
/Users/abaca6/xsde-3.3.0.a12+dep/libcutl/cutl/details/boost/functional/hash/extensions.hpp:172:40: error: no member named 'tuple' in namespace 'std'
inline std::size_t hash_value(std::tuple<> const& v)
~~~~~^
/Users/abaca6/xsde-3.3.0.a12+dep/libcutl/cutl/details/boost/functional/hash/extensions.hpp:172:46: error: expected expression
inline std::size_t hash_value(std::tuple<> const& v)
^
/Users/abaca6/xsde-3.3.0.a12+dep/libcutl/cutl/details/boost/functional/hash/extensions.hpp:172:48: error: expected expression
inline std::size_t hash_value(std::tuple<> const& v)
^
/Users/abaca6/xsde-3.3.0.a12+dep/libcutl/cutl/details/boost/functional/hash/extensions.hpp:172:57: error: expected ';' after top level declarator
inline std::size_t hash_value(std::tuple<> const& v)
^
;
1 warning and 5 errors generated.
make: *** [/Users/abaca6/xsde-3.3.0.a12+dep/libcutl/cutl/re/re.o] Error 1
-----Original Message-----
From: Boris Kolpackov <boris at codesynthesis.com>
Sent: Wednesday, August 17, 2022 11:57 PM
To: Baca, Antony M <abaca6 at sandia.gov>
Cc: xsde-users at codesynthesis.com
Subject: Re: [EXTERNAL] Re: [xsde-users] macOS x86_64 build help
Baca, Antony M <abaca6 at sandia.gov> writes:
> abaca6$ make CXX="clang++ -std=c++03" LIBS="-framework CoreServices"
> c++ /Users/abaca6/xsde-3.3.0.a12+dep/xsde/xsde/xsde.cxx
> In file included from /Users/abaca6/xsde-3.3.0.a12+dep/xsde/xsde/xsde.cxx:4:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/set:437:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__debug:21:
> In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37:
> /Users/abaca6/xsde-3.3.0.a12+dep/libxsd-frontend/version:1:1: error:
> expected unqualified-id
Looks like the cstddef header now includes <version> that gets resolved as /Users/abaca6/xsde-3.3.0.a12+dep/libxsd-frontend/version, which is just a text file that contains the version. Can you try to remove libxsd-frontend/version (or rename it to version.txt) and see if that helps?
More information about the xsde-users
mailing list