• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problem with compiling OTClient on macOS Sierra.

Gremek

New Member
Joined
Sep 26, 2017
Messages
1
Reaction score
0
Hey.
I try compiling OTClient on my Mac, but i stuck all time with these errors
Code:
cmake -DUSE_STATIC_LIBS=OFF -DLUA_LIBRARY=/opt/lua5.1/lib/liblua.a -DLUA_INCLUDE_DIR=/opt/lua5.1/include/ ..
-- Link to static libraries: OFF
-- Build type: RelWithDebInfo
-- Build commit: devel
-- Build revision: 0
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   system
--   thread
--   filesystem
--   chrono
--   date_time
--   atomic
-- LuaJIT: OFF
-- Debug information: ON
-- Crash handler: OFF
-- OpenGL ES: OFF
-- Bot protection: ON
-- Use precompiled header: OFF
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/damiandzieciatek/Desktop/tibia/otclient/build
MacBook-Damian:build damiandzieciatek$ make -j4
[  0%] Building CXX object CMakeFiles/otclient.dir/src/framework/luafunctions.cpp.o
[  1%] Building CXX object CMakeFiles/otclient.dir/src/framework/util/crypt.cpp.o
[  3%] Building CXX object CMakeFiles/otclient.dir/src/framework/core/application.cpp.o
[  3%] Building CXX object CMakeFiles/otclient.dir/src/framework/core/binarytree.cpp.o
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/core/binarytree.cpp:23:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/core/binarytree.h:26:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/core/declarations.h:26:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/core/../global.h:29:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/pch.h:32:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:305:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:309:
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1301:38: error:
      incomplete type 'FileStream' used in type trait expression
    : public integral_constant<bool, __is_abstract(_Tp)> {};
                                     ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1374:39: note:
      in instantiation of template class 'std::__1::is_abstract<FileStream>'
      requested here
                                     !is_abstract<_T2>::value> {};
                                      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/stdext/shared_object.h:76:70: note:
      in instantiation of template class 'std::__1::is_convertible<FileStream,
      FileStream>' requested here
    shared_object_ptr(shared_object_ptr<U> const& rhs, typename std::is_conv...
                                                                     ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/stdext/shared_object.h:63:7: note:
      while substituting deduced template arguments into function template
      'shared_object_ptr' [with U = FileStream]
class shared_object_ptr
      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/core/declarations.h:35:7: note:
      forward declaration of 'FileStream'
class FileStream;
      ^
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/luafunctions.cpp:23:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/core/application.h:26:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/core/../global.h:29:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/pch.h:32:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:305:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:309:
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1301:38: error:
      incomplete type 'Texture' used in type trait expression
    : public integral_constant<bool, __is_abstract(_Tp)> {};
                                     ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1374:39: note:
      in instantiation of template class 'std::__1::is_abstract<Texture>'
      requested here
                                     !is_abstract<_T2>::value> {};
                                      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/stdext/shared_object.h:76:70: note:
      in instantiation of template class 'std::__1::is_convertible<Texture,
      Texture>' requested here
    shared_object_ptr(shared_object_ptr<U> const& rhs, typename std::is_conv...
                                                                     ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/stdext/shared_object.h:63:7: note:
      while substituting deduced template arguments into function template
      'shared_object_ptr' [with U = Texture]
class shared_object_ptr
      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/graphics/declarations.h:29:7: note:
      forward declaration of 'Texture'
class Texture;
      ^
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/luafunctions.cpp:23:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/core/application.h:26:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/core/../global.h:29:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/pch.h:32:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:305:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:309:
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1301:38: error:
      incomplete type 'OTMLDocument' used in type trait expression
    : public integral_constant<bool, __is_abstract(_Tp)> {};
                                     ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1374:39: note:
      in instantiation of template class 'std::__1::is_abstract<OTMLDocument>'
      requested here
                                     !is_abstract<_T2>::value> {};
                                      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/stdext/shared_object.h:76:70: note:
      in instantiation of template class 'std::__1::is_convertible<OTMLDocument,
      OTMLDocument>' requested here
    shared_object_ptr(shared_object_ptr<U> const& rhs, typename std::is_conv...
                                                                     ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/stdext/shared_object.h:63:7: note:
      while substituting deduced template arguments into function template
      'shared_object_ptr' [with U = OTMLDocument]
class shared_object_ptr
      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/otml/declarations.h:29:7: note:
      forward declaration of 'OTMLDocument'
class OTMLDocument;
      ^
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/core/application.cpp:23:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/core/application.h:26:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/core/../global.h:29:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/pch.h:32:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:305:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:309:
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1301:38: error:
      incomplete type 'Texture' used in type trait expression
    : public integral_constant<bool, __is_abstract(_Tp)> {};
                                     ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1374:39: note:
      in instantiation of template class 'std::__1::is_abstract<Texture>'
      requested here
                                     !is_abstract<_T2>::value> {};
                                      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/stdext/shared_object.h:76:70: note:
      in instantiation of template class 'std::__1::is_convertible<Texture,
      Texture>' requested here
    shared_object_ptr(shared_object_ptr<U> const& rhs, typename std::is_conv...
                                                                     ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/stdext/shared_object.h:63:7: note:
      while substituting deduced template arguments into function template
      'shared_object_ptr' [with U = Texture]
class shared_object_ptr
      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/graphics/declarations.h:29:7: note:
      forward declaration of 'Texture'
class Texture;
      ^
1 error generated.
make[2]: *** [CMakeFiles/otclient.dir/src/framework/core/binarytree.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/util/crypt.cpp:23:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/util/crypt.h:27:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/string:470:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/string_view:171:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/__string:56:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/algorithm:637:
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1301:38: error:
      incomplete type 'Texture' used in type trait expression
    : public integral_constant<bool, __is_abstract(_Tp)> {};
                                     ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1374:39: note:
      in instantiation of template class 'std::__1::is_abstract<Texture>'
      requested here
                                     !is_abstract<_T2>::value> {};
                                      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/util/../stdext/shared_object.h:76:70: note:
      in instantiation of template class 'std::__1::is_convertible<Texture,
      Texture>' requested here
    shared_object_ptr(shared_object_ptr<U> const& rhs, typename std::is_conv...
                                                                     ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/util/../stdext/shared_object.h:63:7: note:
      while substituting deduced template arguments into function template
      'shared_object_ptr' [with U = Texture]
class shared_object_ptr
      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/graphics/declarations.h:29:7: note:
      forward declaration of 'Texture'
class Texture;
      ^
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/core/application.cpp:23:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/core/application.h:26:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/core/../global.h:29:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/pch.h:32:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:305:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:309:
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1301:38: error:
      incomplete type 'OTMLDocument' used in type trait expression
    : public integral_constant<bool, __is_abstract(_Tp)> {};
                                     ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1374:39: note:
      in instantiation of template class 'std::__1::is_abstract<OTMLDocument>'
      requested here
                                     !is_abstract<_T2>::value> {};
                                      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/stdext/shared_object.h:76:70: note:
      in instantiation of template class 'std::__1::is_convertible<OTMLDocument,
      OTMLDocument>' requested here
    shared_object_ptr(shared_object_ptr<U> const& rhs, typename std::is_conv...
                                                                     ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/stdext/shared_object.h:63:7: note:
      while substituting deduced template arguments into function template
      'shared_object_ptr' [with U = OTMLDocument]
class shared_object_ptr
      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/otml/declarations.h:29:7: note:
      forward declaration of 'OTMLDocument'
class OTMLDocument;
      ^
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/luafunctions.cpp:23:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/core/application.h:26:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/core/../global.h:29:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/pch.h:32:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:305:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:309:
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1301:38: error:
      incomplete type 'ParticleType' used in type trait expression
    : public integral_constant<bool, __is_abstract(_Tp)> {};
                                     ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1374:39: note:
      in instantiation of template class 'std::__1::is_abstract<ParticleType>'
      requested here
                                     !is_abstract<_T2>::value> {};
                                      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/stdext/shared_object.h:76:70: note:
      in instantiation of template class 'std::__1::is_convertible<ParticleType,
      ParticleType>' requested here
    shared_object_ptr(shared_object_ptr<U> const& rhs, typename std::is_conv...
                                                                     ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/stdext/shared_object.h:63:7: note:
      while substituting deduced template arguments into function template
      'shared_object_ptr' [with U = ParticleType]
class shared_object_ptr
      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/graphics/declarations.h:41:7: note:
      forward declaration of 'ParticleType'
class ParticleType;
      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/util/crypt.cpp:146:5: warning:
      'register' storage class specifier is deprecated and incompatible with
      C++1z [-Wdeprecated-register]
    register size_t i, j=0;
    ^~~~~~~~~
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/util/crypt.cpp:146:5: warning:
      'register' storage class specifier is deprecated and incompatible with
      C++1z [-Wdeprecated-register]
    register size_t i, j=0;
    ^~~~~~~~~
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/luafunctions.cpp:23:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/core/application.h:26:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/core/../global.h:29:
In file included from /Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/pch.h:32:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:305:
In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/math.h:309:
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1301:38: error:
      incomplete type 'UIWidget' used in type trait expression
    : public integral_constant<bool, __is_abstract(_Tp)> {};
                                     ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:1374:39: note:
      in instantiation of template class 'std::__1::is_abstract<UIWidget>'
      requested here
                                     !is_abstract<_T2>::value> {};
                                      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/stdext/shared_object.h:76:70: note:
      in instantiation of template class 'std::__1::is_convertible<UIWidget,
      UIWidget>' requested here
    shared_object_ptr(shared_object_ptr<U> const& rhs, typename std::is_conv...
                                                                     ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/stdext/shared_object.h:63:7: note:
      while substituting deduced template arguments into function template
      'shared_object_ptr' [with U = UIWidget]
class shared_object_ptr
      ^
/Users/damiandzieciatek/Desktop/tibia/otclient/src/framework/../framework/ui/declarations.h:29:7: note:
      forward declaration of 'UIWidget'
class UIWidget;
      ^
2 warnings and 1 error generated.
make[2]: *** [CMakeFiles/otclient.dir/src/framework/util/crypt.cpp.o] Error 1
2 errors generated.
make[2]: *** [CMakeFiles/otclient.dir/src/framework/core/application.cpp.o] Error 1

I have installed:
ofc Git,
CMake 3.9.3_1,
Lua51 5.1.5_4,
Boost 1.65.1,
Glew 2.1.0,
Physfs 2.0.3,
Libogg 1.3.2,
Libvorbis 1.3.5_1,
XQuartz 2.7.11,
Xcode Command Line tools 9.0.0.0.1.1504363082.

My OS is: macOS Sierra 10.12.6 16G29.
So... Any ideas how to fix it?


Thanks :)
 
Back
Top