View previous topic :: View next topic |
Author |
Message |
Andrej08
Joined: 31 Aug 2010 Posts: 51
|
Posted: Thu Aug 04, 2011 5:05 pm Post subject: Is the library search path used? |
|
|
I've set a library search path but VisualD doesn't seem to use this.
Command line is:
Quote: | dmd -g -debug -X -Xf"$(IntDir)\$(TargetName).json" -I..\Derelict2\import -I..\Samples\win32\ -version=Unicode -version=WIN32_WINNT_ONLY -version=WindowsNTonly -version=Windows2000 -version=Windows2003 -version=WindowsXP -version=WindowsVista -version=Debug -of"$(OutDir)\$(ProjectName).exe_cv" -deps="$(OutDir)\$(ProjectName).dep" -map "$(INTDIR)\$(SAFEPROJECTNAME).map" -L/NOMAP DerelictGL.lib DerelictSDL.lib DerelictUtil.lib |
My lib search path is defined as:
Quote: | %CD%\..\Derelict2\lib\ |
I know Optlink has some issues with search paths, so I thought VD would just prepend the search path manually to each lib file and convert the above to:
Quote: | dmd -g -debug -X -Xf"$(IntDir)\$(TargetName).json" -I..\Derelict2\import -I..\Samples\win32\ -version=Unicode -version=WIN32_WINNT_ONLY -version=WindowsNTonly -version=Windows2000 -version=Windows2003 -version=WindowsXP -version=WindowsVista -version=Debug -of"$(OutDir)\$(ProjectName).exe_cv" -deps="$(OutDir)\$(ProjectName).dep" -map "$(INTDIR)\$(SAFEPROJECTNAME).map" -L/NOMAP %CD%\..\Derelict2\lib\DerelictGL.lib %CD%\..\Derelict2\lib\DerelictSDL.lib %CD%\..\Derelict2\lib\DerelictUtil.lib |
|
|
Back to top |
|
|
sagitario
Joined: 03 Mar 2007 Posts: 292
|
|
Back to top |
|
|
|