Author Topic: Import library folder when creating a shared lib  (Read 4641 times)

Offline Xaviou

  • Regular
  • ***
  • Posts: 416
    • X@v's wxStuff
Import library folder when creating a shared lib
« on: June 12, 2013, 08:09:46 am »
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 : https://wxstuff.xaviou.fr/