[xsde-users] Re: [xsd-users] xsde hello example: undefined references

Boris Kolpackov boris at codesynthesis.com
Wed May 26 11:59:24 EDT 2010


Hi Theo,

Theo de Vries <t.j.a.devries at gmail.com> writes:

> Your feedback is very helpful (as usual), I never knew that libs
> should follow after object files!

XSD/e runtime is a static library (archive). For static libraries the
linker only links in object files from the archive that are needed
by the resulting executable. As a result, the object files need to
come first.

> For reference, I have attached a renewed hello example with a
> corrected CMakeLists.txt; this one actually compiles and runs.

Thanks! I have uploaded it to the Wiki:

http://wiki.codesynthesis.com/Using_XSDE_with_CMake

Boris



More information about the xsde-users mailing list