PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Am I just stupid???(DAN or DIGBY PLEASE HELP!!!!)

Ok, as you all know, I am helping in the effort to port the psx to the ppc. Well, I rewrote the graphics, and everything compiles fine. Yet, when I go to build the program, it gives me errors like this....
Code:
sp_sdl.obj : error LNK2019: unresolved external symbol __imp_GXGetDisplayProperties referenced in function dsp_init


in every place that I called a gapi function. I have linked to gx.lib in my header, and have v1.2 on my comp, and I just cannot think of what could be causing this error. Is it possible that my lib is currupt?
uhm... don't you have to drag-and-drop the gx.lib file into your project to include it in the workspace?
no, you might be thinking of Visual Basic, but to include a lib, you go into the settings, and under linker (I believe) there is a line where you type in all of the libs that you want to include. like gx.lib


BTW, moose, did you want to help with the website? Contact me by AIM if you want to, I will be on for the next 10 or so minutes. (As you can see, I have some free time while I am waiting for the answer).
*bump
Included gx.h?
Of course, if I didn't I would get an error that says something like undeclared external funtion, assuming returning int, or something like that.
You try to call CPP func from a C module....

you must decl extern "C" etc.....



As you can see i help you.

Schtruck. :)
It's worth a shot, I'll try just about anything now.

Tried it out, and it worked. Damn, I am just plain stupid to not realize that.
BurningSheep · 26 May 2002, 23:53 UTC
just see it as a "learning experience" :lol: