poita
05-30-2007, 08:14 AM
Ok, so I've just started messing around with some basic DirectX stuff and up till now I've been using VS2005 on my desktop computer. I added the DX SDK include and library paths to the project directories and everything ran nicely; no problems.
However, I now want to be able to continue working on my project on my old laptop. This thing's only got a little 18Gb hard-drive and it's not so fast so I didn't bother with VS2005 and just installed Bloodshed Dev-C++ instead. I also installed the same DX SDK as well (April 2007). I loaded up my project, added the same include and library paths to the project look up directories but now I'm getting linker errors. To be specific:
[Linker error] undefined reference to `timeGetTime@0'
[Linker error] undefined reference to `timeGetTime@0'
[Linker error] undefined reference to `GetStockObject@4'
[Linker error] undefined reference to `Direct3DCreate9@4'
[Linker error] undefined reference to `D3DXCreateTextureFromFileW@12'
[Linker error] undefined reference to `D3DXMatrixLookAtLH@16'
[Linker error] undefined reference to `D3DXMatrixPerspectiveFovLH@20'
[Linker error] undefined reference to `D3DXMatrixTranslation@16'
[Linker error] undefined reference to `D3DXMatrixRotationX@8'
[Linker error] undefined reference to `D3DXMatrixRotationY@8'
[Linker error] undefined reference to `D3DXMatrixMultiply@12'
I also tried installing Dev-C++ on my desktop PC and I get the same errors.
I have no idea what the problem could be. Any help would be greatly appreciated.
Thanks in advance.
However, I now want to be able to continue working on my project on my old laptop. This thing's only got a little 18Gb hard-drive and it's not so fast so I didn't bother with VS2005 and just installed Bloodshed Dev-C++ instead. I also installed the same DX SDK as well (April 2007). I loaded up my project, added the same include and library paths to the project look up directories but now I'm getting linker errors. To be specific:
[Linker error] undefined reference to `timeGetTime@0'
[Linker error] undefined reference to `timeGetTime@0'
[Linker error] undefined reference to `GetStockObject@4'
[Linker error] undefined reference to `Direct3DCreate9@4'
[Linker error] undefined reference to `D3DXCreateTextureFromFileW@12'
[Linker error] undefined reference to `D3DXMatrixLookAtLH@16'
[Linker error] undefined reference to `D3DXMatrixPerspectiveFovLH@20'
[Linker error] undefined reference to `D3DXMatrixTranslation@16'
[Linker error] undefined reference to `D3DXMatrixRotationX@8'
[Linker error] undefined reference to `D3DXMatrixRotationY@8'
[Linker error] undefined reference to `D3DXMatrixMultiply@12'
I also tried installing Dev-C++ on my desktop PC and I get the same errors.
I have no idea what the problem could be. Any help would be greatly appreciated.
Thanks in advance.