Skip to content

Trouble compiling RUTH  #4

@ElizabethBlue

Description

@ElizabethBlue

Hi,

Our lab is having trouble installing RUTH, and have tried different gcc compilers and older versions of htslib. We're wondering if it is related to the recent updates to RUTH, but we don't have an older copy to try. I've put the command and error messages below, do you have any advice?

Thanks for your time,

Liz

compiling RUTH

git clone https://github.com/statgen/ruth.git
cd ruth
mkdir build
cd build
cmake -DHTS_INCLUDE_DIRS=/home/src/htslib/include/ -DHTS_LIBRARIES=/home/src/htslib/lib/libhts.a ..
make

error message:

[  4%] Building CXX object CMakeFiles/ruth.dir/Error.cpp.o
In file included from /acct/em27/programs/ruth/Error.cpp:18:0:
/acct/em27/programs/ruth/Error.h:36:14: error: variable or field ‘verbose’ declared void
 void verbose(int32_t priority, const char * msg, ...);
              ^
/acct/em27/programs/ruth/Error.h:36:14: error: ‘int32_t’ was not declared in this scope
/acct/em27/programs/ruth/Error.h:36:32: error: expected primary-expression before ‘const’
 void verbose(int32_t priority, const char * msg, ...);
                                ^
/acct/em27/programs/ruth/Error.h:36:50: error: expected primary-expression before ‘...’ token
 void verbose(int32_t priority, const char * msg, ...);
                                                  ^
/acct/em27/programs/ruth/Error.h:39:8: error: ‘int32_t’ does not name a type
 extern int32_t globalVerbosityThreshold;
        ^
make[2]: *** [CMakeFiles/ruth.dir/Error.cpp.o] Error 1
make[1]: *** [CMakeFiles/ruth.dir/all] Error 2
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions