Hello. I have been using DB Pro for awhile now. I am switching to GDK and I am having problems adding the D3D plugin. D3D has a GDK version and I added the .h header file to my project folder and the lib file. I went to my project preferences>linker>input> and added D3DFunc.lib into it. I ran it as a blank file and it worked with no errors. I then added the code d3dCircle(200,200,10,1); and got an error. Is this how you add a plugin to GDK or did I mess it up? Any information on how to add plugins to GDK would be great. I plan to attempt multisync after I get d3d working.
Error:
1>LINK : fatal error LNK1104: cannot open file 'libcp.lib'
Code:
// include the Dark GDK header file (http://forum.thegamecreators.com/?m=forum_read&i=22)
#include "DarkGDK.h"
#include "D3DFunc.h"
void DarkGDK ( void )
{
while ( LoopGDK ( ) )
{
d3dCircle(200,200,10,1);
dbSync ( );
}
return;
}
mfield