Skip to content
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

Can not compile SARSOP for macOS 10.13.6 #2

Open
UmithanGoktolga opened this issue Sep 27, 2018 · 2 comments
Open

Can not compile SARSOP for macOS 10.13.6 #2

UmithanGoktolga opened this issue Sep 27, 2018 · 2 comments

Comments

@UmithanGoktolga
Copy link

This is the error prompt of 'make' :

g++ -g -w -O3 -I./MathLib -I./Algorithms -I./Algorithms/HSVI -I./Algorithms/SARSOP -I./Models/MOMDP/ -I./Models/MOMDP/CoLoc/ -I./OfflineSolver/ -I./Bounds/ -I./Core/ -I./Parser/Cassandra/ -I./Parser/Cassandra/include -I./Parser/ -I./Parser/POMDPX/ -I./Utils/ -I./Simulator/ -I./Evaluator/ -I./Controller/ -msse2 -mfpmath=sse -c -o PolicyGraph/PolicyGraph.o PolicyGraph/PolicyGraph.cpp
In file included from PolicyGraph/PolicyGraph.cpp:1:
In file included from ./Models/MOMDP/MOMDP.h:10:
In file included from ./Core/Observations.h:8:
In file included from ./Core/VariableContainer.h:10:
In file included from ./MathLib/MathLib.h:12:
./MathLib/SparseMatrix.h:24:33: error: field of type 'momdp::SparseCol::iterator' (aka '__wrap_iter<const momdp::SparseVector_Entry *>') has private constructor
inline SparseCol(): _begin(NULL), _end(NULL) {}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iterator:1420:31: note: declared private here
_LIBCPP_INLINE_VISIBILITY __wrap_iter(iterator_type __x) _NOEXCEPT_DEBUG : __i(__x) {}
^
In file included from PolicyGraph/PolicyGraph.cpp:1:
In file included from ./Models/MOMDP/MOMDP.h:10:
In file included from ./Core/Observations.h:8:
In file included from ./Core/VariableContainer.h:10:
In file included from ./MathLib/MathLib.h:12:
./MathLib/SparseMatrix.h:24:47: error: field of type 'momdp::SparseCol::iterator' (aka '__wrap_iter<const momdp::SparseVector_Entry *>') has private constructor
inline SparseCol(): _begin(NULL), _end(NULL) {}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/iterator:1420:31: note: declared private here
_LIBCPP_INLINE_VISIBILITY __wrap_iter(iterator_type __x) _NOEXCEPT_DEBUG : __i(__x) {}
^
2 errors generated.
make: *** [PolicyGraph/PolicyGraph.o] Error 1

@adamhall
Copy link

I received the same error on MacOS 10.14.6. Any luck getting it to work?

@adamhall
Copy link

adamhall commented Jan 21, 2020

For people coming here with the same issue, there is a fork of this library here. This fork compiled for me on OSX 10.15.2. So far so good...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants