Leon Anavi
IT Tips && Tricks


Created: 18.08.2009 12:29 Last Modified: 18.08.2009 17:25 Views: 9390
Keywords: Boost, Fedora, g++, gcc, Linux, troubleshooting

Troubleshooting Boost C++ Libraries and g++ under Linux

Problem: Unable to compile C++ files


An error occurs when C++ files are compiled.
gcc: error trying to exec 'cc1plus': execvp: No such file or directory


To fix the problem log as root user and install gcc-c++. Fedora users can do it by executing the following command:
yum install gcc-c++

Problem: Using Boost Libraries


Unable to locate and use Boost files.
error: boost/shared_ptr.hpp: No such file or directory
error: ‘boost’ has not been declared


Log as root and install Boost libraries.
yum install boost*

  Home | About | Contact | Disclaimer | Sitemap 2009-2022 Leon Anavi. All rights reserved.