COMMUNITY

Build.xml - linker

Hi

Where can I find tutorial/examples to add user32.lib to the build.xml file?

Thanks

Have you seen the build.xml docs? https://github.com/HaxeFoundation/hxcpp/tree/master/docs/build_xml

Yes, thanks.

But, I’m still getting link error.

I think I may have found a solution. I’m uploading the solution to the Haxe cookbook.

Did you end up uploading that solution @fhalo? I’m keen to have a look.

This might be of help: https://github.com/haxeui/hxWidgets/blob/master/Build.xml#L25-L46

Thanks @ianharrigan. I’m working through the process of building a native extension and I’m running into some issues, so seeking any pointers I can.

I wasn’t aware things like this could use wildcards ( * ), so that’s handy to know:
<lib name="${WXWIN}\lib\${lib_folder}\*.lib" />

1 Like