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

Linux Need help Ubuntu 12 compile

cykor119

New Member
Joined
Aug 8, 2010
Messages
151
Solutions
1
Reaction score
4
Code:
mv -f .deps/itemattributes.Tpo .deps/itemattributes.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -O2 -fomit-frame-pointer  -D__USE_SQLITE__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
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(const string&, Npc*, bool)’:
luascript.cpp:741:23: error: ‘class boost::filesystem3::directory_entry’ has no member named ‘leaf’
luascript.cpp:744:61: error: no match for ‘operator+’ in ‘boost::filesystem3::path::filename() const() + "/"’
mv -f .deps/items.Tpo .deps/items.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -O2 -fomit-frame-pointer  -D__USE_SQLITE__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT mailbox.o -MD -MP -MF .deps/mailbox.Tpo -c -o mailbox.o mailbox.cpp
mv -f .deps/item.Tpo .deps/item.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -O2 -fomit-frame-pointer  -D__USE_SQLITE__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cpp
make[1]: *** [luascript.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/mailbox.Tpo .deps/mailbox.Po
mv -f .deps/manager.Tpo .deps/manager.Po
make[1]: Leaving directory `/home/administrator/OTS/trunk.r3884'
make: *** [all] Error 2
root@GAMER:~/OTS/trunk.r3884#

Could someone help me repair this error?
 
in leaf i know because answer is in this forum.. but who know:

/usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported

why? need install other boost?
 
Look it be My Actualy Console:

Code:
mv -f .deps/itemattributes.Tpo .deps/itemattributes.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
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
mv -f .deps/items.Tpo .deps/items.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT mailbox.o -MD -MP -MF .deps/mailbox.Tpo -c -o mailbox.o mailbox.cpp
mv -f .deps/item.Tpo .deps/item.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -pipe -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.cpp
make[1]: *** [luascript.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/mailbox.Tpo .deps/mailbox.Po
mv -f .deps/manager.Tpo .deps/manager.Po
make[1]: Leaving directory `/home/administrator/OTS/trunk.r3884'
make: *** [all] Error 2
root@GAMER:/home/administrator/OTS/trunk.r3884#

Could someone Help me?
 
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