Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rainyt opened this issue Feb 27, 2023 · 4 comments
Closed

Comments

@rainyt
Copy link

rainyt commented Feb 27, 2023

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

@ncannasse
Copy link
Member

ncannasse commented Feb 27, 2023 via email

@rainyt
Copy link
Author

rainyt commented Feb 27, 2023

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

@rainyt
Copy link
Author

rainyt commented Feb 27, 2023

Add LibUv fixed.

@rainyt rainyt closed this as completed Feb 27, 2023
@tobil4sk
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants