In Every Menu Base same error

Posts 1–15 of 21 · Page 1 of 2
In Every Menu Base same error
In Every Menu Base same error
Hay
I get in every Menu Base(Gellin,Topbase)this error...Could that be because my DirectX ? I have the DirectX SDK June 2010 edition.


1>------ Erstellen gestartet: Projekt: TopBase, Konfiguration: Release Win32 ------
1>Base.obj : error LNK2001: Nicht aufgelöstes externes Symbol "_D3DXCreateFontA@48".
1>C:\Users\Denis\Desktop\TopBase_\Release\TopBase . dll : fatal error LNK1120: 1 nicht aufgelöste externe Verweise.
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========

In english:

1>------construction begun: Project: Top base, configuration: Release Win32------1> Base.obj: error LNK2001: Not distraught external symbol \ " _D3DXCreateFontA@48 \ ". 1> C: \\ of user \\ Denis \\ desktop \\ TopBase_ \\ release \\ TopBase.dll: fatally error LNK1120: 1 not distraught external references. ========== construction: 0 successfully, mistakes with 1, 0 topically, 0 jumped over ==========

Thanks for any Kind of help....
means there is a Symbol your not allowed to use.. remove it :S

am i right
Quote Originally Posted by GameTrainerMaker View Post
means there is a Symbol your not allowed to use.. remove it :S

am i right
Well....I dont know what symbol and i cant find it ^^
Quote Originally Posted by Sydney View Post
Well....I dont know what symbol and i cant find it ^^
" _D3DXCreateFontA@48

@48 means Line 48.
Quote Originally Posted by GameTrainerMaker View Post
" _D3DXCreateFontA@48

@48 means Line 48.
@48 means the arguments the function takes are equal to a total of 48 bytes. The rest is the name....

Reason you're getting this error is because you didn't link the libraries. D3DXCreateFontA is in d3dx9.lib but don't also forget to link d3d9.lib as well.
Quote Originally Posted by Void View Post
@48 means the arguments the function takes are equal to a total of 48 bytes. The rest is the name....

Reason you're getting this error is because you didn't link the libraries. D3DXCreateFontA is in d3dx9.lib but don't also forget to link d3d9.lib as well.
Thanks...But i am exactly a noob in d3d just made HotKey Hacks...Could you give me more Info please ?/

Thanks Void :**
Quote Originally Posted by Void View Post
@48 means the arguments the function takes are equal to a total of 48 bytes. The rest is the name....

Reason you're getting this error is because you didn't link the libraries. D3DXCreateFontA is in d3dx9.lib but don't also forget to link d3d9.lib as well.
thanks.. i had a feeling i was way off
Quote Originally Posted by Sydney View Post
Thanks...But i am exactly a noob in d3d just made HotKey Hacks...Could you give me more Info please ?/

Thanks Void :**
Then learn direct3D, and learn to link libraries.
Quote Originally Posted by Void View Post
@48 means the arguments the function takes are equal to a total of 48 bytes. The rest is the name....

Reason you're getting this error is because you didn't link the libraries. D3DXCreateFontA is in d3dx9.lib but don't also forget to link d3d9.lib as well.
void is right. U need to add that .

pram comment (lib, "d3dx9.lib")

make sure u have the lib location in ur source.(cant remember what it is called)
Quote Originally Posted by topblast View Post


void is right. U need to add that .

pragma comment (lib, "d3dx9.lib")

make sure u have the lib location in ur source.(cant remember what it is called)
/ Yeah but toplast is right. Make sure you put that in your source and you should be fine.
Thanks will edit if i found...

at line 48 is nothing with D3DXCreateFontA
I have a tutorial here on how to add include files and libraries into a project. It even has pictures. Search
I've heard that if you have these errors then you are defining the thing twice... like LPD3DXFONT (or what its name is)
So...
I tried everything...But i think its not hard for ya to give me this answer...I need one more Informacial Answer...Thanks for any kind of help


D3D first foo
Posts 1–15 of 21 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?