You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to test whether I could get a small sample program working across the Ammer targets I would need. I've been able to compile and run the code on Neko and Hashlink, but building the same Ammer library fails on C++ with the error message:
Link: Main
/usr/bin/ld: obj/linux64/9e7162b5_CoreExtern_ammer_adder.o: in function `ammer::externs::__CoreExtern_ammer_adder_obj_hx__ammer_core__62DBCB88_ammer_adder_3D5DF277(Dynamic const&, Dynamic const&)':
CoreExtern_ammer_adder.cpp:(.text+0x3b0): undefined reference to `add_numbers'
/usr/bin/ld: obj/linux64/9e7162b5_CoreExtern_ammer_adder.o: in function `_ammer_core__62DBCB88_ammer_adder_3D5DF277(int, int)':
CoreExtern_ammer_adder.cpp:(.text+0x5b5): undefined reference to `add_numbers'
/usr/bin/ld: obj/linux64/9e7162b5_CoreExtern_ammer_adder.o: in function `ammer::externs::CoreExtern_ammer_adder_obj::_hx__ammer_core__62DBCB88_ammer_adder_3D5DF277(int, int)':
CoreExtern_ammer_adder.cpp:(.text+0x6e5): undefined reference to `add_numbers'
collect2: error: ld returned 1 exit status
Error: Build failed
Please find attached the zip file AmmerAdderExample.zip with the minimal example I'm trying to compile. It is based on the old Adder POC sample, but it's possible that I have not updated everything correctly. Compiling the program follows the instructions of the original POC sample.
I'm using the master version of ammer (commit c5ce5b3) and the dev version of ammer-core (commit Aurel300/ammer-core@59ddd7b), as the current ammer-core master version did not work with ammer.
Various other program versions I'm using which might be relevant:
Haxe: 4.3.1
Hashlink: 1.13.0
HXCPP: 4.3.2
OS: Ubuntu Linux 20.04
The text was updated successfully, but these errors were encountered:
I'm trying to test whether I could get a small sample program working across the Ammer targets I would need. I've been able to compile and run the code on Neko and Hashlink, but building the same Ammer library fails on C++ with the error message:
Please find attached the zip file AmmerAdderExample.zip with the minimal example I'm trying to compile. It is based on the old Adder POC sample, but it's possible that I have not updated everything correctly. Compiling the program follows the instructions of the original POC sample.
I'm using the master version of ammer (commit c5ce5b3) and the dev version of ammer-core (commit Aurel300/ammer-core@59ddd7b), as the current ammer-core master version did not work with ammer.
Various other program versions I'm using which might be relevant:
The text was updated successfully, but these errors were encountered: