stlport_vc7_static.lib not found

Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.

Moderator: Moderators

Locked
linobarreca
Posts: 21
Joined: 2003-10-11 08:59

stlport_vc7_static.lib not found

Post by linobarreca » 2003-10-11 09:04

After some troubles with VS2003 and stlport
I successfully compiled DC++ 0.263

However I can't successfully link the application.
I always get the error LNK1104 Can't open stlport_vc7_static.lib

That lib is not on my system.
Do you have any ideas?
Am I missing something?

Thanks in advance for you help

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Re: stlport_vc7_static.lib not found

Post by GargoyleMT » 2003-10-17 12:55

linobarreca wrote:However I can't successfully link the application.
I always get the error LNK1104 Can't open stlport_vc7_static.lib

That lib is not on my system.
Do you have any ideas?
Am I missing something?

Thanks in advance for you help
Are you using the source code to standard DC++? Are you using the STLPort suggested in the changelog for 0.262:

Code: Select all

* Upgraded to STLPort 4.5.0725 (should be compatible with msvc 7.1)
stlport is just templates, it should never compile into a .lib file. It smells like you're using modified source.

Did you follow the other instructions in compile.txt?

linobarreca
Posts: 21
Joined: 2003-10-11 08:59

Post by linobarreca » 2003-10-17 14:08

I'm using STLport-4.5-0725 downloaded from stlport site.
I did no modifications to dc++ code.

Probably I did something wrong...
I just changed the project property "Additional inclusion directories" to include the stlport dir.

In compile I get NO errors tha link gives that message....

Client compiles and links well.
DCplusplus gives that error!

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2003-10-17 14:28

Here's the command line from the vs7\windows\buildlog.htm:
Creating command line "rc.exe /d "NDEBUG" /l 0x409 /fo".\vc7\Release\windows/DCPlusPlus.res" ".\DCPlusPlus.rc""
Creating temporary file "c:\Source\0.264-pre\vc7\Release\windows\RSP00000B.rsp" with contents
[
/OUT:"./App/DCPlusPlus.exe" /INCREMENTAL:NO /NOLOGO /DELAYLOAD:"comdlg32.dll" /DELAYLOAD:"dbghelp.dll" /DEBUG /PDB:"./App/DCPlusPlus.pdb" /MAP /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /RELEASE /MACHINE:I386 /FIXED:NO comctl32.lib Ws2_32.lib shlwapi.lib delayimp.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ".\vc7\Release\client\client.lib" ".\vc7\Release\zlib\zlib.lib" ".\vc7\Release\bzip\bzip2.lib" DelayImp.lib
".\vc7\Release\windows\DCPlusPlus.res"
".\vc7\Release\windows\ADLSearchFrame.obj"
".\vc7\Release\windows\ADLSProperties.obj"
".\vc7\Release\windows\Advanced2Page.obj"
".\vc7\Release\windows\AdvancedPage.obj"
".\vc7\Release\windows\AppearancePage.obj"
".\vc7\Release\windows\DirectoryListingFrm.obj"
".\vc7\Release\windows\DownloadPage.obj"
".\vc7\Release\windows\ExListViewCtrl.obj"
".\vc7\Release\windows\ExtendedTrace.obj"
".\vc7\Release\windows\FavHubProperties.obj"
".\vc7\Release\windows\FavoritesFrm.obj"
".\vc7\Release\windows\FinishedFrame.obj"
".\vc7\Release\windows\FinishedULFrame.obj"
".\vc7\Release\windows\GargoyleMTPage.obj"
".\vc7\Release\windows\GeneralPage.obj"
".\vc7\Release\windows\HubFrame.obj"
".\vc7\Release\windows\main.obj"
".\vc7\Release\windows\MainFrm.obj"
".\vc7\Release\windows\NotepadFrame.obj"
".\vc7\Release\windows\PrivateFrame.obj"
".\vc7\Release\windows\PropertiesDlg.obj"
".\vc7\Release\windows\PropPage.obj"
".\vc7\Release\windows\PublicHubsFrm.obj"
".\vc7\Release\windows\QueueFrame.obj"
".\vc7\Release\windows\SearchFrm.obj"
".\vc7\Release\windows\SpyFrame.obj"
".\vc7\Release\windows\StatsFrame.obj"
".\vc7\Release\windows\TextFrame.obj"
".\vc7\Release\windows\TransferView.obj"
".\vc7\Release\windows\TreePropertySheet.obj"
".\vc7\Release\windows\UploadPage.obj"
".\vc7\Release\windows\UsersFrame.obj"
".\vc7\Release\windows\WinUtil.obj"
".\vc7\Release\windows\stdafx.obj"
".\vc7\Release\windows\UploadQueueFrame.obj"
]
Creating command line "link.exe @"c:\Source\0.264-pre\vc7\Release\windows\RSP00000B.rsp""
Perhaps you can check yours against mine? There are a couple files exclusive to my mod, but the libs should be exactly the same.

