The -L option is to specify library folders, not the libraries themselves. If the library name is of the form libXXX.a and is in a path specified by a -L option, you can link it with -lXXX (lowercase-L). Otherwise you can simply specify the library path fully with no switch (note you can do this by clicking the "Add library for object file button in the project options dialog).
So even if the library is of the right format, you never actually succeeded in linking it correctly in any case - try that first. In this case "-lstaticMusicXML".
I can find no reference to staticMusicXML.lib on Recordare's web site, which seems to have only standard's documentation, not any actual library; post a link so we can see what you are working with.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The -L option is to specify library folders, not the libraries themselves. If the library name is of the form libXXX.a and is in a path specified by a -L option, you can link it with -lXXX (lowercase-L). Otherwise you can simply specify the library path fully with no switch (note you can do this by clicking the "Add library for object file button in the project options dialog).
So even if the library is of the right format, you never actually succeeded in linking it correctly in any case - try that first. In this case "-lstaticMusicXML".
I can find no reference to staticMusicXML.lib on Recordare's web site, which seems to have only standard's documentation, not any actual library; post a link so we can see what you are working with.
Hm, Okay,
I'll bear that in mind.
Copy and pasted verbatim from my response to this thread: https://sourceforge.net/forum/forum.php?thread_id=1898466&forum_id=48211
Why!? Plagiarist! ;-)
Clifford