JoccE
CopyLeft (ɔ)
I've asked this before but never really got a good answer
Would it ever be possible to compile OTClient under OSx and run it with OpenGL?
Would it ever be possible to compile OTClient under OSx and run it with OpenGL?
Have you tried this: https://github.com/edubart/otclient/wiki/Compiling-on-Mac-OS-X
[ 0%] [ 1%] [ 2%] Building CXX object CMakeFiles/otclient.dir/src/framework/luafunctions.cpp.o
[ 3%] Building CXX object CMakeFiles/otclient.dir/src/framework/util/crypt.cpp.o
Building CXX object CMakeFiles/otclient.dir/src/framework/stdext/time.cpp.o
Building CXX object CMakeFiles/otclient.dir/src/framework/core/application.cpp.o
[ 4%] Building CXX object CMakeFiles/otclient.dir/src/framework/core/adaptativeframecounter.cpp.o
In file included from /Users/username/otclient/src/framework/luafunctions.cpp:23:
In file included from /Users/username/otclient/src/framework/../framework/core/application.h:26:
In file included from /Users/username/otclient/src/framework/../framework/global.h:45:
/Users/username/otclient/src/framework/core/logger.h:65:10: error: reference to
'recursive_mutex' is ambiguous
std::recursive_mutex m_mutex;
^
/usr/bin/../lib/c++/v1/mutex:189:23: note: candidate found by name lookup is
'std::__1::recursive_mutex'
class _LIBCPP_VISIBLE recursive_mutex
^
/Users/username/otclient/src/framework/../framework/stdext/thread.h:40:18: note:
candidate found by name lookup is 'std::recursive_mutex'
using boost::recursive_mutex;
^
In file included from /Users/username/otclient/src/framework/core/application.cpp:23:
In file included from /Users/username/otclient/src/framework/core/application.h:26:
In file included from /Users/username/otclient/src/framework/../framework/global.h:45:
/Users/username/otclient/src/framework/../framework/core/logger.h:65:10: error:
reference to 'recursive_mutex' is ambiguous
std::recursive_mutex m_mutex;
^
/usr/bin/../lib/c++/v1/mutex:189:23: note: candidate found by name lookup is
'std::__1::recursive_mutex'
class _LIBCPP_VISIBLE recursive_mutex
^
/Users/username/otclient/src/framework/../framework/stdext/thread.h:40:18: note:
candidate found by name lookup is 'std::recursive_mutex'
using boost::recursive_mutex;
^
In file included from /Users/username/otclient/src/framework/util/crypt.cpp:25:
/Users/username/otclient/src/framework/../framework/core/logger.h:65:10: error:
reference to 'recursive_mutex' is ambiguous
std::recursive_mutex m_mutex;
^
/usr/bin/../lib/c++/v1/mutex:189:23: note: candidate found by name lookup is
'std::__1::recursive_mutex'
class _LIBCPP_VISIBLE recursive_mutex
^
/Users/username/otclient/src/framework/../framework/stdext/thread.h:40:18: note:
candidate found by name lookup is 'std::recursive_mutex'
using boost::recursive_mutex;
^
In file included from /Users/username/otclient/src/framework/core/application.cpp:30:
/Users/username/otclient/src/framework/core/asyncdispatcher.h:52:10: error:
reference to 'mutex' is ambiguous
std::mutex m_mutex;
^
/usr/bin/../lib/c++/v1/__mutex_base:34:23: note: candidate found by name lookup
is 'std::__1::mutex'
class _LIBCPP_VISIBLE mutex
^
/Users/username/otclient/src/framework/../framework/stdext/thread.h:39:18: note:
candidate found by name lookup is 'std::mutex'
using boost::mutex;
^
In file included from /Users/username/otclient/src/framework/core/application.cpp:30:
/Users/username/otclient/src/framework/core/asyncdispatcher.h:53:10: error:
reference to 'condition_variable' is ambiguous
std::condition_variable m_condition;
^
/usr/bin/../lib/c++/v1/__mutex_base:301:23: note: candidate found by name lookup
is 'std::__1::condition_variable'
class _LIBCPP_VISIBLE condition_variable
^
/Users/username/otclient/src/framework/../framework/stdext/thread.h:43:18: note:
candidate found by name lookup is 'std::condition_variable'
using boost::condition_variable;
^
In file included from /Users/username/otclient/src/framework/core/application.cpp:30:
/Users/username/otclient/src/framework/core/asyncdispatcher.h:39:14: error:
reference to 'lock_guard' is ambiguous
std::lock_guard<std::mutex> lock(m_mutex);
~~~~~^
/usr/bin/../lib/c++/v1/__mutex_base:79:23: note: candidate found by name lookup
is 'std::__1::lock_guard'
class _LIBCPP_VISIBLE lock_guard
^
/Users/username/otclient/src/framework/../framework/stdext/thread.h:41:18: note:
candidate found by name lookup is 'std::lock_guard'
using boost::lock_guard;
^
In file included from /Users/username/otclient/src/framework/core/application.cpp:30:
/Users/username/otclient/src/framework/core/asyncdispatcher.h:39:14: error: no
template named 'lock_guard'; did you mean 'boost::lock_guard'?
std::lock_guard<std::mutex> lock(m_mutex);
^~~~~~~~~~
boost::lock_guard
/usr/local/include/boost/thread/lock_guard.hpp:26:9: note: 'boost::lock_guard'
declared here
class lock_guard
^
In file included from /Users/username/otclient/src/framework/core/application.cpp:30:
/Users/username/otclient/src/framework/core/asyncdispatcher.h:39:30: error:
reference to 'mutex' is ambiguous
std::lock_guard<std::mutex> lock(m_mutex);
^
/usr/bin/../lib/c++/v1/__mutex_base:34:23: note: candidate found by name lookup
is 'std::__1::mutex'
class _LIBCPP_VISIBLE mutex
^
/Users/username/otclient/src/framework/../framework/stdext/thread.h:39:18: note:
candidate found by name lookup is 'std::mutex'
using boost::mutex;
^
1 error generated.
make[2]: *** [CMakeFiles/otclient.dir/src/framework/util/crypt.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /Users/username/otclient/src/framework/core/adaptativeframecounter.cpp:23:
In file included from /Users/username/otclient/src/framework/core/adaptativeframecounter.h:26:
In file included from /Users/username/otclient/src/framework/../framework/global.h:45:
/Users/username/otclient/src/framework/../framework/core/logger.h:65:10: error:
reference to 'recursive_mutex' is ambiguous
std::recursive_mutex m_mutex;
^
/usr/bin/../lib/c++/v1/mutex:189:23: note: candidate found by name lookup is
'std::__1::recursive_mutex'
class _LIBCPP_VISIBLE recursive_mutex
^
/Users/username/otclient/src/framework/../framework/stdext/thread.h:40:18: note:
candidate found by name lookup is 'std::recursive_mutex'
using boost::recursive_mutex;
^
6 errors generated.
make[2]: *** [CMakeFiles/otclient.dir/src/framework/core/application.cpp.o] Error 1
1 error generated.
make[2]: *** [CMakeFiles/otclient.dir/src/framework/core/adaptativeframecounter.cpp.o] Error 1
1 error generated.
make[2]: *** [CMakeFiles/otclient.dir/src/framework/luafunctions.cpp.o] Error 1
make[1]: *** [CMakeFiles/otclient.dir/all] Error 2
make: *** [all] Error 2
Joakims-MacBook-Pro:build JoccE$ make -j4
[ 0%] [ 1%] [ 2%] [ 3%] Building CXX object CMakeFiles/otclient.dir/src/framework/luafunctions.cpp.o
Building CXX object CMakeFiles/otclient.dir/src/framework/util/crypt.cpp.o
Building CXX object CMakeFiles/otclient.dir/src/framework/core/application.cpp.o
Building CXX object CMakeFiles/otclient.dir/src/framework/core/adaptativeframecounter.cpp.o
In file included from /Users/JoccE/Documents/otclient/src/framework/core/adaptativeframecounter.cpp:23:
In file included from /Users/JoccE/Documents/otclient/src/framework/core/adaptativeframecounter.h:26:
In file included from /Users/JoccE/Documents/otclient/src/framework/../framework/global.h:45:
/Users/JoccE/Documents/otclient/src/framework/../framework/core/logger.h:65:10: error: reference to 'recursive_mutex' is
ambiguous
std::recursive_mutex m_mutex;
^
/usr/bin/../lib/c++/v1/mutex:189:23: note: candidate found by name lookup is 'std::__1::recursive_mutex'
class _LIBCPP_VISIBLE recursive_mutex
^
/Users/JoccE/Documents/otclient/src/framework/../framework/stdext/thread.h:40:18: note: candidate found by name lookup is
'std::recursive_mutex'
using boost::recursive_mutex;
^
In file included from /Users/JoccE/Documents/otclient/src/framework/core/application.cpp:23:
In file included from /Users/JoccE/Documents/otclient/src/framework/core/application.h:26:
In file included from /Users/JoccE/Documents/otclient/src/framework/../framework/global.h:45:
/Users/JoccE/Documents/otclient/src/framework/../framework/core/logger.h:65:10: error: reference to 'recursive_mutex' is
ambiguous
std::recursive_mutex m_mutex;
^
/usr/bin/../lib/c++/v1/mutex:189:23: note: candidate found by name lookup is 'std::__1::recursive_mutex'
class _LIBCPP_VISIBLE recursive_mutex
^
/Users/JoccE/Documents/otclient/src/framework/../framework/stdext/thread.h:40:18: note: candidate found by name lookup is
'std::recursive_mutex'
using boost::recursive_mutex;
^
In file included from /Users/JoccE/Documents/otclient/src/framework/luafunctions.cpp:23:
In file included from /Users/JoccE/Documents/otclient/src/framework/../framework/core/application.h:26:
In file included from /Users/JoccE/Documents/otclient/src/framework/../framework/global.h:45:
/Users/JoccE/Documents/otclient/src/framework/core/logger.h:65:10: error: reference to 'recursive_mutex' is ambiguous
std::recursive_mutex m_mutex;
^
/usr/bin/../lib/c++/v1/mutex:189:23: note: candidate found by name lookup is 'std::__1::recursive_mutex'
class _LIBCPP_VISIBLE recursive_mutex
^
/Users/JoccE/Documents/otclient/src/framework/../framework/stdext/thread.h:40:18: note: candidate found by name lookup is
'std::recursive_mutex'
using boost::recursive_mutex;
^
In file included from /Users/JoccE/Documents/otclient/src/framework/util/crypt.cpp:25:
/Users/JoccE/Documents/otclient/src/framework/../framework/core/logger.h:65:10: error: reference to 'recursive_mutex' is
ambiguous
std::recursive_mutex m_mutex;
^
/usr/bin/../lib/c++/v1/mutex:189:23: note: candidate found by name lookup is 'std::__1::recursive_mutex'
class _LIBCPP_VISIBLE recursive_mutex
^
/Users/JoccE/Documents/otclient/src/framework/../framework/stdext/thread.h:40:18: note: candidate found by name lookup is
'std::recursive_mutex'
using boost::recursive_mutex;
^
1 error generated.
make[2]: *** [CMakeFiles/otclient.dir/src/framework/core/adaptativeframecounter.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /Users/JoccE/Documents/otclient/src/framework/core/application.cpp:30:
/Users/JoccE/Documents/otclient/src/framework/core/asyncdispatcher.h:52:10: error: reference to 'mutex' is ambiguous
std::mutex m_mutex;
^
/usr/bin/../lib/c++/v1/__mutex_base:34:23: note: candidate found by name lookup is 'std::__1::mutex'
class _LIBCPP_VISIBLE mutex
^
/Users/JoccE/Documents/otclient/src/framework/../framework/stdext/thread.h:39:18: note: candidate found by name lookup is
'std::mutex'
using boost::mutex;
^
In file included from /Users/JoccE/Documents/otclient/src/framework/core/application.cpp:30:
/Users/JoccE/Documents/otclient/src/framework/core/asyncdispatcher.h:53:10: error: reference to 'condition_variable' is
ambiguous
std::condition_variable m_condition;
^
/usr/bin/../lib/c++/v1/__mutex_base:301:23: note: candidate found by name lookup is 'std::__1::condition_variable'
class _LIBCPP_VISIBLE condition_variable
^
/Users/JoccE/Documents/otclient/src/framework/../framework/stdext/thread.h:43:18: note: candidate found by name lookup is
'std::condition_variable'
using boost::condition_variable;
^
In file included from /Users/JoccE/Documents/otclient/src/framework/core/application.cpp:30:
/Users/JoccE/Documents/otclient/src/framework/core/asyncdispatcher.h:39:14: error: reference to 'lock_guard' is ambiguous
std::lock_guard<std::mutex> lock(m_mutex);
~~~~~^
/usr/bin/../lib/c++/v1/__mutex_base:79:23: note: candidate found by name lookup is 'std::__1::lock_guard'
class _LIBCPP_VISIBLE lock_guard
^
/Users/JoccE/Documents/otclient/src/framework/../framework/stdext/thread.h:41:18: note: candidate found by name lookup is
'std::lock_guard'
using boost::lock_guard;
^
In file included from /Users/JoccE/Documents/otclient/src/framework/core/application.cpp:30:
/Users/JoccE/Documents/otclient/src/framework/core/asyncdispatcher.h:39:14: error: no template named 'lock_guard'; did you
mean 'boost::lock_guard'?
std::lock_guard<std::mutex> lock(m_mutex);
^~~~~~~~~~
boost::lock_guard
/usr/local/include/boost/thread/lock_guard.hpp:26:9: note: 'boost::lock_guard' declared here
class lock_guard
^
In file included from /Users/JoccE/Documents/otclient/src/framework/core/application.cpp:30:
/Users/JoccE/Documents/otclient/src/framework/core/asyncdispatcher.h:39:30: error: reference to 'mutex' is ambiguous
std::lock_guard<std::mutex> lock(m_mutex);
^
/usr/bin/../lib/c++/v1/__mutex_base:34:23: note: candidate found by name lookup is 'std::__1::mutex'
class _LIBCPP_VISIBLE mutex
^
/Users/JoccE/Documents/otclient/src/framework/../framework/stdext/thread.h:39:18: note: candidate found by name lookup is
'std::mutex'
using boost::mutex;
^
1 error generated.
make[2]: *** [CMakeFiles/otclient.dir/src/framework/util/crypt.cpp.o] Error 1
6 errors generated.
make[2]: *** [CMakeFiles/otclient.dir/src/framework/core/application.cpp.o] Error 1
1 error generated.
make[2]: *** [CMakeFiles/otclient.dir/src/framework/luafunctions.cpp.o] Error 1
make[1]: *** [CMakeFiles/otclient.dir/all] Error 2
make: *** [all] Error 2