Du bist nicht angemeldet.

Stilllegung des Forums
Das Forum wurde am 05.06.2023 nach über 20 Jahren stillgelegt (weitere Informationen und ein kleiner Rückblick).
Registrierungen, Anmeldungen und Postings sind nicht mehr möglich. Öffentliche Inhalte sind weiterhin zugänglich.
Das Team von spieleprogrammierer.de bedankt sich bei der Community für die vielen schönen Jahre.
Wenn du eine deutschsprachige Spieleentwickler-Community suchst, schau doch mal im Discord und auf ZFX vorbei!

Werbeanzeige

Stazer

Alter Hase

  • »Stazer« ist der Autor dieses Themas

Beiträge: 468

Wohnort: Berlin

Beruf: Student

  • Private Nachricht senden

1

07.12.2009, 16:22

CEGUI Linker Problem

moin ,
da die cegui seite rade off ist muss ich nun hier fragen
und zwar was muss man machen damit man cegui statisch linken kann?

xxendlessxx

Treue Seele

Beiträge: 230

Wohnort: Bad Schussenried

Beruf: Full Stack Developer

  • Private Nachricht senden

2

07.12.2009, 16:36

also bei nem kumpel hats funktioniert und er hat einfach die statischen libs gelinkt. hast du noch die alte oder neue version von CEGUI?

Stazer

Alter Hase

  • »Stazer« ist der Autor dieses Themas

Beiträge: 468

Wohnort: Berlin

Beruf: Student

  • Private Nachricht senden

3

07.12.2009, 16:39

6 irgendwas

Toa

Alter Hase

Beiträge: 944

Beruf: Research associate

  • Private Nachricht senden

4

07.12.2009, 17:51

Statischen libs linken und bei den präproz. definitions CEGUI_STATIC hinzufügen..

5

07.12.2009, 18:09

Zitat

GECUI_STATIC


??

Sollte das nicht heissen CEGUI_STATIC

Toa

Alter Hase

Beiträge: 944

Beruf: Research associate

  • Private Nachricht senden

6

07.12.2009, 19:12

Ja Tippfehler, aber wenn man ein wenig mit denkt fällt einem soetwas auf. Also alles kann man auch nicht vorkauen.

€: Habs editiert

Stazer

Alter Hase

  • »Stazer« ist der Autor dieses Themas

Beiträge: 468

Wohnort: Berlin

Beruf: Student

  • Private Nachricht senden

7

07.12.2009, 19:52

danke

Stazer

Alter Hase

  • »Stazer« ist der Autor dieses Themas

Beiträge: 468

Wohnort: Berlin

Beruf: Student

  • Private Nachricht senden

8

07.12.2009, 20:28

bekomme immernoch linker fehler
hab folgende libs gelinkt

CEGUIBase
CEGUIExpatParser
OpenGLGUIRenderer
CEGUISILLYImageCodec

Toa

Alter Hase

Beiträge: 944

Beruf: Research associate

  • Private Nachricht senden

9

07.12.2009, 22:04

Du musst schon die Statischen Libs linken..Öffne das CEGUI Framework und kompiliere es mit den benötigten Vordefinierten Einstellungen(Debug,Release,Static...)

Stazer

Alter Hase

  • »Stazer« ist der Autor dieses Themas

Beiträge: 468

Wohnort: Berlin

Beruf: Student

  • Private Nachricht senden

10

08.12.2009, 14:58

so hab nun die statische libs gelinkt und versucht zu kompilieren


Hab folgende Libs gelinkt

Quellcode

1
2
3
4
CEGUIBase_Static_d.lib
CEGUIExpatParser_Static_d.lib
CEGUISILLYImageCodec_Static_d.lib
OpenGLGUIRenderer_Static_d.lib


Außerdem noch die SFML Static Libs

sowie CEGUI_STATIC bekantgegeben

