Crystal Space
Welcome, Guest. Please login or register.
December 20, 2014, 03:40:09 pm

Login with username, password and session length
Search:     Advanced search
9032 Posts in 2046 Topics by 9295 Members
Latest Member: Marioibuch
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  Problems compiling with MSVC7
« previous next »
Pages: [1] Print
Author Topic: Problems compiling with MSVC7  (Read 3826 times)
InternetNightmare
Newbie
*
Posts: 5

301303159
View Profile
« 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: 1706


View Profile
« 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

301303159
View Profile
« Reply #2 on: July 01, 2005, 06:46:05 pm »

Oh... And I was downloading libs all day Smiley
Thanks Wink 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: 1706


View Profile
« Reply #3 on: July 01, 2005, 08:01:40 pm »

Quote from: InternetNightmare
Oh... And I was downloading libs all day Smiley
Thanks Wink 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

301303159
View Profile
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: 1706


View Profile
« 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

301303159
View Profile
« 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: 1706


View Profile
« 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] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 8.253 seconds with 16 queries.