Hello Guys,
I have a problem with compile engine, from source on my FreeBSD 10:
https://github.com/otland/forgottenserver
In FreeBSD 10 default compiler is Clang, but I tried compile in GCC and Clang, but i still have same problem with vocation.cpp.
from FreeBSD after compiling using Clang:
...
[ 98%] Building CXX object CMakeFiles/tfs.dir/src/weapons.cpp.o
[100%] Building CXX object CMakeFiles/tfs.dir/src/wildcardtree.cpp.o
Linking CXX executable tfs
CMakeFiles/tfs.dir/src/vocation.cpp.o: In function `bool boost::detail::lcast_ret_float<std::__1::char_traits<char>, float, char>(float&, char const*, char const*)':
/usr/home/OTS/forgottenserver/src/vocation.cpp.text._ZN5boost6detail15lcast_ret_floatINSt3__111char_traitsIcEEfcEEbRT0_PKT1_S9_[_ZN5boost6detail15lcast_ret_floatINSt3__111char_traitsIcEEfcEEbRT0_KT1_S9_]+0x1356): warning: powl has lower than advertised precision
[100%] Built target tfs
"
At "building CXX object" no problems, I thought if it built target tfs, so i can try start up it. Then i have problem:
"
>> Loading config
>> Establishing database connection... MySQL 5.5.34
>> Running database manager
>> Loading vocations
>> Loading items
>> Loading script systems
Segmentation fault (core dumped)
"
Think... ok. Try with GCC.
"
Linking CXX executable tfs
CMakeFiles/tfs.dir/src/vocation.cpp.o: In function `bool boost::detail::lcast_ret_float<std::__1::char_traits<char>, float, char>(float&, char const*, char const*)':
/usr/home/OTS/forgottenserver/src/vocation.cpp.text._ZN5boost6detail15lcast_ret_floatINSt3__111char_traitsIcEEfcEEbRT0_PKT1_S9_[_ZN5boost6detail15lcast_ret_floatINSt3__111char_traitsIcEEfcEEbRT0_PKT1_S9_]+0x1356): warning: powl has lower than advertised precision
[100%] Built target tfs
That same problem.
I don't know where is the problem. Had someone compile it on FreeBSD?? Please, can someone help me ?
I have a problem with compile engine, from source on my FreeBSD 10:
https://github.com/otland/forgottenserver
In FreeBSD 10 default compiler is Clang, but I tried compile in GCC and Clang, but i still have same problem with vocation.cpp.
from FreeBSD after compiling using Clang:
...
[ 98%] Building CXX object CMakeFiles/tfs.dir/src/weapons.cpp.o
[100%] Building CXX object CMakeFiles/tfs.dir/src/wildcardtree.cpp.o
Linking CXX executable tfs
CMakeFiles/tfs.dir/src/vocation.cpp.o: In function `bool boost::detail::lcast_ret_float<std::__1::char_traits<char>, float, char>(float&, char const*, char const*)':
/usr/home/OTS/forgottenserver/src/vocation.cpp.text._ZN5boost6detail15lcast_ret_floatINSt3__111char_traitsIcEEfcEEbRT0_PKT1_S9_[_ZN5boost6detail15lcast_ret_floatINSt3__111char_traitsIcEEfcEEbRT0_KT1_S9_]+0x1356): warning: powl has lower than advertised precision
[100%] Built target tfs
"
At "building CXX object" no problems, I thought if it built target tfs, so i can try start up it. Then i have problem:
"
>> Loading config
>> Establishing database connection... MySQL 5.5.34
>> Running database manager
>> Loading vocations
>> Loading items
>> Loading script systems
Segmentation fault (core dumped)
"
Think... ok. Try with GCC.
"
Linking CXX executable tfs
CMakeFiles/tfs.dir/src/vocation.cpp.o: In function `bool boost::detail::lcast_ret_float<std::__1::char_traits<char>, float, char>(float&, char const*, char const*)':
/usr/home/OTS/forgottenserver/src/vocation.cpp.text._ZN5boost6detail15lcast_ret_floatINSt3__111char_traitsIcEEfcEEbRT0_PKT1_S9_[_ZN5boost6detail15lcast_ret_floatINSt3__111char_traitsIcEEfcEEbRT0_PKT1_S9_]+0x1356): warning: powl has lower than advertised precision
[100%] Built target tfs
That same problem.
I don't know where is the problem. Had someone compile it on FreeBSD?? Please, can someone help me ?