bekomme aber immernoch folgende fehler

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
1>sfml-window-s-d.lib(Window.obj) : warning LNK4075: /EDITANDCONTINUE wird aufgrund der Angabe von /OPT:ICF ignoriert.
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) ist bereits in libcpmt.lib(string.obj) definiert.
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) ist bereits in libcpmt.lib(string.obj) definiert.
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) ist bereits in libcpmt.lib(string.obj) definiert.
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) ist bereits in libcpmt.lib(string.obj) definiert.
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: static unsigned int __cdecl std::char_traits<char>::length(char const *)" (?length@?$char_traits@D@std@@SAIPBD@Z) ist bereits in Window.obj definiert.
1>msvcprtd.lib(MSVCP90D.dll) : error LNK2005: "public: unsigned int __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::size(void)const " (?size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIXZ) ist bereits in Window.obj definiert.
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: "public: virtual __thiscall std::exception::~exception(void)" (??1exception@std@@UAE@XZ) ist bereits in LIBCMT.lib(stdexcpt.obj) definiert.
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: "public: __thiscall std::exception::exception(void)" (??0exception@std@@QAE@XZ) ist bereits in LIBCMT.lib(stdexcpt.obj) definiert.
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: "public: __thiscall std::exception::exception(class std::exception const &)" (??0exception@std@@QAE@ABV01@@Z) ist bereits in LIBCMT.lib(stdexcpt.obj) definiert.
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: __invalid_parameter ist bereits in LIBCMT.lib(invarg.obj) definiert.
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: "public: __thiscall std::exception::exception(char const * const &)" (??0exception@std@@QAE@ABQBD@Z) ist bereits in LIBCMT.lib(stdexcpt.obj) definiert.
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _memmove_s ist bereits in LIBCMT.lib(memmove_s.obj) definiert.
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _setlocale ist bereits in LIBCMT.lib(setlocal.obj) definiert.
1>MSVCRTD.lib(MSVCR90D.dll) : error LNK2005: _memmove ist bereits in LIBCMT.lib(memmove.obj) definiert.
1>MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) ist bereits in LIBCMT.lib(typinfo.obj) definiert.
1>MSVCRTD.lib(ti_inst.obj) : error LNK2005: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) ist bereits in LIBCMT.lib(typinfo.obj) definiert.
1>   Bibliothek "..\..\Bin\Debug\Prisma2D.lib" und Objekt "..\..\Bin\Debug\Prisma2D.exp" werden erstellt.
1>LINK : warning LNK4098: Standardbibliothek "MSVCRTD" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden.
1>CEGUIBase_Static_d.lib(CEGUIEditbox.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "_pcre_free".
1>CEGUIBase_Static_d.lib(CEGUIEditbox.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_pcre_compile" in Funktion ""public: void __thiscall CEGUI::Editbox::setValidationString(class CEGUI::String const &)" (?setValidationString@Editbox@CEGUI@@QAEXABVString@2@@Z)".
1>CEGUIBase_Static_d.lib(CEGUIEditbox.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_pcre_exec" in Funktion ""protected: bool __thiscall CEGUI::Editbox::isStringValid(class CEGUI::String const &)const " (?isStringValid@Editbox@CEGUI@@IBE_NABVString@2@@Z)".
1>CEGUIBase_Static_d.lib(CEGUIFactoryModule.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_registerFactoryFunction" in Funktion ""public: void __thiscall CEGUI::FactoryModule::registerFactory(class CEGUI::String const &)const " (?registerFactory@FactoryModule@CEGUI@@QBEXABVString@2@@Z)".
1>CEGUIBase_Static_d.lib(CEGUIFactoryModule.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_registerAllFactoriesFunction" in Funktion ""public: unsigned int __thiscall CEGUI::FactoryModule::registerAllFactories(void)const " (?registerAllFactories@FactoryModule@CEGUI@@QBEIXZ)".
1>CEGUIExpatParser_Static_d.lib(CEGUIExpatParser.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_XML_ParserFree" in Funktion ""public: virtual void __thiscall CEGUI::ExpatParser::parseXMLFile(class CEGUI::XMLHandler &,class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (?parseXMLFile@ExpatParser@CEGUI@@UAEXAAVXMLHandler@2@ABVString@2@11@Z)".
1>CEGUIExpatParser_Static_d.lib(CEGUIExpatParser.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_XML_ErrorString" in Funktion ""public: virtual void __thiscall CEGUI::ExpatParser::parseXMLFile(class CEGUI::XMLHandler &,class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (?parseXMLFile@ExpatParser@CEGUI@@UAEXAAVXMLHandler@2@ABVString@2@11@Z)".
1>CEGUIExpatParser_Static_d.lib(CEGUIExpatParser.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_XML_GetErrorCode" in Funktion ""public: virtual void __thiscall CEGUI::ExpatParser::parseXMLFile(class CEGUI::XMLHandler &,class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (?parseXMLFile@ExpatParser@CEGUI@@UAEXAAVXMLHandler@2@ABVString@2@11@Z)".
1>CEGUIExpatParser_Static_d.lib(CEGUIExpatParser.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_XML_GetCurrentLineNumber" in Funktion ""public: virtual void __thiscall CEGUI::ExpatParser::parseXMLFile(class CEGUI::XMLHandler &,class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (?parseXMLFile@ExpatParser@CEGUI@@UAEXAAVXMLHandler@2@ABVString@2@11@Z)".
1>CEGUIExpatParser_Static_d.lib(CEGUIExpatParser.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_XML_Parse" in Funktion ""public: virtual void __thiscall CEGUI::ExpatParser::parseXMLFile(class CEGUI::XMLHandler &,class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (?parseXMLFile@ExpatParser@CEGUI@@UAEXAAVXMLHandler@2@ABVString@2@11@Z)".
1>CEGUIExpatParser_Static_d.lib(CEGUIExpatParser.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_XML_SetCharacterDataHandler" in Funktion ""public: virtual void __thiscall CEGUI::ExpatParser::parseXMLFile(class CEGUI::XMLHandler &,class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (?parseXMLFile@ExpatParser@CEGUI@@UAEXAAVXMLHandler@2@ABVString@2@11@Z)".
1>CEGUIExpatParser_Static_d.lib(CEGUIExpatParser.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_XML_SetElementHandler" in Funktion ""public: virtual void __thiscall CEGUI::ExpatParser::parseXMLFile(class CEGUI::XMLHandler &,class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (?parseXMLFile@ExpatParser@CEGUI@@UAEXAAVXMLHandler@2@ABVString@2@11@Z)".
1>CEGUIExpatParser_Static_d.lib(CEGUIExpatParser.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_XML_SetUserData" in Funktion ""public: virtual void __thiscall CEGUI::ExpatParser::parseXMLFile(class CEGUI::XMLHandler &,class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (?parseXMLFile@ExpatParser@CEGUI@@UAEXAAVXMLHandler@2@ABVString@2@11@Z)".
1>CEGUIExpatParser_Static_d.lib(CEGUIExpatParser.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_XML_ParserCreate" in Funktion ""public: virtual void __thiscall CEGUI::ExpatParser::parseXMLFile(class CEGUI::XMLHandler &,class CEGUI::String const &,class CEGUI::String const &,class CEGUI::String const &)" (?parseXMLFile@ExpatParser@CEGUI@@UAEXAAVXMLHandler@2@ABVString@2@11@Z)".
1>OpenGLGUIRenderer_Static_d.lib(openglrenderer.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_gluOrtho2D@32" in Funktion ""private: void __thiscall CEGUI::OpenGLRenderer::initPerFrameStates(void)" (?initPerFrameStates@OpenGLRenderer@CEGUI@@AAEXXZ)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) bool __cdecl SILLY::SILLYInit(void)" (__imp_?SILLYInit@SILLY@@YA_NXZ)" in Funktion ""public: __thiscall CEGUI::SILLYImageCodec::SILLYImageCodec(void)" (??0SILLYImageCodec@CEGUI@@QAE@XZ)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) void __cdecl SILLY::SILLYCleanup(void)" (__imp_?SILLYCleanup@SILLY@@YAXXZ)" in Funktion ""public: virtual __thiscall CEGUI::SILLYImageCodec::~SILLYImageCodec(void)" (??1SILLYImageCodec@CEGUI@@UAE@XZ)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: unsigned char const * __thiscall SILLY::Image::getPixelsDataPtr(void)const " (__imp_?getPixelsDataPtr@Image@SILLY@@QBEPBEXZ)" in Funktion ""public: virtual class CEGUI::Texture * __thiscall CEGUI::SILLYImageCodec::load(class CEGUI::RawDataContainer const &,class CEGUI::Texture *)" (?load@SILLYImageCodec@CEGUI@@UAEPAVTexture@2@ABVRawDataContainer@2@PAV32@@Z)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: unsigned int __thiscall SILLY::Image::getWidth(void)const " (__imp_?getWidth@Image@SILLY@@QBEIXZ)" in Funktion ""public: virtual class CEGUI::Texture * __thiscall CEGUI::SILLYImageCodec::load(class CEGUI::RawDataContainer const &,class CEGUI::Texture *)" (?load@SILLYImageCodec@CEGUI@@UAEPAVTexture@2@ABVRawDataContainer@2@PAV32@@Z)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: unsigned int __thiscall SILLY::Image::getHeight(void)const " (__imp_?getHeight@Image@SILLY@@QBEIXZ)" in Funktion ""public: virtual class CEGUI::Texture * __thiscall CEGUI::SILLYImageCodec::load(class CEGUI::RawDataContainer const &,class CEGUI::Texture *)" (?load@SILLYImageCodec@CEGUI@@UAEPAVTexture@2@ABVRawDataContainer@2@PAV32@@Z)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: bool __thiscall SILLY::Image::loadImageData(enum SILLY::PixelFormat,enum SILLY::PixelOrigin)" (__imp_?loadImageData@Image@SILLY@@QAE_NW4PixelFormat@2@W4PixelOrigin@2@@Z)" in Funktion ""public: virtual class CEGUI::Texture * __thiscall CEGUI::SILLYImageCodec::load(class CEGUI::RawDataContainer const &,class CEGUI::Texture *)" (?load@SILLYImageCodec@CEGUI@@UAEPAVTexture@2@ABVRawDataContainer@2@PAV32@@Z)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: enum SILLY::PixelFormat __thiscall SILLY::Image::getSourcePixelFormat(void)const " (__imp_?getSourcePixelFormat@Image@SILLY@@QBE?AW4PixelFormat@2@XZ)" in Funktion ""public: virtual class CEGUI::Texture * __thiscall CEGUI::SILLYImageCodec::load(class CEGUI::RawDataContainer const &,class CEGUI::Texture *)" (?load@SILLYImageCodec@CEGUI@@UAEPAVTexture@2@ABVRawDataContainer@2@PAV32@@Z)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: virtual __thiscall SILLY::MemoryDataSource::~MemoryDataSource(void)" (__imp_??1MemoryDataSource@SILLY@@UAE@XZ)" in Funktion ""public: virtual class CEGUI::Texture * __thiscall CEGUI::SILLYImageCodec::load(class CEGUI::RawDataContainer const &,class CEGUI::Texture *)" (?load@SILLYImageCodec@CEGUI@@UAEPAVTexture@2@ABVRawDataContainer@2@PAV32@@Z)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall SILLY::Image::~Image(void)" (__imp_??1Image@SILLY@@QAE@XZ)" in Funktion ""public: virtual class CEGUI::Texture * __thiscall CEGUI::SILLYImageCodec::load(class CEGUI::RawDataContainer const &,class CEGUI::Texture *)" (?load@SILLYImageCodec@CEGUI@@UAEPAVTexture@2@ABVRawDataContainer@2@PAV32@@Z)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: bool __thiscall SILLY::Image::loadImageHeader(void)" (__imp_?loadImageHeader@Image@SILLY@@QAE_NXZ)" in Funktion ""public: virtual class CEGUI::Texture * __thiscall CEGUI::SILLYImageCodec::load(class CEGUI::RawDataContainer const &,class CEGUI::Texture *)" (?load@SILLYImageCodec@CEGUI@@UAEPAVTexture@2@ABVRawDataContainer@2@PAV32@@Z)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall SILLY::Image::Image(class SILLY::DataSource &)" (__imp_??0Image@SILLY@@QAE@AAVDataSource@1@@Z)" in Funktion ""public: virtual class CEGUI::Texture * __thiscall CEGUI::SILLYImageCodec::load(class CEGUI::RawDataContainer const &,class CEGUI::Texture *)" (?load@SILLYImageCodec@CEGUI@@UAEPAVTexture@2@ABVRawDataContainer@2@PAV32@@Z)".
1>CEGUISILLYImageCodec_Static_d.lib(CEGUISILLYImageCodec.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall SILLY::MemoryDataSource::MemoryDataSource(unsigned char const *,unsigned int)" (__imp_??0MemoryDataSource@SILLY@@QAE@PBEI@Z)" in Funktion ""public: virtual class CEGUI::Texture * __thiscall CEGUI::SILLYImageCodec::load(class CEGUI::RawDataContainer const &,class CEGUI::Texture *)" (?load@SILLYImageCodec@CEGUI@@UAEPAVTexture@2@ABVRawDataContainer@2@PAV32@@Z)".
1>..\..\Bin\Debug\Prisma2D.dll : fatal error LNK1120: 27 nicht aufgelöste externe Verweise.


hoffentlich klönnt ihr mir helfen

Werbeanzeige