linobarreca
Posts: 21
Joined: 2003-10-11 08:59

Post by linobarreca » 2003-10-17 15:27

Creazione file temporaneo "e:\Dc++\vc7\Release\windows\RSP000001.rsp" con contenuto
[
/Og /Ob2 /Oi /Os /Oy /G6 /GA /I "E:\DC++\WTL" /I "E:\DC++\STLport-4.5-0725\src" /I "E:\DC++\STLport-4.5-0725\stlport" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_REENTRANT" /D "BZ_NO_STDIO" /D "_STLP_NO_EXCEPTIONS" /D "_ATL_STATIC_REGISTRY" /GF /Gm /EHsc /MT /GS /Gy /Yu"stdafx.h" /Fp".\vc7\Release\windows/DCPlusPlus.pch" /FAs /Fa".\vc7\Release\windows/" /Fo".\vc7\Release\windows/" /Fd".\vc7\Release\windows/vc70.pdb" /W4 /c /Zi /Gr /TP /Zm150
".\windows\WinUtil.cpp"
".\windows\UsersFrame.cpp"
".\windows\UploadPage.cpp"
".\windows\TextFrame.cpp"
".\windows\SpyFrame.cpp"
".\windows\SearchFrm.cpp"
".\windows\QueueFrame.cpp"
".\windows\PublicHubsFrm.cpp"
".\windows\PropPage.cpp"
".\windows\PropertiesDlg.cpp"
".\windows\PrivateFrame.cpp"
".\windows\NotepadFrame.cpp"
".\windows\MainFrm.cpp"
".\windows\main.cpp"
".\windows\HubFrame.cpp"
".\windows\GeneralPage.cpp"
".\windows\FinishedULFrame.cpp"
".\windows\FinishedFrame.cpp"
".\windows\FavoritesFrm.cpp"
".\windows\FavHubProperties.cpp"
".\windows\ExtendedTrace.cpp"
".\windows\ExListViewCtrl.cpp"
".\windows\DownloadPage.cpp"
".\windows\DirectoryListingFrm.cpp"
".\windows\AppearancePage.cpp"
".\windows\AdvancedPage.cpp"
".\windows\Advanced2Page.cpp"
".\windows\ADLSProperties.cpp"
".\windows\ADLSearchFrame.cpp"
]
Creazione riga di comando "cl.exe @"e:\Dc++\vc7\Release\windows\RSP000001.rsp" /nologo"
Creazione file temporaneo "e:\Dc++\vc7\Release\windows\RSP000002.rsp" con contenuto
[
/Og /Ob2 /Oi /Os /Oy /G6 /GA /I "E:\DC++\WTL" /I "E:\DC++\STLport-4.5-0725\src" /I "E:\DC++\STLport-4.5-0725\stlport" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_REENTRANT" /D "BZ_NO_STDIO" /D "_STLP_NO_EXCEPTIONS" /D "_ATL_STATIC_REGISTRY" /GF /Gm /EHsc /MT /GS /Gy /Yc"stdafx.h" /Fp".\vc7\Release\windows/DCPlusPlus.pch" /FAs /Fa".\vc7\Release\windows/" /Fo".\vc7\Release\windows/" /Fd".\vc7\Release\windows/vc70.pdb" /W4 /c /Zi /Gr /TP /Zm150
".\windows\stdafx.cpp"
]
Creazione riga di comando "cl.exe @"e:\Dc++\vc7\Release\windows\RSP000002.rsp" /nologo"
Creazione riga di comando "rc.exe /d "NDEBUG" /l 0x409 /fo".\vc7\Release\windows/DCPlusPlus.res" ".\DCPlusPlus.rc""
Creazione file temporaneo "e:\Dc++\vc7\Release\windows\RSP000003.rsp" con contenuto
[
/OUT:"./App/DCPlusPlus.exe" /INCREMENTAL:NO /NOLOGO /DELAYLOAD:"comdlg32.dll" /DELAYLOAD:"dbghelp.dll" /DEBUG /PDB:"./App/DCPlusPlus.pdb" /MAP /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /RELEASE /MACHINE:I386 /FIXED:NO comctl32.lib Ws2_32.lib shlwapi.lib delayimp.lib vc7/Release/client/client.lib vc7/Release/bzip/bzip2.lib vc7/Release/zlib/zlib.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ".\vc7\Release\client\client.lib" ".\vc7\Release\bzip\bzip2.lib" ".\vc7\Release\zlib\zlib.lib" DelayImp.lib
".\vc7\Release\windows\DCPlusPlus.res"
".\vc7\Release\windows\ADLSearchFrame.obj"
".\vc7\Release\windows\ADLSProperties.obj"
".\vc7\Release\windows\Advanced2Page.obj"
".\vc7\Release\windows\AdvancedPage.obj"
".\vc7\Release\windows\AppearancePage.obj"
".\vc7\Release\windows\DirectoryListingFrm.obj"
".\vc7\Release\windows\DownloadPage.obj"
".\vc7\Release\windows\ExListViewCtrl.obj"
".\vc7\Release\windows\ExtendedTrace.obj"
".\vc7\Release\windows\FavHubProperties.obj"
".\vc7\Release\windows\FavoritesFrm.obj"
".\vc7\Release\windows\FinishedFrame.obj"
".\vc7\Release\windows\FinishedULFrame.obj"
".\vc7\Release\windows\GeneralPage.obj"
".\vc7\Release\windows\HubFrame.obj"
".\vc7\Release\windows\main.obj"
".\vc7\Release\windows\MainFrm.obj"
".\vc7\Release\windows\NotepadFrame.obj"
".\vc7\Release\windows\PrivateFrame.obj"
".\vc7\Release\windows\PropertiesDlg.obj"
".\vc7\Release\windows\PropPage.obj"
".\vc7\Release\windows\PublicHubsFrm.obj"
".\vc7\Release\windows\QueueFrame.obj"
".\vc7\Release\windows\SearchFrm.obj"
".\vc7\Release\windows\SpyFrame.obj"
".\vc7\Release\windows\stdafx.obj"
".\vc7\Release\windows\TextFrame.obj"
".\vc7\Release\windows\UploadPage.obj"
".\vc7\Release\windows\UsersFrame.obj"
".\vc7\Release\windows\WinUtil.obj"
]
Creazione riga di comando "link.exe @"e:\Dc++\vc7\Release\windows\RSP000003.rsp""

