Reported by Jakub Zawierucha at firstname.lastname@example.org:
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 ?
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
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
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.
Any issues left?
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:
verified in patch2