Reputation: 255
I was compiling pyrosetta on the cluster(I have no root privilege),pyrosetta requires boost version 1.38,and i install boost 1.38 in my home dir.But the cluster have some version of boost installed in /usr/include/boost/, which is not compatible with pyrosetta code. Is there any way to shadow the system boost library and use my installed version?
Upvotes: 2
Views: 167
Reputation: 1085
Use the -isystem <dir>
preprocessor option. This shall achieve what you need.
Excerpt from the cpp manpage (which also applies to gcc)
-isystem dir
Search dir for header files, after all directories specified by -I
but before the standard system directories. Mark it as a system
directory, so that it gets the same special treatment as is applied
to the standard system directories.
Upvotes: -1