I can't figure out what's the problem!!!

linobarreca
Posts: 21
Joined: 2003-10-11 08:59

Results

Post by linobarreca » 2003-10-17 15:30

here's the result:

Compilazione in corso...
stdafx.cpp
Compilazione in corso...
WinUtil.cpp
UsersFrame.cpp
UploadPage.cpp
TextFrame.cpp
SpyFrame.cpp
SearchFrm.cpp
QueueFrame.cpp
PublicHubsFrm.cpp
PropPage.cpp
PropertiesDlg.cpp
PrivateFrame.cpp
NotepadFrame.cpp
MainFrm.cpp
main.cpp
HubFrame.cpp
GeneralPage.cpp
FinishedULFrame.cpp
FinishedFrame.cpp
FavoritesFrm.cpp
FavHubProperties.cpp
Generazione del codice in corso...
Compilazione in corso...
ExtendedTrace.cpp
ExListViewCtrl.cpp
DownloadPage.cpp
DirectoryListingFrm.cpp
AppearancePage.cpp
AdvancedPage.cpp
Advanced2Page.cpp
ADLSProperties.cpp
ADLSearchFrame.cpp
Generazione del codice in corso...
Compilazione risorse in corso...
Collegamento in corso...
LINK : fatal error LNK1104: impossibile aprire il file "stlport_vc7_static.lib"

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2003-10-18 08:23

/I "E:\DC++\STLport-4.5-0725\src" /I "E:\DC++\STLport-4.5-0725\stlport"
which STLPort did you install? You're including "src\" which isn't in the one that's on the DC++ download page (that only is in the one on the STLPort Beta page).

Try deleting out your STLPort directories and remove it from your include path in VS.NET. Then start again just using: DCPlusPlus-STLPort-4.5.0725.zip .

linobarreca
Posts: 21
Joined: 2003-10-11 08:59

Post by linobarreca » 2003-10-19 07:05

linobarreca wrote:I'm using STLport-4.5-0725 downloaded from stlport site.
I don't remember where. (probably here, so you were right)

However.. I downloaded the stlport from your link...
and....IT WOOOOORKS!!!!!
:D
YOU ARE GREAT!!!!!!!!!!!

Many thanks :)

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2003-10-19 15:38

It was my pleasure. Oddly enough you can compile STLPort as a separate DLL, their tar.gz file likely has a define that affects this behavior and sets it by default.

Good luck in your DC++ modding.

linobarreca
Posts: 21
Joined: 2003-10-11 08:59

thanks

Post by linobarreca » 2003-10-20 06:17

Thanks :)

I want only to add a small feature.
Something like a blacklist.
Basically a blacklisted user can't send me annoying private messages and it's phrases are not shown in the main hub window :)

I don't know if it's a planned feature or it has already been developed by someone else (and is available through a patch).
I posted it as a request.

If it's not accepted maybe I can do it myself in some days (must find time to code).

Gratch06
Posts: 141
Joined: 2003-05-25 01:48
Location: USA

Post by Gratch06 » 2003-10-20 09:59

Try searching the Programmer's forum for an ignore list. Sarf whipped up some pretty nice code for it at one point.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2003-10-20 10:31

BCDC has an /ignore for mainchat as well. I'm unsure if it works with PMs, or if it saves its state across DC++ sessions.

Gratch06
Posts: 141
Joined: 2003-05-25 01:48
Location: USA

Post by Gratch06 » 2003-10-20 10:39

Sarf's code only does PM's. If BCDC's code only does mainchat, a combination of the two would probably serve fine (or if BCDC does it all).

Locked