• 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!

Compiling Linux Compiling Problem HELP

damiian

New Member
Joined
May 9, 2011
Messages
145
Reaction score
1
Location
cd /Gentoo/
Hello i have problem compiling my server
i have all need packpage

In file included from /usr/include/boost/filesystem/v3/config.hpp:29:0,
from /usr/include/boost/filesystem.hpp:34,
from luascript.cpp:21:
/usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
luascript.cpp: In member function ‘bool LuaInterface::loadDirectory(std::string, bool, bool, Npc*)’:
luascript.cpp:769:19: error: conversion from ‘boost::filesystem3::path’ to non-scalar type ‘std::string {aka std::basic_string<char>}’ requested
make[1]: *** [luascript.o] Błąd 1
make[1]: Opuszczenie katalogu `/home/damiano/t'
make: *** [all] Błąd 2
root@DamianDeb:/home/damiano/t#

- - - Updated - - -

...
 
Did you define BOOST_POSIX_API or BOOST_WINDOWS_API anywhere?

Try the following in the directory with your TFS sources and post what the output is:

Code:
grep -r "BOOST_POSIX_API|BOOST_WINDOWS_API" *
 
Any fix for this /usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported ?
 
Code:
In file included from /usr/include/boost/filesystem/v3/config.hpp:29:0,
                from /usr/include/boost/filesystem.hpp:34,
                from luascript.cpp:21:
/usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
make[1]: *** [luascript.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/monster.Tpo .deps/monster.Po
mv -f .deps/monsters.Tpo .deps/monsters.Po
make[1]: Leaving directory `/home/administrator/OTS/trunk.r3884'
make: *** [all] Error 2
root@GAMER:/home/administrator/OTS/trunk.r3884#

Now i have This!
I install boost and lib
 
Back
Top