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
When I try to install Mapnik, below error happens:
/usr/local/include/boost/spirit/home/x3/core/detail/parse_into_container.hpp:259:22: error: no member named 'insert' in
'boost::spirit::x3::unused_type'
attr.insert(attr.end(), rest.begin(), rest.end());
~~~~ ^
16 errors generated.
scons: *** [src/json/positions_grammar_x3.o] Error 1
scons: building terminated because of errors.
make: *** [src/json/libmapnik-json.a] Error 2
Below is my default version of gcc:
gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
I have updated gcc to gcc7, it's in the below directory. I guess I may need to verify the file named Sconstruct :
/usr/local/gcc-7.1/bin
How can fix this issue? Thanks a lot!
The text was updated successfully, but these errors were encountered:
When I try to install Mapnik, below error happens:
/usr/local/include/boost/spirit/home/x3/core/detail/parse_into_container.hpp:259:22: error: no member named 'insert' in
'boost::spirit::x3::unused_type'
attr.insert(attr.end(), rest.begin(), rest.end());
~~~~ ^
16 errors generated.
scons: *** [src/json/positions_grammar_x3.o] Error 1
scons: building terminated because of errors.
make: *** [src/json/libmapnik-json.a] Error 2
Below is my default version of gcc:
gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.1.0 (clang-802.0.42)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
I have updated gcc to gcc7, it's in the below directory. I guess I may need to verify the file named Sconstruct :
/usr/local/gcc-7.1/bin
How can fix this issue? Thanks a lot!
The text was updated successfully, but these errors were encountered: