Jump to content
  • Advertisement
Sign in to follow this  
savail

Problem with D3DXCreateSprite in DirectX 9

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

Hello I have been successfully learning DirectX 9 until I ran function: D3DXCreateSprite... The program doesn't even compile. I use Code::Blocks and I've got hundreds of errors and warnings after using the function above like:
D:\DirectX\include\d3d9types.h|25|warning: ignoring #pragma warning |
D:\DirectX\include\d3d9types.h|1850|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9math.h|19|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9math.h|1761|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9core.h|644|warning: multi-line comment|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR2_16F::D3DXVECTOR2_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|228|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR2_16F::operator==(const D3DXVECTOR2_16F&) const':|
D:\DirectX\include\d3dx9math.inl|257|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|257|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR2_16F::operator!=(const D3DXVECTOR2_16F&) const':|
D:\DirectX\include\d3dx9math.inl|263|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|263|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR3_16F::D3DXVECTOR3_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|457|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR3_16F::operator==(const D3DXVECTOR3_16F&) const':|
D:\DirectX\include\d3dx9math.inl|488|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|488|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR3_16F::operator!=(const D3DXVECTOR3_16F&) const':|
D:\DirectX\include\d3dx9math.inl|495|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|495|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR4_16F::D3DXVECTOR4_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|688|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|689|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR4_16F::operator==(const D3DXVECTOR4_16F&) const':|
D:\DirectX\include\d3dx9math.inl|729|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|729|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|730|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|730|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR4_16F::operator!=(const D3DXVECTOR4_16F&) const':|
D:\DirectX\include\d3dx9math.inl|736|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|736|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|737|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|737|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3d9types.h|25|warning: ignoring #pragma warning |
D:\DirectX\include\d3d9types.h|1850|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9math.h|19|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9math.h|1761|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9core.h|644|warning: multi-line comment|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR2_16F::D3DXVECTOR2_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|228|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR2_16F::operator==(const D3DXVECTOR2_16F&) const':|
D:\DirectX\include\d3dx9math.inl|257|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|257|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR2_16F::operator!=(const D3DXVECTOR2_16F&) const':|
D:\DirectX\include\d3dx9math.inl|263|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|263|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR3_16F::D3DXVECTOR3_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|457|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR3_16F::operator==(const D3DXVECTOR3_16F&) const':|
D:\DirectX\include\d3dx9math.inl|488|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|488|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR3_16F::operator!=(const D3DXVECTOR3_16F&) const':|
D:\DirectX\include\d3dx9math.inl|495|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|495|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR4_16F::D3DXVECTOR4_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|688|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|689|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR4_16F::operator==(const D3DXVECTOR4_16F&) const':|
D:\DirectX\include\d3dx9math.inl|729|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|729|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|730|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|730|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR4_16F::operator!=(const D3DXVECTOR4_16F&) const':|
D:\DirectX\include\d3dx9math.inl|736|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|736|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|737|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|737|warning: dereferencing type-punned pointer will break strict-aliasing rules|
||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|
||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|
||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|
||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|
||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|
||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|
||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|
||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|
||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|
||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|
||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|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
12]+0x1b)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
8]+0x28)||undefined reference to `??2@YAPAXI@Z'|
12]+0x1b)||undefined reference to `??2@YAPAXI@Z'|
28]+0x25)||undefined reference to `??2@YAPAXI@Z'|
28]+0x28)||undefined reference to `??2@YAPAXI@Z'|
8]+0x25)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x1f)||undefined reference to `IID_IUnknown'|
Z]+0xd)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x14)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0xdd)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0xe9)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0xf4)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0xff)||undefined reference to `??3@YAXPAX@Z'|
Z]+0xf7)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x59)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x77)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x81)||undefined reference to `??2@YAPAXI@Z'|
Z]+0xb4)||undefined reference to `??3@YAXPAX@Z'|
Z]+0xc9)||undefined reference to `??2@YAPAXI@Z'|
Z]+0xdf)||undefined reference to `??3@YAXPAX@Z'|
Z]+0xf0)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x145)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x1f)||undefined reference to `IID_IUnknown'|
Z]+0x1e)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x78)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x32)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x68)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x32)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x68)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x32)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x68)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x43)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x7d)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x32)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x65)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x29)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x67)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 116 warnings ===|

Has anyone ever met with such a problem? I hardly find any information about this. I will be very grateful for help!

Share this post


Link to post
Share on other sites
Advertisement

Hello I have been successfully learning DirectX 9 until I ran function: D3DXCreateSprite... The program doesn't even compile. I use Code::Blocks and I've got hundreds of errors and warnings after using the function above like:
D:\DirectX\include\d3d9types.h|25|warning: ignoring #pragma warning |
D:\DirectX\include\d3d9types.h|1850|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9math.h|19|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9math.h|1761|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9core.h|644|warning: multi-line comment|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR2_16F::D3DXVECTOR2_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|228|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR2_16F::operator==(const D3DXVECTOR2_16F&) const':|
D:\DirectX\include\d3dx9math.inl|257|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|257|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR2_16F::operator!=(const D3DXVECTOR2_16F&) const':|
D:\DirectX\include\d3dx9math.inl|263|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|263|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR3_16F::D3DXVECTOR3_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|457|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR3_16F::operator==(const D3DXVECTOR3_16F&) const':|
D:\DirectX\include\d3dx9math.inl|488|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|488|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR3_16F::operator!=(const D3DXVECTOR3_16F&) const':|
D:\DirectX\include\d3dx9math.inl|495|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|495|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR4_16F::D3DXVECTOR4_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|688|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|689|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR4_16F::operator==(const D3DXVECTOR4_16F&) const':|
D:\DirectX\include\d3dx9math.inl|729|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|729|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|730|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|730|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR4_16F::operator!=(const D3DXVECTOR4_16F&) const':|
D:\DirectX\include\d3dx9math.inl|736|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|736|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|737|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|737|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3d9types.h|25|warning: ignoring #pragma warning |
D:\DirectX\include\d3d9types.h|1850|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9math.h|19|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9math.h|1761|warning: ignoring #pragma warning |
D:\DirectX\include\d3dx9core.h|644|warning: multi-line comment|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR2_16F::D3DXVECTOR2_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|228|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR2_16F::operator==(const D3DXVECTOR2_16F&) const':|
D:\DirectX\include\d3dx9math.inl|257|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|257|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR2_16F::operator!=(const D3DXVECTOR2_16F&) const':|
D:\DirectX\include\d3dx9math.inl|263|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|263|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR3_16F::D3DXVECTOR3_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|457|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR3_16F::operator==(const D3DXVECTOR3_16F&) const':|
D:\DirectX\include\d3dx9math.inl|488|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|488|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR3_16F::operator!=(const D3DXVECTOR3_16F&) const':|
D:\DirectX\include\d3dx9math.inl|495|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|495|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In constructor 'D3DXVECTOR4_16F::D3DXVECTOR4_16F(const D3DXFLOAT16*)':|
D:\DirectX\include\d3dx9math.inl|688|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|689|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR4_16F::operator==(const D3DXVECTOR4_16F&) const':|
D:\DirectX\include\d3dx9math.inl|729|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|729|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|730|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|730|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl||In member function 'BOOL D3DXVECTOR4_16F::operator!=(const D3DXVECTOR4_16F&) const':|
D:\DirectX\include\d3dx9math.inl|736|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|736|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|737|warning: dereferencing type-punned pointer will break strict-aliasing rules|
D:\DirectX\include\d3dx9math.inl|737|warning: dereferencing type-punned pointer will break strict-aliasing rules|
||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|
||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|
||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|
||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|
||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|
||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|
||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|
||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|
||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|
||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|
||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|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
12]+0x1b)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
8]+0x28)||undefined reference to `??2@YAPAXI@Z'|
12]+0x1b)||undefined reference to `??2@YAPAXI@Z'|
28]+0x25)||undefined reference to `??2@YAPAXI@Z'|
28]+0x28)||undefined reference to `??2@YAPAXI@Z'|
8]+0x25)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x1f)||undefined reference to `IID_IUnknown'|
Z]+0xd)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x14)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0xdd)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0xe9)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0xf4)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0xff)||undefined reference to `??3@YAXPAX@Z'|
Z]+0xf7)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x59)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x77)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x81)||undefined reference to `??2@YAPAXI@Z'|
Z]+0xb4)||undefined reference to `??3@YAXPAX@Z'|
Z]+0xc9)||undefined reference to `??2@YAPAXI@Z'|
Z]+0xdf)||undefined reference to `??3@YAXPAX@Z'|
Z]+0xf0)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x145)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x1f)||undefined reference to `IID_IUnknown'|
Z]+0x1e)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x78)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x32)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x68)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x32)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x68)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x32)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x68)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x43)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x7d)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x15)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x32)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x65)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
Z]+0x29)||undefined reference to `??2@YAPAXI@Z'|
Z]+0x67)||undefined reference to `??3@YAXPAX@Z'|
XZ]+0x3)||undefined reference to `??3@YAXPAX@Z'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 116 warnings ===|

Has anyone ever met with such a problem? I hardly find any information about this. I will be very grateful for help!


Okay, have you used any other D3DX functions before this one? It seems to me like there's a problem with you linking against the D3DX9 libraries.?

Share this post


Link to post
Share on other sites
You're not using C by any chance are you? The D3DX stuff widely uses it's own types which are C++ classes and won't work in C code.

Share this post


Link to post
Share on other sites
Ah nevermind guys, I have already changed my IDE from code::blocks to visual C++ and now everything is fine ^^ but thanks a lot for your answers

Share this post


Link to post
Share on other sites
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!