• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux Error Compiling Libboost

niezbawiony

New Member
Joined
Mar 2, 2010
Messages
54
Reaction score
1
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 6.0.1 (n/a)
Release: 6.0.1
Codename: n/a

I write on the console (in boost_1_34_1/libs/system/src/ ofc)
PHP:
g++ -shared -Wl,-soname,libboost_system.so.1 -o libboost_system.so.1.0.1 error_code.cpp -lc -fPIC

PHP:
In file included from error_code.cpp:25:
/usr/local/include/boost/system/config.hpp:13:28: error: boost/config.hpp: No such file or directory
In file included from error_code.cpp:26:
/usr/local/include/boost/system/error_code.hpp:15:29: error: boost/cstdint.hpp: No such file or directory
/usr/local/include/boost/system/error_code.hpp:16:28: error: boost/assert.hpp: No such file or directory
/usr/local/include/boost/system/error_code.hpp:17:31: error: boost/operators.hpp: No such file or directory
/usr/local/include/boost/system/error_code.hpp:18:33: error: boost/noncopyable.hpp: No such file or directory
/usr/local/include/boost/system/error_code.hpp:19:39: error: boost/utility/enable_if.hpp: No such file or directory
/usr/local/include/boost/system/error_code.hpp:32:68: error: boost/config/abi_prefix.hpp: No such file or directory
/usr/local/include/boost/system/error_code.hpp:684:70: error: boost/config/abi_suffix.hpp: No such file or directory
In file included from error_code.cpp:26:
/usr/local/include/boost/system/error_code.hpp:149: error: expected class-name before '{' token
/usr/local/include/boost/system/error_code.hpp:192: error: 'enable_if' in namespace 'boost' does not name a type
/usr/local/include/boost/system/error_code.hpp:192: error: expected ',' or '...' before '<' token
/usr/local/include/boost/system/error_code.hpp:206: error: 'enable_if' in namespace 'boost' does not name a type
/usr/local/include/boost/system/error_code.hpp:206: error: expected unqualified-id before '<' token
/usr/local/include/boost/system/error_code.hpp:279: error: 'enable_if' in namespace 'boost' does not name a type
/usr/local/include/boost/system/error_code.hpp:279: error: expected ',' or '...' before '<' token
/usr/local/include/boost/system/error_code.hpp:292: error: 'enable_if' in namespace 'boost' does not name a type
/usr/local/include/boost/system/error_code.hpp:292: error: expected unqualified-id before '<' token
 
im not sure about linux but you dont have boost folder. You have to go to help --> about --> check for updates --> select dev pack server "dev-packs.org" and search for a boost update.

This is for dev-cpp 4.9.9.2


or you can go here and add in your boost folder to where it is needed

Boost Version History

download the one you need.
 
ok, work. I have next ask. In the guide elf about tfs do using 'make' (in the folder with tfs file) receive such a message
make: *** No targets specified and no makefile found. Stop.
tried to use the files but to no avail
 
you need a file called Makefile in the current folder. or specify the name manually with param -f
~$ [HIGHLIGHT]make -f name_of_makefile[/HIGHLIGHT]
 
Code:
vz4737:~# apt-get install libboost1.34-all-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libboost1.34-all-dev
E: Couldn't find any package by regex 'libboost1.34-all-dev'
i have boost_1_34_1
 
Back
Top