Ubuntu: Targetting Boost 32-bit While on 64-bit ubuntu?


Well i have libboost-all-dev installed, but i am trying to compile for 32-bit. I can't install libboost-all-dev:i386 either.

g++ -lboost_filesystem main.cpp  g++ -m32 -lboost_filesystem main.cpp  

The second command throws an error, that boost_filesystem can't be found, but the first one compiles fine. Is there any way around this, or do i have to manually build boost?

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »