Augustus icon indicating copy to clipboard operation
Augustus copied to clipboard

Boost lib - different location

Open euduca opened this issue 4 years ago • 2 comments

Hi.

How can I configure Augustus to seek the Boost libs in a different location?

cd utrrnaseq/Debug; make all;
make[2]: Entrando no diretório `/usr/local/augustus/3.3.2/gcc-9.1.0/auxprogs/utrrnaseq/Debug'
Building file: ../src/Compute_UTRs.cpp
Invoking: GCC C++ Compiler
g++ -I/usr/include/boost -O0 -g3 -pedantic -Wall -c -fmessage-length=0 -MMD -MP -MF"src/Compute_UTRs.d" -MT"src/Compute_UTRs.o" -o "src/Compute_UTRs.o" "../src/Compute_UTRs.cpp"
In file included from ../src/Compute_UTRs.cpp:8:
../src/Compute_UTRs.hpp:16:10: fatal error: boost/tuple/tuple.hpp: Arquivo ou diretório não encontrado
   16 | #include <boost/tuple/tuple.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.


Best regards.

euduca avatar Jul 05 '19 14:07 euduca

This worked for me:

diff auxprogs/utrrnaseq/Debug/src/subdir.mk auxprogs/utrrnaseq/Debug/src/subdir.mk.dist
41c41
<       g++ -I/usr/include/boost169 -O0 -g3 -pedantic -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"
---
>       g++ -I/usr/include/boost -O0 -g3 -pedantic -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<"

mathog avatar Sep 20 '19 17:09 mathog

All INCLUDES and LIBRARY paths can be set in commons.mk. Please see the boost section in docs/INSTALL.md Probably you have to set INCLUDE_PATH_BOOST (and LIBRARY_PATH_BOOST) to the correct paths in commons.mk.

hmehlan avatar Sep 10 '21 08:09 hmehlan