User forums > General (but related to Code::Blocks)
Import library folder when creating a shared lib
(1/1)
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'
Navigation
[0] Message Index
Go to full version