News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Import library folder when creating a shared lib

Started by Xaviou, June 12, 2013, 08:09:46 AM

Previous topic - Next topic

Xaviou

Hi.

I don't know if this can be considered as a bug, but the folder for the "Import library" is not automatically created when building a Dynamic Lib.

How to reproduce :

  • Create a new "Shared Library" project
  • Open the "Project / Properties" dialog box
  • In the "Build Targets" tab, check the "Create Import Library" checkbox => it will enable the "Import Library Filename" testbox
  • In this textbox, replace "$(TARGET_OUTPUT_DIR)" by a path to a folder that does not already exists
  • Now, try to build the project : you'll get an error because the import library can't be created, due to the missing folder above.
  • If you manually create the missing folder, all is ok
  • If you make the same thing for the def file, ld simply crash

Regards
Xav'
My wxWidgets's stuff : [url="https://wxstuff.xaviou.fr/"]https://wxstuff.xaviou.fr/[/url]