This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Reported by Jakub Zawierucha at users@cnd.netbeans.org: Hello, I have issue with dynamic library build. I use MinGW and NetBeans 6.5 RC2. Every time when my project is updated NetBeans add new build targets for .lib files whitch are invalid and cause 'make' complains. Problem is illustrated by screenshot. Did i something wrong with my project or this is a bug ? C:\MinGW\MSYS\bin>make --version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i686-pc-msys
Created attachment 73820 [details] Screenshot explaining the problem
NetBeans adds those targets to tell 'make' to relink the DLL whenever one of the listed *.lib or *.a files change. It is expected behavior. However there seems to be a problem with how the absolute paths to *.lib files are written. The error message from 'make' suggests that it does not understand "C\:\MinGW\lib\boost_filesystem-mgw34-mt-1_37.lib" as path to existing file. The path should be written in some other form. Could you please, instead of deleting these rules in Makefile, change them a bit and see if 'make' understands them? The options to try are: - replace "C\:\MinGW\..." with "C:\MinGW\..." (with backslashes as path separators) - replace "C\:\MinGW\..." with "C:/MinGW/..." (with forward slashes as path separators)
I've tryed both options that you suggested and both are working for me. DLL is builed with success. JZ
Any issues left?
seems fixed
Thomas, issue is not fixed. I don't think that hand-editing the Makefile every time is a fix. I can take care of this, as I already own somewhat related issue 150099.
Fixed in http://hg.netbeans.org/main/rev/0b947aac9fa9 Paths are now converted to "/drive-letter/dir1/dir2/..." form.
*** Issue 154878 has been marked as a duplicate of this issue. ***
verified in build 200812150201 Absolute paths are now converted to "/drive-letter/dir1/dir2/..." form.
It would be nice to have the fix in NB 6.5 patch
Cumulative backport of fix of IZ 150099, 153308 in release65_fixes branch: http://hg.netbeans.org/release65_fixes/rev/3870929f513a
verified in patch2