I am no Windows expert but I remember that for some compilers we needed special symbol handling there. We use the macro GS_EXPORT_CLASS there which boils down to some __declspec(dllexport) declarations on classes. Not sure whether this would also be needed for a class that is only locally used.
Overall it would really be helpful if you provided more information about the versions of the different components you are using. That is, which version of Windows, version of clang and libobjc2. Where did you get the GNUstep libraries and how did you install these? Cheers, Fred > Am 18.07.2023 um 03:00 schrieb loserist <loser...@88.com>: > > Sure! The following is it: > > * thread #1, stop reason = Exception 0xc0000005 encountered at address > 0x7ffcec4e1048: Access violation reading locatio > n 0x00000000 > * frame #0: 0x00007ffcec4e1048 objc.dll`objc_msgSend + 40 > frame #1: 0x00007ff645cc1154 abc.exe > frame #2: 0x00007ff645cc142c abc.exe > frame #3: 0x00007ffcfb967614 kernel32.dll`BaseThreadInitThunk + 20 > frame #4: 0x00007ffcfc1826b1 ntdll.dll`RtlUserThreadStart + 33 > Thanks!