Installed c++ libraries and header removed from search paths

by wychmaster   Last Updated October 10, 2019 02:02 AM - source

I recently upgraded to Ubuntu 19.04. However, somehow I messed something up today and I don't know how to fix it.

If I want to build a c++ program, all headers that are located in a subfolder inside of usr/include can't be included anymore without explicitly naming the subfolder. So instead of writing #include <petsc.h> I now have to write #include <petsc/petsc.h>. The problem is, that the included header in the example includes other headers without adding the subfolder. A lot of other includes seem to be affected too (mpi for example). Also, my cmake script doesn't find boost anymore. So I guess I seriously destroyed the standard search paths of my system. Is there any way to fix this or should I reinstall ubuntu?

Related Questions

I cannot install Sleepyhead

Updated March 28, 2015 14:00 PM

How do I build the Ubuntu installation media?

Updated April 11, 2015 23:00 PM

Compile node.js

Updated April 14, 2015 22:01 PM

Error in statically linking libSDL

Updated April 21, 2015 03:00 AM