I use Code::Blocks Oct 12 2006 and mingw32-gcc-3.4.2.
I installed DirectX SDK Oct 2006.
Project build options->Linker: d3d9, d3dx9
Project build options->Directories->Compiler: C:\Programme\Microsoft DirectX SDK (October 2006)\Include
Project build options->Directories->Linkerr: C:\Programme\Microsoft DirectX SDK (October 2006)\Lib\x86
I include:
#include <d3d9.h>
#include <d3dx9.h>
I compile the dll, everything is fine and works.
Then I add D3DXMatrixPerspectiveFovRH:
undefined reference to `D3DXMatrixPerspectiveFovRH@20'
Did I install the sdk correct?
Are the options correct?
Did I forget something?
Is this the correct forum?
Thanks for the help.
Alexander Meisel