Original Post
🔒 Locked
Please Help Me
Advertisement
You need to link with the direct3d library.
Go to Project->Settings and look at the Link tab. There you will find a field saying Object/Library Modules. Add d3d8.lib to the list... and you probably will want to add d3dx8.lib too.
Another way to link with libraries is to add a precompiler command in your source file. I use these two lines in my Direct3d wrapper class:
#pragma comment(lib, "d3d8.lib")
#pragma comment(lib, "d3dx8.lib")
Go to Project->Settings and look at the Link tab. There you will find a field saying Object/Library Modules. Add d3d8.lib to the list... and you probably will want to add d3dx8.lib too.
Another way to link with libraries is to add a precompiler command in your source file. I use these two lines in my Direct3d wrapper class:
#pragma comment(lib, "d3d8.lib")
#pragma comment(lib, "d3dx8.lib")
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement