hael / SIMPLE

A new repository (with deleted history) in preparation for release 3.0 of SIMPLE
GNU General Public License v3.0
22 stars 8 forks source link

build 3.0.0: error at compile #16

Closed farhi closed 1 year ago

farhi commented 1 year ago

Hi, I'm trying to compile simple v3.0.0 on a Debian 11 system:

then I get the following error:

~/Downloads/SIMPLE-3.0.0/build$ make
[  0%] Built target simple_args
Creating simple_module
[  0%] Built target simple_modules
[ 71%] Built target SIMPLE3.0.0
[ 72%] Installing precompiled GUI ... 
[ 72%] Built target gui_unix
[ 72%] Linking CXX executable simple_test_phasecorr
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPSetupDecode » :
(.text+0x275) : référence indéfinie vers « WebPPictureFree »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPCleanup » :
(.text+0x33b) : référence indéfinie vers « WebPIDelete »
/usr/bin/ld : (.text+0x347) : référence indéfinie vers « WebPFreeDecBuffer »
/usr/bin/ld : (.text+0x3ad) : référence indéfinie vers « WebPPictureFree »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPPostEncode » :
(.text+0x501) : référence indéfinie vers « WebPPictureImportRGB »
/usr/bin/ld : (.text+0x51b) : référence indéfinie vers « WebPEncode »
/usr/bin/ld : (.text+0x581) : référence indéfinie vers « WebPPictureImportRGBA »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPSetupEncode » :
(.text+0x832) : référence indéfinie vers « WebPPictureInitInternal »
/usr/bin/ld : (.text+0x85c) : référence indéfinie vers « WebPConfigInitInternal »
/usr/bin/ld : (.text+0x880) : référence indéfinie vers « WebPValidateConfig »
/usr/bin/ld : (.text+0x8e0) : référence indéfinie vers « WebPIDelete »
/usr/bin/ld : (.text+0x8ec) : référence indéfinie vers « WebPFreeDecBuffer »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPDecode » :
(.text+0xa64) : référence indéfinie vers « WebPIAppend »
/usr/bin/ld : (.text+0xabc) : référence indéfinie vers « WebPIDecGetRGB »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPPreDecode » :
(.text+0xca1) : référence indéfinie vers « WebPIDelete »
/usr/bin/ld : (.text+0xca9) : référence indéfinie vers « WebPFreeDecBuffer »
/usr/bin/ld : (.text+0xccb) : référence indéfinie vers « WebPInitDecBufferInternal »
/usr/bin/ld : (.text+0xd14) : référence indéfinie vers « WebPINewDecoder »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPCleanup » :
(.text+0xf8) : référence indéfinie vers « libdeflate_free_decompressor »
/usr/bin/ld : (.text+0x109) : référence indéfinie vers « libdeflate_free_compressor »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPEncode » :
(.text+0x2fe) : référence indéfinie vers « libdeflate_zlib_compress_bound »
/usr/bin/ld : (.text+0x331) : référence indéfinie vers « libdeflate_zlib_compress »
/usr/bin/ld : (.text+0x3f4) : référence indéfinie vers « libdeflate_alloc_compressor »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPDecode » :
(.text+0x872) : référence indéfinie vers « libdeflate_zlib_decompress »
/usr/bin/ld : (.text+0x9d4) : référence indéfinie vers « libdeflate_alloc_decompressor »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPVSetField » :
(.text+0xc34) : référence indéfinie vers « libdeflate_free_compressor »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDCleanup » :
(.text+0xab) : référence indéfinie vers « ZSTD_freeDStream »
/usr/bin/ld : (.text+0xc9) : référence indéfinie vers « ZSTD_freeCStream »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDEncode » :
(.text+0x19a) : référence indéfinie vers « ZSTD_compressStream »
/usr/bin/ld : (.text+0x1a5) : référence indéfinie vers « ZSTD_isError »
/usr/bin/ld : (.text+0x22c) : référence indéfinie vers « ZSTD_getErrorName »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDPostEncode » :
(.text+0x2d0) : référence indéfinie vers « ZSTD_endStream »
/usr/bin/ld : (.text+0x2db) : référence indéfinie vers « ZSTD_isError »
/usr/bin/ld : (.text+0x33c) : référence indéfinie vers « ZSTD_getErrorName »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDPreEncode » :
(.text+0x3a3) : référence indéfinie vers « ZSTD_freeCStream »
/usr/bin/ld : (.text+0x3b3) : référence indéfinie vers « ZSTD_createCStream »
/usr/bin/ld : (.text+0x3cd) : référence indéfinie vers « ZSTD_initCStream »
/usr/bin/ld : (.text+0x3d8) : référence indéfinie vers « ZSTD_isError »
/usr/bin/ld : (.text+0x444) : référence indéfinie vers « ZSTD_getErrorName »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDDecode » :
(.text+0x54b) : référence indéfinie vers « ZSTD_decompressStream »
/usr/bin/ld : (.text+0x556) : référence indéfinie vers « ZSTD_isError »
/usr/bin/ld : (.text+0x565) : référence indéfinie vers « ZSTD_getErrorName »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDPreDecode » :
(.text+0x67d) : référence indéfinie vers « ZSTD_freeDStream »
/usr/bin/ld : (.text+0x68d) : référence indéfinie vers « ZSTD_createDStream »
/usr/bin/ld : (.text+0x6a1) : référence indéfinie vers « ZSTD_initDStream »
/usr/bin/ld : (.text+0x6ac) : référence indéfinie vers « ZSTD_isError »
/usr/bin/ld : (.text+0x6fc) : référence indéfinie vers « ZSTD_getErrorName »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDSetupEncode » :
(.text+0x788) : référence indéfinie vers « ZSTD_freeDStream »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDSetupDecode » :
(.text+0x808) : référence indéfinie vers « ZSTD_freeCStream »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDVSetField » :
(.text+0x89f) : référence indéfinie vers « ZSTD_maxCLevel »
/usr/bin/ld : (.text+0x8a8) : référence indéfinie vers « ZSTD_maxCLevel »
collect2: error: ld returned 1 exit status
make[2]: *** [bin/CMakeFiles/simple_test_phasecorr.dir/build.make:120 : bin/simple_test_phasecorr] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:567 : bin/CMakeFiles/simple_test_phasecorr.dir/all] Erreur 2
make: *** [Makefile:160 : all] Erreur 2

It seems that some are missing at the link stage.

I also tried with version 3.0.1 (best with EER support !), but I get similar errors:

~/Downloads/SIMPLE-3.0.1/build$ make
[  0%] Built target simple_args
Creating simple_module
[  0%] Built target simple_modules
[ 72%] Built target SIMPLE3.0.0
[ 72%] Installing precompiled GUI ... 
[ 72%] Built target gui_unix
[ 72%] Built target simple_test_tseries_neigh
[ 72%] Linking CXX executable simple_test_sp_project
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPCleanup » :
(.text+0xf8) : référence indéfinie vers « libdeflate_free_decompressor »
/usr/bin/ld : (.text+0x109) : référence indéfinie vers « libdeflate_free_compressor »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPEncode » :
(.text+0x2fe) : référence indéfinie vers « libdeflate_zlib_compress_bound »
/usr/bin/ld : (.text+0x331) : référence indéfinie vers « libdeflate_zlib_compress »
/usr/bin/ld : (.text+0x3f4) : référence indéfinie vers « libdeflate_alloc_compressor »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPDecode » :
(.text+0x872) : référence indéfinie vers « libdeflate_zlib_decompress »
/usr/bin/ld : (.text+0x9d4) : référence indéfinie vers « libdeflate_alloc_decompressor »
/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPVSetField » :
(.text+0xc34) : référence indéfinie vers « libdeflate_free_compressor »
collect2: error: ld returned 1 exit status
make[2]: *** [bin/CMakeFiles/simple_test_sp_project.dir/build.make:124 : bin/simple_test_sp_project] Erreur 1
make[1]: *** [CMakeFiles/Makefile2:592 : bin/CMakeFiles/simple_test_sp_project.dir/all] Erreur 2
make: *** [Makefile:160 : all] Erreur 2

Can you help me with the compilation ? I can not find where to add something linke -ldeflate for all compilations. Thanks, Emmanuel.

hael commented 1 year ago

Check that your compiler and libtiff versions conform to the requirements specified

From: "Emmanuel FARHI" @.**@.>> Date: Thursday, January 26, 2023 at 05:14:25 To: "hael/SIMPLE" @.**@.>> Cc: "Subscribed" @.**@.>> Subject: [EXTERNE] [hael/SIMPLE] build 3.0.0: error at compile (Issue #16)

Hi, I'm trying to compile simple v3.0.0 on a Debian 11 system:

then I get the following error:

~/Downloads/SIMPLE-3.0.0/build$ make

[ 0%] Built target simple_args

Creating simple_module

[ 0%] Built target simple_modules

[ 71%] Built target SIMPLE3.0.0

[ 72%] Installing precompiled GUI ...

[ 72%] Built target gui_unix

[ 72%] Linking CXX executable simple_test_phasecorr

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPSetupDecode » :

(.text+0x275) : référence indéfinie vers « WebPPictureFree »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPCleanup » :

(.text+0x33b) : référence indéfinie vers « WebPIDelete »

/usr/bin/ld : (.text+0x347) : référence indéfinie vers « WebPFreeDecBuffer »

/usr/bin/ld : (.text+0x3ad) : référence indéfinie vers « WebPPictureFree »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPPostEncode » :

(.text+0x501) : référence indéfinie vers « WebPPictureImportRGB »

/usr/bin/ld : (.text+0x51b) : référence indéfinie vers « WebPEncode »

/usr/bin/ld : (.text+0x581) : référence indéfinie vers « WebPPictureImportRGBA »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPSetupEncode » :

(.text+0x832) : référence indéfinie vers « WebPPictureInitInternal »

/usr/bin/ld : (.text+0x85c) : référence indéfinie vers « WebPConfigInitInternal »

/usr/bin/ld : (.text+0x880) : référence indéfinie vers « WebPValidateConfig »

/usr/bin/ld : (.text+0x8e0) : référence indéfinie vers « WebPIDelete »

/usr/bin/ld : (.text+0x8ec) : référence indéfinie vers « WebPFreeDecBuffer »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPDecode » :

(.text+0xa64) : référence indéfinie vers « WebPIAppend »

/usr/bin/ld : (.text+0xabc) : référence indéfinie vers « WebPIDecGetRGB »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_webp.o) : dans la fonction « TWebPPreDecode » :

(.text+0xca1) : référence indéfinie vers « WebPIDelete »

/usr/bin/ld : (.text+0xca9) : référence indéfinie vers « WebPFreeDecBuffer »

/usr/bin/ld : (.text+0xccb) : référence indéfinie vers « WebPInitDecBufferInternal »

/usr/bin/ld : (.text+0xd14) : référence indéfinie vers « WebPINewDecoder »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPCleanup » :

(.text+0xf8) : référence indéfinie vers « libdeflate_free_decompressor »

/usr/bin/ld : (.text+0x109) : référence indéfinie vers « libdeflate_free_compressor »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPEncode » :

(.text+0x2fe) : référence indéfinie vers « libdeflate_zlib_compress_bound »

/usr/bin/ld : (.text+0x331) : référence indéfinie vers « libdeflate_zlib_compress »

/usr/bin/ld : (.text+0x3f4) : référence indéfinie vers « libdeflate_alloc_compressor »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPDecode » :

(.text+0x872) : référence indéfinie vers « libdeflate_zlib_decompress »

/usr/bin/ld : (.text+0x9d4) : référence indéfinie vers « libdeflate_alloc_decompressor »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPVSetField » :

(.text+0xc34) : référence indéfinie vers « libdeflate_free_compressor »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDCleanup » :

(.text+0xab) : référence indéfinie vers « ZSTD_freeDStream »

/usr/bin/ld : (.text+0xc9) : référence indéfinie vers « ZSTD_freeCStream »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDEncode » :

(.text+0x19a) : référence indéfinie vers « ZSTD_compressStream »

/usr/bin/ld : (.text+0x1a5) : référence indéfinie vers « ZSTD_isError »

/usr/bin/ld : (.text+0x22c) : référence indéfinie vers « ZSTD_getErrorName »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDPostEncode » :

(.text+0x2d0) : référence indéfinie vers « ZSTD_endStream »

/usr/bin/ld : (.text+0x2db) : référence indéfinie vers « ZSTD_isError »

/usr/bin/ld : (.text+0x33c) : référence indéfinie vers « ZSTD_getErrorName »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDPreEncode » :

(.text+0x3a3) : référence indéfinie vers « ZSTD_freeCStream »

/usr/bin/ld : (.text+0x3b3) : référence indéfinie vers « ZSTD_createCStream »

/usr/bin/ld : (.text+0x3cd) : référence indéfinie vers « ZSTD_initCStream »

/usr/bin/ld : (.text+0x3d8) : référence indéfinie vers « ZSTD_isError »

/usr/bin/ld : (.text+0x444) : référence indéfinie vers « ZSTD_getErrorName »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDDecode » :

(.text+0x54b) : référence indéfinie vers « ZSTD_decompressStream »

/usr/bin/ld : (.text+0x556) : référence indéfinie vers « ZSTD_isError »

/usr/bin/ld : (.text+0x565) : référence indéfinie vers « ZSTD_getErrorName »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDPreDecode » :

(.text+0x67d) : référence indéfinie vers « ZSTD_freeDStream »

/usr/bin/ld : (.text+0x68d) : référence indéfinie vers « ZSTD_createDStream »

/usr/bin/ld : (.text+0x6a1) : référence indéfinie vers « ZSTD_initDStream »

/usr/bin/ld : (.text+0x6ac) : référence indéfinie vers « ZSTD_isError »

/usr/bin/ld : (.text+0x6fc) : référence indéfinie vers « ZSTD_getErrorName »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDSetupEncode » :

