Jump to content
  • Advertisement
Sign in to follow this  
flyingaway

setting up directx 9.0c and codeblocks

This topic is 3060 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, i've been able to run a couple of directx examples in codeblocks but when i try an example that holds lights and D3DXVECTOR3 i get the following errors: C:\DXSDK\Include\d3d9types.h|25|warning: ignoring #pragma warning | C:\DXSDK\Include\d3d9types.h|1789|warning: ignoring #pragma warning | C:\DXSDK\Include\d3dx9math.h|19|warning: ignoring #pragma warning | C:\DXSDK\Include\d3dx9math.h|1385|warning: ignoring #pragma warning | C:\DXSDK\Include\d3dx9core.h|485|warning: multi-line comment| ||Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized| ||Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized| ||Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized| ||Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized| ||Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized| ||Warning: .drectve `/DEFAULTLIB:"uuid.lib" /DEFAULTLIB:"uuid.lib" ' unrecognized| XZ]+0x34)||undefined reference to `??3@YAXPAX@Z'| Z]+0x11)||undefined reference to `??3@YAXPAX@Z'| Z]+0x8)||undefined reference to `??3@YAXPAX@Z'| Z]+0xb4)||undefined reference to `__CxxThrowException@8'| Z]+0xd7)||undefined reference to `__except_list'| 8]+0x0)||undefined reference to `??_7type_info@@6B@'| 8]+0x0)||undefined reference to `??_7type_info@@6B@'| Z]+0x15)||undefined reference to `??3@YAXPAX@Z'| Z]+0x9)||undefined reference to `__chkstk'| Z]+0x6b)||undefined reference to `__CxxThrowException@8'| Z]+0x9)||undefined reference to `__chkstk'| UAGKXZ]+0x17)||undefined reference to `??3@YAXPAX@Z'| 20]+0x8d)||undefined reference to `??2@YAPAXI@Z'| 20]+0xe1)||undefined reference to `??2@YAPAXI@Z'| 20]+0x176)||undefined reference to `__except_list'| C:\DXSDK\Lib\d3dx.lib(obj\i386\shapes.obj):.\shapes.cpp:(.text$x+0x4)||undefined reference to `??3@YAXPAX@Z'| 24]+0x8a)||undefined reference to `??2@YAPAXI@Z'| 24]+0xda)||undefined reference to `??2@YAPAXI@Z'| 24]+0x17a)||undefined reference to `__except_list'| C:\DXSDK\Lib\d3dx.lib(obj\i386\shapes.obj):.\shapes.cpp:(.text$x+0x4)||undefined reference to `??3@YAXPAX@Z'| 32]+0xf3)||undefined reference to `??2@YAPAXI@Z'| 32]+0x14e)||undefined reference to `??2@YAPAXI@Z'| 32]+0x1fd)||undefined reference to `__except_list'| C:\DXSDK\Lib\d3dx.lib(obj\i386\shapes.obj):.\shapes.cpp:(.text$x+0x4)||undefined reference to `??3@YAXPAX@Z'| 28]+0xc8)||undefined reference to `??2@YAPAXI@Z'| 28]+0x124)||undefined reference to `??2@YAPAXI@Z'| 28]+0x16e)||undefined reference to `??2@YAPAXI@Z'| 28]+0x1f0)||undefined reference to `__except_list'| C:\DXSDK\Lib\d3dx.lib(obj\i386\shapes.obj):.\shapes.cpp:(.text$x+0x4)||undefined reference to `??3@YAXPAX@Z'| 12]+0x47)||undefined reference to `??2@YAPAXI@Z'| 12]+0x97)||undefined reference to `??2@YAPAXI@Z'| 12]+0x149)||undefined reference to `??2@YAPAXI@Z'| 12]+0x1b8)||undefined reference to `__except_list'| C:\DXSDK\Lib\d3dx.lib(obj\i386\shapes.obj):.\shapes.cpp:(.text$x+0x4)||undefined reference to `??3@YAXPAX@Z'| 24]+0xb4)||undefined reference to `??2@YAPAXI@Z'| 24]+0x10e)||undefined reference to `??2@YAPAXI@Z'| 24]+0x1ad)||undefined reference to `__except_list'| C:\DXSDK\Lib\d3dx.lib(obj\i386\shapes.obj):.\shapes.cpp:(.text$x+0x4)||undefined reference to `??3@YAXPAX@Z'| Z]+0x13d)||undefined reference to `__CxxThrowException@8'| Z]+0x1ad)||undefined reference to `__CxxThrowException@8'| Z]+0x77)||undefined reference to `__CxxThrowException@8'| QAEXXZ]+0x59)||undefined reference to `__CxxThrowException@8'| Z]+0x46)||undefined reference to `__CxxThrowException@8'| ||=== Build finished: 43 errors, 11 warnings ===| Anyone knows what i'm doing wrong here? regards

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!