kowallus / PgRC

PgRC: Pseudogenome based Read Compressor
GNU General Public License v3.0
10 stars 2 forks source link

Build Error #7

Closed Nirmal2310 closed 2 years ago

Nirmal2310 commented 2 years ago

Hey,

I am trying to build PgRC on servers I am getting build errors. I am using cmake version 3.19.7 and gcc version 9.3.0. issue Thank you for looking into this matter and please let me know if you need any additional information.

kowallus commented 2 years ago

I would recommend cleaning up all gcc installations and fresh install. Folders like /usr/include/c++/4.8.2 indicate that your 9.3.0 gcc uses includes (e.g. header files) from the version 4.8.2. I suppose you have also /usr/include/c++/9 folder, but it has a lower priority.

Nirmal2310 commented 2 years ago

Thank you for responding so quickly, I am setting this tool on a cluster in which the gcc 9.3.0 can be avail only using module load command. So, I can't upgrade the system gcc version as I have no root access. Can you suggest some alternate way to deal with this problem. Thank you so much.

kowallus commented 2 years ago

Maybe you can compile PgRC on a different machine and copy the binary to the cluster?

Nirmal2310 commented 2 years ago

Ok, I will try that and get back to you. Thank you so much for helping me out.

Nirmal2310 commented 2 years ago

It worked for me, thank you so much for your help.