User forums > Using Code::Blocks
DirectX template
(1/1)
DrIFT:
I am trying to create a directX template. since i kind find a working one.
Am done with most of the things. Only one problem remaining.
I get the following error in debug mode (release mode runs perfectly)
HelloDirect3D.obj||error LNK2019: unresolved external symbol __CrtSetDbgFlag referenced in function _WinMain@16|
bin\Debug\project1.exe||fatal error LNK1120: 1 unresolved externals|
||=== Build finished: 2 errors, 0 warnings ===|
I searched the net and found that i have to #include <crtdbg.h>
But it is already included. I have read that some debug lib files are to be linked. But i am not sure which ones?
Please help
Jenna:
Your question is not related to C::B in any way and therefore violates our forum rules.
Topic locked !
Sorry I overread that you try to create a new C::B direct/X template.
I suggets to have a look at the existing diretcX-wizard from trunk, as it was updated to be useable with DX8 and DX9 in svn r5983.
DrIFT:
No solution so far.
Ne help would be appreciated.
stahta01:
Google says __CrtSetDbgFlag is in any MS Debug C Run-Time Libraries.
http://msdn.microsoft.com/en-us/library/abx4dbyh%28VS.71%29.aspx
Tim S.
Navigation
[0] Message Index
Go to full version