HaxeFoundation/hashlink

Update Heaps to 1.10.0, Some problems occurred when compiling Android.

rainyt opened this issue · 4 comments

CMakeFiles/heapsapp.dir/out/main.c.o:main.c:hl_functions_ptrs: error: undefined reference to 'uv_close_handle'
  CMakeFiles/heapsapp.dir/out/main.c.o:main.c:hl_functions_ptrs: error: undefined reference to 'uv_fs_start_wrap'
  CMakeFiles/heapsapp.dir/out/main.c.o:main.c:hl_functions_ptrs: error: undefined reference to 'uv_run'
  CMakeFiles/heapsapp.dir/out/main.c.o:main.c:hl_functions_ptrs: error: undefined reference to 'uv_default_loop'
  CMakeFiles/heapsapp.dir/out/main.c.o:main.c:hl_functions_ptrs: error: undefined reference to 'sdl_get_desktop_display_mode'

Try to delete all, reconstruct, and the same error occurs. I can't find the relevant method source.
Use Haxe4.3.0

You need to update to latest hash link. Le lun. 27 févr. 2023 à 01:58, Rainy @.> a écrit :

CMakeFiles/heapsapp.dir/out/main.c.o:main.c:hl_functions_ptrs: error: undefined reference to 'uv_close_handle' CMakeFiles/heapsapp.dir/out/main.c.o:main.c:hl_functions_ptrs: error: undefined reference to 'uv_fs_start_wrap' CMakeFiles/heapsapp.dir/out/main.c.o:main.c:hl_functions_ptrs: error: undefined reference to 'uv_run' CMakeFiles/heapsapp.dir/out/main.c.o:main.c:hl_functions_ptrs: error: undefined reference to 'uv_default_loop' CMakeFiles/heapsapp.dir/out/main.c.o:main.c:hl_functions_ptrs: error: undefined reference to 'sdl_get_desktop_display_mode' Try to delete all, reconstruct, and the same error occurs. I can't find the relevant method source. Use Haxe4.3.0 — Reply to this email directly, view it on GitHub <#585>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHZXQA2PPCRPISEP3GHH5DWZP33XANCNFSM6AAAAAAVIZCJ7I . You are receiving this because you are subscribed to this thread.Message ID: @.
>

Hi, I updated Hashlist last. libuv is not in CMakeLists.txt compile. I may need to find a way to add some configurations to the CMakeLists.txt file.

CMakeLists.txt : https://github.com/HeapsIO/heaps-android/blob/master/CMakeLists.txt

Add LibUv fixed.

SDL error was due to outdated hlsdl library. Libuv errors were due to missing uv.hdll: HeapsIO/heaps-android#3