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

1

09.06.2006, 21:58

problem mit 2d framework von david scherfgen

beim kompilieren bringt der linker mir folgende fehler:

------ Erstellen gestartet: Projekt: StartingPoint NET 2003, Konfiguration: Debug Win32 ------
Verknüpfen...
main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__ShowCursor@4" in Funktion ""public: virtual void __thiscall Intro::render(float)" (?render@Intro@@UAEXM@Z)".
audio.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_DirectSoundCreate8@12" in Funktion ""public: __thiscall dus::Audio::Audio(void)" (??0Audio@dus@@QAE@XZ)".
font.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_D3DXCreateFontA@48" in Funktion ""public: __thiscall dus::Font::Font(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,int,unsigned long)" (??0Font@dus@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHK@Z)".
font.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__SetRect@20" in Funktion ""public: void __thiscall dus::Font::drawText(class dus::Surface *,struct D3DXVECTOR2 const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long,unsigned long)" (?drawText@Font@dus@@QAEXPAVSurface@2@ABUD3DXVECTOR2@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@KK@Z)".
graphics.obj : error LNK2001: Nicht aufgelöstes externes Symbol "__imp__SetRect@20".
game.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__PostQuitMessage@4" in Funktion ""public: void __thiscall dus::Game::quit(void)" (?quit@Game@dus@@QAEXXZ)".
graphics.obj : error LNK2001: Nicht aufgelöstes externes Symbol "__imp__PostQuitMessage@4".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_Direct3DCreate9@4" in Funktion ""public: __thiscall dus::Graphics::Graphics(int,int,int,unsigned long,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Graphics@dus@@QAE@HHHKABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__CreateWindowExA@48" in Funktion ""public: __thiscall dus::Graphics::Graphics(int,int,int,unsigned long,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Graphics@dus@@QAE@HHHKABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__GetSystemMetrics@4" in Funktion ""public: __thiscall dus::Graphics::Graphics(int,int,int,unsigned long,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Graphics@dus@@QAE@HHHKABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__AdjustWindowRect@12" in Funktion ""public: __thiscall dus::Graphics::Graphics(int,int,int,unsigned long,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Graphics@dus@@QAE@HHHKABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__RegisterClassExA@4" in Funktion ""public: __thiscall dus::Graphics::Graphics(int,int,int,unsigned long,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Graphics@dus@@QAE@HHHKABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__LoadCursorA@8" in Funktion ""public: __thiscall dus::Graphics::Graphics(int,int,int,unsigned long,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0Graphics@dus@@QAE@HHHKABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__UnregisterClassA@8" in Funktion ""public: virtual __thiscall dus::Graphics::~Graphics(void)" (??1Graphics@dus@@UAE@XZ)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__DispatchMessageA@4" in Funktion ""public: bool __thiscall dus::Graphics::processWindowMessages(void)" (?processWindowMessages@Graphics@dus@@QAE_NXZ)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__TranslateMessage@4" in Funktion ""public: bool __thiscall dus::Graphics::processWindowMessages(void)" (?processWindowMessages@Graphics@dus@@QAE_NXZ)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__PeekMessageA@20" in Funktion ""public: bool __thiscall dus::Graphics::processWindowMessages(void)" (?processWindowMessages@Graphics@dus@@QAE_NXZ)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_D3DXSaveSurfaceToFileA@20" in Funktion ""public: void __thiscall dus::Graphics::saveScreenshot(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?saveScreenshot@Graphics@dus@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__DefWindowProcA@16" in Funktion ""long __stdcall dus::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@dus@@YGJPAUHWND__@@IIJ@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__EndPaint@8" in Funktion ""long __stdcall dus::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@dus@@YGJPAUHWND__@@IIJ@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__FillRect@12" in Funktion ""long __stdcall dus::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@dus@@YGJPAUHWND__@@IIJ@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__GetStockObject@4" in Funktion ""long __stdcall dus::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@dus@@YGJPAUHWND__@@IIJ@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__BeginPaint@8" in Funktion ""long __stdcall dus::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@dus@@YGJPAUHWND__@@IIJ@Z)".
graphics.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__DestroyWindow@4" in Funktion ""long __stdcall dus::windowProc(struct HWND__ *,unsigned int,unsigned int,long)" (?windowProc@dus@@YGJPAUHWND__@@IIJ@Z)".
input.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_c_dfDIMouse2".
input.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_c_dfDIKeyboard".
input.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_DirectInput8Create@20" in Funktion ""public: __thiscall dus::Input::Input(void)" (??0Input@dus@@QAE@XZ)".
particleemitter.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_D3DXVec2Normalize@8" in Funktion ""private: void __thiscall dus::ParticleEmitter::emit(class std::list<struct dus::Particle,class std::allocator<struct dus::Particle> > &,float)" (?emit@ParticleEmitter@dus@@AAEXAAV?$list@UParticle@dus@@V?$allocator@UParticle@dus@@@std@@@std@@M@Z)".
utils.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_D3DXVec2Normalize@8".
surface.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_D3DXCreateRenderToSurface@28" in Funktion ""public: __thiscall dus::Surface::Surface(int,int)" (??0Surface@dus@@QAE@HH@Z)".
surface.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_D3DXCreateTexture@32" in Funktion ""public: __thiscall dus::Surface::Surface(int,int)" (??0Surface@dus@@QAE@HH@Z)".
surface.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_D3DXCreateTextureFromFileExA@56" in Funktion ""public: __thiscall dus::Surface::Surface(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool,unsigned long)" (??0Surface@dus@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_NK@Z)".
surface.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_D3DXCreateTextureFromResourceExA@60" in Funktion ""public: __thiscall dus::Surface::Surface(struct HINSTANCE__ *,char const *,bool,unsigned long)" (??0Surface@dus@@QAE@PAUHINSTANCE__@@PBD_NK@Z)".
utils.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__MessageBoxA@16" in Funktion ""void __cdecl dus::errorMsg(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int)" (?errorMsg@dus@@YAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z)".
Debug/Programm.exe : fatal error LNK1120: 31 nicht aufgelöste externe Verweise.
Das Buildprotokoll wurde unter "file://f:\framework 2d\Framework und Beispiele\StartingPoint\Debug\BuildLog.htm" gespeichert.
StartingPoint NET 2003 - 35 Fehler, 0 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========



keine ahnung was da nicht gelinkt werden sein soll oder so.. auf jedenfall hab ich das akutelle directx sdk und alle libs /header sind der IDE bekannt (bringt ja auch keinen fehler wie"d3dx9.h konnte nicht gefunden werden" oder "d3dx9.lib konnte nicht gebunden werden" oder so)

hat jemand hilfe?

David Scherfgen

Administrator

Beiträge: 10 382

Wohnort: Hildesheim

Beruf: Wissenschaftlicher Mitarbeiter

  • Private Nachricht senden

2

09.06.2006, 22:15

Was versuchst du zu kompilieren?
Eine der vorgefertigten Projektdateien? Oder hast du die Dateien selbst zusammengestellt (und höchstwahrscheinlich dabei welche vergessen)?

3

10.06.2006, 00:06

das "starting point" projekt

das andere funktioniert übrigends auch nicht, da kommen die gleichen fehler

ach ja: ich benutze visual c++ 2005 express edition (platform sdk ist installiert)

4

11.06.2006, 21:18

*bump* @_@ problem konnte leider noch nicht gelöst werden^^

David Scherfgen

Administrator

Beiträge: 10 382

Wohnort: Hildesheim

Beruf: Wissenschaftlicher Mitarbeiter

  • Private Nachricht senden

5

11.06.2006, 21:55

Ich kann es leider nicht nachvollziehen.

6

11.06.2006, 22:17

Hmm da scheint was bei deiner Platform SDK install daneben gegangen zu sein... sonnst zeig mal welche Libs alle gelinkt sind...
Devil Entertainment :: Your education is our inspiration
Der Spieleprogrammierer :: Community Magazin
Merlin - A Legend awakes :: You are a dedicated C++ (DirectX) programmer and you have ability to work in a team? Contact us!
Siedler II.5 RttR :: The old settlers-style is comming back!

Also known as (D)Evil

Anonymous

unregistriert

7

11.06.2006, 22:49

David Scherfgen
Apropos 2D Framework. Was ich Dich schon immer mal fragen wollte: Was passiert eigentlich bei Deinem Framework wenn ich eine Textur lade die nicht in eine Zweierpotenz ist und der Treiber oder sogar die GraKa die nicht abhaben kann? :roll:

matthias

Alter Hase

Beiträge: 449

Wohnort: wipperfürth

  • Private Nachricht senden

8

11.06.2006, 23:10

Zitat von »"nix da"«

David Scherfgen
Apropos 2D Framework. Was ich Dich schon immer mal fragen wollte: Was passiert eigentlich bei Deinem Framework wenn ich eine Textur lade die nicht in eine Zweierpotenz ist und der Treiber oder sogar die GraKa die nicht abhaben kann? :roll:

wird von D3DXCreateTextureFromFileEx erledigt, glaub ich ^^
"In those days spirits were brave, the stakes were high, men were REAL men, women were REAL women, and small furry creatures from Alpha Centauri were REAL small furry creatures from Aplha Centauri."

9

12.06.2006, 03:48

Zitat von »"Devil"«

Hmm da scheint was bei deiner Platform SDK install daneben gegangen zu sein... sonnst zeig mal welche Libs alle gelinkt sind...


da musste man nicht viel installen.. libs und header, das wars

Werbeanzeige