-
Notifications
You must be signed in to change notification settings - Fork 38
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
Comments
I received the same error on MacOS 10.14.6. Any luck getting it to work? |
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
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
The text was updated successfully, but these errors were encountered: