|Re: [hatari-devel] Compiling Hatari under Cygwin|
[ Thread Index |
| More lists.tuxfamily.org/hatari-devel Archives
Le 10/01/2022 à 00:04, Cyprian Konador a écrit :
I've just tried to compile Hatari under Cygwin.
According to the manual I run "cmake ..", but it shows me an error
message. Below is a part of "CMakeError.log":
reference to `__asan_init'
reference to `__asan_version_mismatch_check_v8'
collect2: error: ld returned 1 exit status
make: *** [CMakeFiles/cmTC_4dfba.dir/build.make:99: cmTC_4dfba.exe]
I guess it is due to the lack of AddressSanitizer, which doesn't seem to
be present under my Cygwin.I wonder if this is needed. Maybe I can
somehow skip AddressSanitizer test?
according to CMakeLists.txt, libasan is only used if detected by this :
I can't tell why your cygwin is failing at this, but you can try to try
to force :
unset(ENABLE_ASAN 1) after these lines, this way it should not use the
ASAN part later in the cmake file.