Sign in to follow this  
savail

Problem with D3DXCreateSprite in DirectX 9

Recommended Posts

savail    333
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:
[code]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 ===|[/code]
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
DragonGeo2    100
[quote name='savail' timestamp='1302301681' post='4796121']
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:
[code]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 ===|[/code]
Has anyone ever met with such a problem? I hardly find any information about this. I will be very grateful for help!
[/quote]

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
savail    333
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

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