Is there a probleme with DirectX9 and DevC++.
I 've seen lots of strange way to compile with directX8 but not with DirectX9
So i try to compile a very simple example to start with directX9 under DevC++, i put :
Win32 gui
-ld3dx9dt -ld3d9 -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32
the path to directX\lib and DirectX\lib\x64
the path to directX\include and directX\include...
But i have still a link probleme winth [Linker error] undefined reference to `Direct3DCreate9@4'
Any idea?
thanks a lot
xabi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
you shouldn't need additional directx packages since win32 api package version 3.1 (I believe). definitely with the latest one. If you're going to try it please let me know how it goes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there a probleme with DirectX9 and DevC++.
I 've seen lots of strange way to compile with directX8 but not with DirectX9
So i try to compile a very simple example to start with directX9 under DevC++, i put :
Win32 gui
-ld3dx9dt -ld3d9 -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32
the path to directX\lib and DirectX\lib\x64
the path to directX\include and directX\include...
But i have still a link probleme winth
[Linker error] undefined reference to `Direct3DCreate9@4'
Any idea?
thanks a lot
xabi
oups i put my message in a wrong place
sorry....
you shouldn't need additional directx packages since win32 api package version 3.1 (I believe). definitely with the latest one. If you're going to try it please let me know how it goes.