Crystal Space
Welcome,
Guest
. Please
login
or
register
.
May 23, 2013, 05:27:11 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
9224
Posts in
2230
Topics by
5385
Members
Latest Member:
Ritatondreau
Crystal Space
Crystal Space Development
Support
Problems compiling with MSVC7
« previous
next »
Pages:
[
1
]
Author
Topic: Problems compiling with MSVC7 (Read 3201 times)
InternetNightmare
Newbie
Posts: 5
Problems compiling with MSVC7
«
on:
July 01, 2005, 11:47:13 am »
I get this when I try to compile plgvfs (CS98_004) with MSVC7:
Quote
plgvfs error LNK2019: unresolved external symbol _crc32 referenced in function "public: bool __thiscall csArchive::ArchiveEntry::WriteFile(struct _iobuf *)" (?WriteFile@ArchiveEntry@csArchive@@QAE_NPAU_iobuf@@@Z)
plgvfs error LNK2019: unresolved external symbol _deflate referenced in function "public: bool __thiscall csArchive::ArchiveEntry::WriteFile(struct _iobuf *)" (?WriteFile@ArchiveEntry@csArchive@@QAE_NPAU_iobuf@@@Z)
plgvfs error LNK2019: unresolved external symbol _deflateEnd referenced in function "public: bool __thiscall csArchive::ArchiveEntry::WriteFile(struct _iobuf *)" (?WriteFile@ArchiveEntry@csArchive@@QAE_NPAU_iobuf@@@Z)
plgvfs error LNK2019: unresolved external symbol _deflateInit_ referenced in function "public: bool __thiscall csArchive::ArchiveEntry::WriteFile(struct _iobuf *)" (?WriteFile@ArchiveEntry@csArchive@@QAE_NPAU_iobuf@@@Z)
plgvfs error LNK2019: unresolved external symbol _inflate referenced in function "private: char * __thiscall csArchive::ReadEntry(struct _iobuf *,class csArchive::ArchiveEntry *)" (?ReadEntry@csArchive@@AAEPADPAU_iobuf@@PAVArchiveEntry@1@@Z)
plgvfs error LNK2019: unresolved external symbol _inflateEnd referenced in function "private: char * __thiscall csArchive::ReadEntry(struct _iobuf *,class csArchive::ArchiveEntry *)" (?ReadEntry@csArchive@@AAEPADPAU_iobuf@@PAVArchiveEntry@1@@Z)
plgvfs error LNK2019: unresolved external symbol _inflateInit2_ referenced in function "private: char * __thiscall csArchive::ReadEntry(struct _iobuf *,class csArchive::ArchiveEntry *)" (?ReadEntry@csArchive@@AAEPADPAU_iobuf@@PAVArchiveEntry@1@@Z)
Any ideas?
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: Problems compiling with MSVC7
«
Reply #1 on:
July 01, 2005, 01:18:50 pm »
Quote from: InternetNightmare
I get this when I try to compile plgvfs (CS98_004) with MSVC7:
Quote
plgvfs error LNK2019: unresolved external symbol _crc32 referenced in function "public: bool __thiscall csArchive::ArchiveEntry::WriteFile(struct _iobuf *)" (?WriteFile@ArchiveEntry@csArchive@@QAE_NPAU_iobuf@@@Z)
plgvfs error LNK2019: unresolved external symbol _deflate referenced in function "public: bool __thiscall csArchive::ArchiveEntry::WriteFile(struct _iobuf *)" (?WriteFile@ArchiveEntry@csArchive@@QAE_NPAU_iobuf@@@Z)
plgvfs error LNK2019: unresolved external symbol _deflateEnd referenced in function "public: bool __thiscall csArchive::ArchiveEntry::WriteFile(struct _iobuf *)" (?WriteFile@ArchiveEntry@csArchive@@QAE_NPAU_iobuf@@@Z)
plgvfs error LNK2019: unresolved external symbol _deflateInit_ referenced in function "public: bool __thiscall csArchive::ArchiveEntry::WriteFile(struct _iobuf *)" (?WriteFile@ArchiveEntry@csArchive@@QAE_NPAU_iobuf@@@Z)
plgvfs error LNK2019: unresolved external symbol _inflate referenced in function "private: char * __thiscall csArchive::ReadEntry(struct _iobuf *,class csArchive::ArchiveEntry *)" (?ReadEntry@csArchive@@AAEPADPAU_iobuf@@PAVArchiveEntry@1@@Z)
plgvfs error LNK2019: unresolved external symbol _inflateEnd referenced in function "private: char * __thiscall csArchive::ReadEntry(struct _iobuf *,class csArchive::ArchiveEntry *)" (?ReadEntry@csArchive@@AAEPADPAU_iobuf@@PAVArchiveEntry@1@@Z)
plgvfs error LNK2019: unresolved external symbol _inflateInit2_ referenced in function "private: char * __thiscall csArchive::ReadEntry(struct _iobuf *,class csArchive::ArchiveEntry *)" (?ReadEntry@csArchive@@AAEPADPAU_iobuf@@PAVArchiveEntry@1@@Z)
Any ideas?
Did you download and install the cs_winlibs package as instructed in the manual?
Greetings,
Logged
InternetNightmare
Newbie
Posts: 5
Oh...
«
Reply #2 on:
July 01, 2005, 06:46:05 pm »
Oh... And I was downloading libs all day
Thanks
Didn't read the manual, my fault. I'm very sorry...
P.S. Didn't help anyway... :/ What lib do I need to add for those externals?
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: Oh...
«
Reply #3 on:
July 01, 2005, 08:01:40 pm »
Quote from: InternetNightmare
Oh... And I was downloading libs all day
Thanks
Didn't read the manual, my fault. I'm very sorry...
P.S. Didn't help anyway... :/ What lib do I need to add for those externals?
Hmm... What package did you download and install? Did you tell it where to find Crystal Space. There is nothing you need to add if the cs winlibs package is correctly installed.
Greetings,
Logged
InternetNightmare
Newbie
Posts: 5
OK
«
Reply #4 on:
July 01, 2005, 08:33:38 pm »
OK. I got it to compile, but now it crashes, tried both new and old renderers...
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: OK
«
Reply #5 on:
July 01, 2005, 08:36:10 pm »
Quote from: InternetNightmare
OK. I got it to compile, but now it crashes, tried both new and old renderers...
Can you give more information. What exactly are you running? I mean which application? What messages do you see on screen? Please describe the problem a bit more exactly.
Greetings,
Logged
InternetNightmare
Newbie
Posts: 5
Compiled, works.
«
Reply #6 on:
July 02, 2005, 05:51:12 pm »
OK. I got CVS version to compile, some of teh parts, but I still get some errors:
Quote
g:\Run\CS\include\iaws\aws2.h(25): error C2011: 'iAws' : 'struct' type redefinition
g:\Run\CS\include\iaws\aws.h(270) : see declaration of 'iAws'
g:\Run\CS\include\iaws\aws2.h(17): error C2371: 'iAwsWindow' : redefinition; different basic types
g:\Run\CS\include\iaws\aws2.h(24): error C2535: 'const char *scfInterface<T>::GetName(void)' : member function already defined or declared
with
[
T=iAws
]
g:\Run\CS\include\iaws\aws.h(267) : see declaration of 'scfInterface<T>::GetName'
with
[
T=iAws
]
g:\Run\CS\include\iaws\aws2.h(24): error C2535: 'int scfInterface<T>::GetVersion(void)' : member function already defined or declared
with
[
T=iAws
]
g:\Run\CS\include\iaws\aws.h(267) : see declaration of 'scfInterface<T>::GetVersion'
with
[
T=iAws
]
g:\Run\CS\include\iaws\aws2.h(24): error C2535: 'scfInterfaceID &scfInterface<T>::GetMyID(void)' : member function already defined or declared
with
[
T=iAws
]
g:\Run\CS\include\iaws\aws.h(267) : see declaration of 'scfInterface<T>::GetMyID'
with
[
T=iAws
]
g:\Run\CS\include\iaws\aws2.h(24): error C2535: 'scfInterfaceID scfInterface<T>::GetID(void)' : member function already defined or declared
with
[
T=iAws
]
g:\Run\CS\include\iaws\aws.h(267) : see declaration of 'scfInterface<T>::GetID'
with
[
T=iAws
]
g:\Run\CS\include\iaws\aws2.h(24): error C2535: 'void scfInterface<T>::CleanupID(void)' : member function already defined or declared
with
[
T=iAws
]
g:\Run\CS\include\iaws\aws.h(267) : see declaration of 'scfInterface<T>::CleanupID'
with
[
T=iAws
]
g:\Run\CS\include\iaws\aws2.h(24): error C2908: explicit specialization; 'scfInterface<T>' has already been instantiated from the primary template
with
[
T=iAws
]
That's when compiling walktest.
Logged
jorrit
Administrator
Hero Member
Posts: 1703
Re: Compiled, works.
«
Reply #7 on:
July 02, 2005, 06:36:58 pm »
Quote from: InternetNightmare
OK. I got CVS version to compile, some of teh parts, but I still get some errors:
That's when compiling walktest.
Yes, this is now fixed but it may take a few hours until the fix goes to anonymous cvs (I guess maximum 2-3 hours now).
Greetings,
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Crystal Space Development
-----------------------------
=> General Crystal Space Discussion
=> Support
-----------------------------
Crystal Space Project Development
-----------------------------
=> Feature Requests
=> Plugins
=> Bug Reports
-----------------------------
Crystal Space Development
-----------------------------
=> Game Content Creation
-----------------------------
Miscellaneous
-----------------------------
=> Article/Tutorial Requests
=> Article/Tutorial Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Development Discussion
-----------------------------
Crystal Space Projects
-----------------------------
=> Project Discussion
=> WIP Projects
=> Finished Projects
-----------------------------
Associate Projects
-----------------------------
=> CEL Discussion
=> Crystal Core Discussion
=> CrystalBlend Discussion
-----------------------------
Crystal Space Project Development
-----------------------------
=> Google Summer of Code
-----------------------------
Associate Projects
-----------------------------
=> Apricot (Open Game)
=> Ares Project
Loading...