(.text+0x788) : référence indéfinie vers « ZSTD_freeDStream »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDSetupDecode » :

(.text+0x808) : référence indéfinie vers « ZSTD_freeCStream »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zstd.o) : dans la fonction « ZSTDVSetField » :

(.text+0x89f) : référence indéfinie vers « ZSTD_maxCLevel »

/usr/bin/ld : (.text+0x8a8) : référence indéfinie vers « ZSTD_maxCLevel »

collect2: error: ld returned 1 exit status

make[2]: *** [bin/CMakeFiles/simple_test_phasecorr.dir/build.make:120 : bin/simple_test_phasecorr] Erreur 1

make[1]: *** [CMakeFiles/Makefile2:567 : bin/CMakeFiles/simple_test_phasecorr.dir/all] Erreur 2

make: *** [Makefile:160 : all] Erreur 2

It seems that some are missing at the link stage.

I also tried with version 3.0.1 (best with EER support !), but I get similar errors:

~/Downloads/SIMPLE-3.0.1/build$ make

[ 0%] Built target simple_args

Creating simple_module

[ 0%] Built target simple_modules

[ 72%] Built target SIMPLE3.0.0

[ 72%] Installing precompiled GUI ...

[ 72%] Built target gui_unix

[ 72%] Built target simple_test_tseries_neigh

[ 72%] Linking CXX executable simple_test_sp_project

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPCleanup » :

(.text+0xf8) : référence indéfinie vers « libdeflate_free_decompressor »

/usr/bin/ld : (.text+0x109) : référence indéfinie vers « libdeflate_free_compressor »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPEncode » :

(.text+0x2fe) : référence indéfinie vers « libdeflate_zlib_compress_bound »

/usr/bin/ld : (.text+0x331) : référence indéfinie vers « libdeflate_zlib_compress »

/usr/bin/ld : (.text+0x3f4) : référence indéfinie vers « libdeflate_alloc_compressor »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPDecode » :

(.text+0x872) : référence indéfinie vers « libdeflate_zlib_decompress »

/usr/bin/ld : (.text+0x9d4) : référence indéfinie vers « libdeflate_alloc_decompressor »

/usr/bin/ld : /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libtiff.a(tif_zip.o) : dans la fonction « ZIPVSetField » :

(.text+0xc34) : référence indéfinie vers « libdeflate_free_compressor »

collect2: error: ld returned 1 exit status

make[2]: *** [bin/CMakeFiles/simple_test_sp_project.dir/build.make:124 : bin/simple_test_sp_project] Erreur 1

make[1]: *** [CMakeFiles/Makefile2:592 : bin/CMakeFiles/simple_test_sp_project.dir/all] Erreur 2

make: *** [Makefile:160 : all] Erreur 2

Can you help me with the compilation ? I can not find where to add something linke -ldeflate for all compilations. Thanks, Emmanuel.

— Reply to this email directly, view it on GitHubhttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhael%2FSIMPLE%2Fissues%2F16&data=05%7C01%7Chans.elmlund%40nih.gov%7C06ca5cb7709d4416232b08daff861690%7C14b77578977342d58507251ca2dc2b06%7C0%7C0%7C638103248648158878%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=811A9IThLRLO0o9AS80g9iA37XG2XesehQh7D%2BGJ3sM%3D&reserved=0, or unsubscribehttps://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAJENUSFECBCVMC5UOLZT5DWUJE7TANCNFSM6AAAAAAUHKF5FY&data=05%7C01%7Chans.elmlund%40nih.gov%7C06ca5cb7709d4416232b08daff861690%7C14b77578977342d58507251ca2dc2b06%7C0%7C0%7C638103248648158878%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wg4IUztDbJ%2F0L2hEl83FcK5kfn8dems67jMa%2FN8Nyuw%3D&reserved=0. You are receiving this because you are subscribed to this thread.Message ID: @.***>

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and are confident the content is safe.

farhi commented 1 year ago

I have the following versions:

I do not see what could be wrong here.

It seems this is better from the git repo.

farhi commented 1 year ago

I confirm all works with a build from the git repo. However, a fix must be made for the octave/matlab wrapper, following

e.g. edit file /opt/MATLAB/R2012b/extern/include/tmwtypes.h at line 818-820, to show:

#if defined(__STDC_UTF_16__) || (defined(_HAS_CHAR16_T_LANGUAGE_SUPPORT) && _HAS_CHAR16_T_LANGUAGE_SUPPORT)
typedef UINT16_T CHAR16_T;
// typedef char16_t CHAR16_T;
#elif defined(_MSC_VER)
typedef wchar_t CHAR16_T;
#else
typedef UINT16_T CHAR16_T;
#endif