lipan6461188 / icSHAPE-pipe

Pipeline to calculate icSHAPE score in genome with sliding window strategy
9 stars 7 forks source link

cannot build PsBL #1

Open algaebrown opened 3 years ago

algaebrown commented 3 years ago

Hi! Li Pan, I tried to build PsBL according to the steps in readme. I am working in a linux system. Initially call_interaction.cpp cannot find htslib/bgzf.h despite htslib is in my $PATH. I solved this by copying the htslib folder to PsBL/src. But then, I still encounter this issue:

g++ call_interaction.cpp -O3 -std=c++0x -Wall -D NDEBUG -pthread -pipe -D NO_QT -I../src  -L../src -lPsBL -lhts  -o call_interaction                                          
call_interaction.cpp: In function 'Param read_param(int, char**)':                                                                                                            
call_interaction.cpp:102:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]                                                                  for(size_t i=1; i<argc; i++)                                                                                                                                                                    ^                                                                                                                                                      
../src/libPsBL.a: error adding symbols: Archive has no index; run ranlib to add one                                                                                           
collect2: error: ld returned 1 exit status                                                                                                                                    
make[1]: *** [call_interaction] Error 1                                                                                                                                       
make[1]: Leaving directory `/home/hsher/icSHAPE-pipe/PsBL/Bin_Src'                                                                                                            
make: *** [primary] Error 2

Please help. Thanks

Charlene

ledwmp commented 2 years ago

Same issue. Any luck finding a quick fix?