cia-exe / kotlinCallDotNet

Test Kotlin Native exe Interop with libcurl and C# DotNet dll in Windows. (need to change some paths in prj. please refer to readme)
2 stars 1 forks source link

Cannot compile when I link the native lib on Mac OS machine #1

Open nguyentuonglong opened 2 years ago

nguyentuonglong commented 2 years ago

When I tried to replace absolutely path in NativeLib.def then the app cannot compile this LOC "NativeLib.Test()" in main Really appreciate your help!

cia-exe commented 8 months ago

Sorry for seeing your question so late. This project operates on Windows, and NativeLib is designed to build a Windows DLL file. It shouldn't be able to compile directly on Linux/Mac and build a .so file.