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

Sample link error on OSX, symbols are prefixed #195

Open
piiertho opened this issue Jul 28, 2020 · 3 comments
Open

Sample link error on OSX, symbols are prefixed #195

piiertho opened this issue Jul 28, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@piiertho
Copy link
Member

piiertho commented Jul 28, 2020

Version:
Godot 3.2.2

OS/device including version:
OSX 10.15.5

Issue description:
Link error is encountered for OSX x64.

  "_godot_color_set_r", referenced from:
      _godot_gdnative_godot_color_set_r_wrapper3 in libgodot-library-cinterop-gdnative-cache.a(result.o)
     (maybe you meant: knifunptr_godot_gdnative3_godot_color_set_r, _godot_gdnative_godot_color_set_r_wrapper3 )
  "_godot_string_to_int64", referenced from:
      _godot_gdnative_godot_string_to_int64_wrapper691 in libgodot-library-cinterop-gdnative-cache.a(result.o)
     (maybe you meant: knifunptr_godot_gdnative691_godot_string_to_int64, _godot_gdnative_godot_string_to_int64_wrapper691 )
  "_godot_string_char_uppercase", referenced from:
      _godot_gdnative_godot_string_char_uppercase_wrapper708 in libgodot-library-cinterop-gdnative-cache.a(result.o)
     (maybe you meant: knifunptr_godot_gdnative708_godot_string_char_uppercase, _godot_gdnative_godot_string_char_uppercase_wrapper708 )
  "_godot_pool_string_array_invert", referenced from:
      _godot_gdnative_godot_pool_string_array_invert_wrapper232 in libgodot-library-cinterop-gdnative-cache.a(result.o)
     (maybe you meant: knifunptr_godot_gdnative232_godot_pool_string_array_invert, _godot_gdnative_godot_pool_string_array_invert_wrapper232 )
  "_godot_quat_new_with_euler", referenced from:
      _godot_gdnative_godot_quat_new_with_euler_wrapper73 in libgodot-library-cinterop-gdnative-cache.a(result.o)
     (maybe you meant: knifunptr_godot_gdnative73_godot_quat_new_with_euler, _godot_gdnative_godot_quat_new_with_euler_wrapper73 )
ld: symbol(s) not found for architecture x86_64

This error does not happen on the linux link, even on macbook.

Steps to reproduce:
Build bindings locally from master-merge.
Try to build sample project. On my side it fails on OSX link.

Minimal reproduction project:
Sample project.

@piiertho piiertho added the bug Something isn't working label Jul 28, 2020
@piiertho piiertho mentioned this issue Jul 29, 2020
13 tasks
@chippmann
Copy link
Contributor

@piiertho Is this still relevant? If i read the discussions on discord correctly, with a fix in a PR from @raniejade it's working now?

@raniejade
Copy link
Contributor

@chippmann probably, I'll try building on my mac tomorrow.

@raniejade
Copy link
Contributor

I just tested it out, apparently this a problem KN's adding kotlin.native.cacheKind=none to the sample's gradle.properties file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants