godotengine / godot-cpp

C++ bindings for the Godot script API
MIT License
1.71k stars 574 forks source link

Windows MinGW undefined reference when link #468

Closed sent44 closed 1 year ago

sent44 commented 3 years ago

I don't know if I can ask something unrelate to bug in this place. Also I almost become insane at this point so I don't want to write long post again so here How to compile native C++ using MinGW in/target Windows? (except I now use x86_64-w64-mingw32-gcc instant of gcc)

2shady4u commented 3 years ago

@sent44 I'm able to compile the bindings using gcc using the latest master branch.

image

could you check if this is still a problem? And if yes, what is the actual error message you get?

sent44 commented 3 years ago

is still a problem? And if yes, what is the actual error message you get?

I will try that after I finish exam. Sorry for late reply I just notice this notification.

sent44 commented 3 years ago

And I forgot again 😂

I reread your comment and found out that you mean compile binding, while my issue is link GDNative scripts to dll files. Compile binding is already pass (unless there is new bug recently).

Faless commented 1 year ago

Closing as fixed in 3.5 via godotengine/godot#62173 . Please leave a comment if you are still encountering this issue after updating godot-cpp to the latest 3.5 branch so we can reopen it in case.