digitalmars.D.bugs - [Issue 2857] New: False Warning about not found lib
- d-bugmail puremagic.com (60/60) Apr 19 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2857
- d-bugmail puremagic.com (16/16) Mar 11 2013 http://d.puremagic.com/issues/show_bug.cgi?id=2857
http://d.puremagic.com/issues/show_bug.cgi?id=2857 Summary: False Warning about not found lib Product: D Version: 1.042 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Optlink AssignedTo: bugzilla digitalmars.com ReportedBy: benoit tionex.de When linking dwt snippets, i get this message: OPTLINK (R) for Win32 Release 8.00.1 Copyright (C) Digital Mars 1989-2004 All rights reserved. org.eclipse.swt.win32.win32.x86 Warning 2: File Not Found org.eclipse.swt.win32.win32.x86 However the example code links and work. I link a lot of libs, my response file looks like this: -IC:\Project\dwtinst\dwt-rcp\org.eclipse.jface.examples.databinding\src -IC:\Project\dwtinst\dwt-rcp\imp -JC:\Project\dwtinst\dwt-rcp\org.eclipse.jface.examples.databinding\res -JC:\Project\dwtinst\dwt-rcp\res -op -odC:\Project\dwtinst\dwt-rcp\obj -ofC:\Project\dwtinst\dwt-rcp\bin\BindSnippet004DataBindingContextErrorLabel.exe org\eclipse\jface\examples\databinding\snippets\Snippet004DataBindingContextErrorLabel.d -L/NOM -L+advapi32.lib -L+comctl32.lib -L+comdlg32.lib -L+gdi32.lib -L+kernel32.lib -L+shell32.lib -L+ole32.lib -L+oleaut32.lib -L+olepro32.lib -L+oleacc.lib -L+user32.lib -L+usp10.lib -L+msimg32.lib -L+opengl32.lib -L+shlwapi.lib -L+zlib.lib -L+dwt-base.lib -L+org.eclipse.swt.win32.win32.x86.lib -L+org.eclipse.osgi.osgi.lib -L+org.eclipse.osgi.supplement.lib -L+org.eclipse.equinox.common.lib -L+org.eclipse.core.runtime.lib -L+org.eclipse.core.commands.lib -L+org.eclipse.core.databinding.lib -L+org.eclipse.core.jobs.lib -L+org.eclipse.jface.lib -L+org.eclipse.jface.databinding.lib -L+C:\Project\dwtinst\dwt-rcp\lib\ Now I wonder, what is so special about "org.eclipse.swt.win32.win32.x86.lib" that only this is mentioned. Perhaps that there is a 3-letter "extension" before ".lib"? I don't know, but perhaps a track to the problem. --
Apr 19 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2857 Andrej Mitrovic <andrej.mitrovich gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrej.mitrovich gmail.com Resolution| |INVALID 20:54:13 PDT --- Without a valid test-case we don't know what to fix here. My best guess is there was this pragma somewhere in the code: pragma(lib, "org.eclipse.swt.win32.win32.x86") This should have been: pragma(lib, "org.eclipse.swt.win32.win32.x86.lib") -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 11 2013