Illumina/interop

Install issue

bnouyou opened this issue · 2 comments

Hello,

I would like to install this tool on Linux CentOS and I have an issue at cmake --build .

Thisis the error message:

Scanning dependencies of target c_csharp_plot_swig_compilation
[ 39%] Swig compile /seqr/illumina_interop/interop/src/ext/swig/plot.i for csharp
/seqr/illumina_interop/interop/src/ext/swig/plot.i:80: Error: A deprecated csdestruct typemap was found for invalid_filter_option, please remove it and replace all csdestruct, csdestruct_derived and csfinalize typemaps by the csdispose, csdispose_derived, csdisposing and csdisposing_derived typemaps.
/seqr/illumina_interop/interop/src/ext/swig/plot.i:80: Error: A deprecated csfinalize typemap was found for invalid_filter_option, please remove it and replace all csdestruct, csdestruct_derived and csfinalize typemaps by the csdispose, csdispose_derived, csdisposing and csdisposing_derived typemaps.
gmake[2]: *** [src/ext/csharp/CMakeFiles/c_csharp_plot.dir/plotCSHARP.stamp] Error 2
gmake[2]: *** Deleting file `src/ext/csharp/CMakeFiles/c_csharp_plot.dir/plotCSHARP.stamp'
gmake[1]: *** [src/ext/csharp/CMakeFiles/c_csharp_plot_swig_compilation.dir/all] Error 2
gmake: *** [all] Error 2

Do you know how I can do ?

Thank you.

The error above is due to SWIG 4 being used. SWIG 4 made a breaking change with the C# wrapper.
We found a few bugs in SWIG 4 so we are waiting to upgrade.

Downgrade to SWIG 3 and everything will work.

We are supposed to have a check in CMake to detect this and print a meaningful error message. However, it looks like that check is not working properly.

Hello,
Thank you for you answer. I have downgraded it and I didn't get this error.

Actually, I found that I could install interop using Conda, so this was better for me.