Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 00:56

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Linker Error

Discussion on Linker Error within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 46
Join Date: Oct 2010
Posts: 782
Received Thanks: 525
Linker Error

Deutsch :
Hallo,

ich versuche grade mit directx 9 Text in einem Fenster darzustellen. Kriege aber folgenden Fehler : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "_D3DXCreateFontIndirectW@12".
Habe folgendes in meinem Projekt drinne :
Code:
#include <d3d9.h> 
#include <d3dx9core.h>
#pragma comment(lib, "d3dx9.lib") 
#pragma comment(lib, "d3d9.lib")
Hier die Zeile wo der Fehler auftritt:
Code:
D3DXCreateFontIndirectW(pDevice,reinterpret_cast<D3DXFONT_DESCW*>(&font),reinterpret_cast<LPD3DXFONT*>(lpD3DFont));
Habe außerdem auch den Pfad zu den Librarys des Directx Sdks in den Projekt Einstellungen angegeben. Ich hoffe ihr könnt mir helfen. Sry falls es ein dummer Fehler ist und ich irgendwas übersehen habe, komme aber seit 30min nicht weiter deswegen ...
English :
Hello,
i am trying to display text into a window with directx 9. But im getting an error, saying that it can't resolve the external Symbol "_D3DXCreateFontIndirectW@12".
I set the Path to the Librarys from the Directx Sdk in the Project Settings and also wrote this at the top of my main File :
Code:
#include <d3d9.h> 
#include <d3dx9core.h>
#pragma comment(lib, "d3dx9.lib") 
#pragma comment(lib, "d3d9.lib")
Heres the line where the error happens :
Code:
D3DXCreateFontIndirectW(pDevice,reinterpret_cast<D3DXFONT_DESCW*>(&font),reinterpret_cast<LPD3DXFONT*>(lpD3DFont));
I hope someone can help me.
th0rex is offline  
Old 12/01/2013, 12:53   #2
 
Dr. Coxxy's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 1,206
Received Thanks: 736
Quote:
Habe außerdem auch den Pfad zu den Librarys des Directx Sdks in den Projekt Einstellungen angegeben. Ich hoffe ihr könnt mir helfen.
den lib pfad korrekt ausgewählt (32bit für 32bit kompilierung - unabhängig vom os, 64bit für 64bit kompilierung), lib pfad sowohl für debug und release richtig angegeben?
Dr. Coxxy is offline  
Thanks
1 User
Old 12/01/2013, 13:00   #3
 
elite*gold: 46
Join Date: Oct 2010
Posts: 782
Received Thanks: 525
Habe es gefixxt war nur ein bisschen dumm xD Habe 64lib für 32 kompilierung angeben. Danke.
th0rex is offline  
Reply


Similar Threads Similar Threads
Upgrade auf VS2010: Linker Error
02/16/2013 - Flyff Private Server - 2 Replies
Nachdem Mentus meinte die aldimaster Source währe nicht das wahre, hab ich mich selbst ans Werk gemacht und angefangen die Source auf VS2010 upzugraden. Server machen mir soweit keine Probleme mehr, bis auf den Worldserver. Ich kriege diesen Fehler: 1>exceptionhandler.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__GetNextStackTraceString@8" in Funktion ""long __stdcall CrashHandlerExceptionFilter(struct _EXCEPTION_POINTERS *)"...
[c++] Visual Studio Linker Error -.-
12/01/2012 - C/C++ - 3 Replies
Hallo! Ich habe ein Problem... Ich bekomme es nciht hin mein Projekt zu kompilieren, weil ich nach dem Einbau einer neuen Methode 2 Linker Fehler bekomme und ich nicht weiß wie ich diese ausmerzen kann -.- Vllt kann mir ja jemand weiterhelfen. Es handelt sich dabei um die Fehler LNK1120 und LNK2019. Google bringt mir leider keine adäquaten Lösungen :-/ http://www.imagebanana.com/view/5tpt44zw/Untitled 1.png
Source Compile Error [Microsoft Linker]
08/04/2012 - Flyff Private Server - 2 Replies
Hey wenn ich meine Source Compile komm ein error mit Microsoft linker das dieser abgestürzt ist. Was kann ich tun ?
OpenGL lib - Linker error
08/10/2006 - General Coding - 7 Replies
Jemand ne Ahnung was ich falsch gemacht hab? undefined reference to `orig_glMultiTexCoord2fARB' undefined reference to `orig_glActiveTextureARB' undefined reference to `orig_BindTextureEXT' (...) die werden wohl nich definiert sein... in der opengl32.h sind sie das aber :o



All times are GMT +1. The time now is 00:57.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.