error: ‘boost::this_thread’ has not been declared

Hello,

the error message in the title seems to mean that anything with boost is wrong while compiling in gserver v2. These messages I got while compiling/making:

Can you please help me to solve these problems?

Did you install boost?

http://forums.graal.in/forums/showthread.php?t=1373

I have already installed boost (the dev files). The problem is another I think but it goes in this direction.

This was my problem for the longest time.

Make sure your includes are also setup.

Okay I got it. Thank you.
It hasn’t installed correctly because there were unsolved dependencies in the apt system.

This also fixes this problem on ubuntu:

wget --no-check-certificate https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-date-time1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-date-time1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-filesystem1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-filesystem1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-graph1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-graph1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-iostreams1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-iostreams1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-program-options1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-program-options1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-python1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-python1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-regex1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-regex1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-serialization1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-serialization1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-signals1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-signals1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-system1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-system1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-test1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-test1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-thread1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-thread1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-wave1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost-wave1.35.0_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost1.35-dbg_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost1.35-dev_1.35.0-8ubuntu1_i386.deb https://launchpad.net/ubuntu/+source/boost1.35/1.35.0-8ubuntu1/+build/692718/+files/libboost1.35-doc_1.35.0-8ubuntu1_all.deb
sudo dpkg -i libboost*.deb
rm libboost*.deb

Already fucking fixed. This is almost 7 fucking months old.