Sign in to follow this  

setting up directx 9.0c and codeblocks

This topic is 2847 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

This topic is 2847 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this