I found that they are declared in irrmath.h, and simply included in vector2d.h
now Dev-Cpp compiles all the source, but when linking to the dll I got a lot of undefined reference messages...
is that a problem of Dev-Cpp dll compiling system? Because someone said that DevCpp has some trobules compiling dlls?
Please help me
these are the undefined references:
CFileSystem.o(.text+0x2a2):CFileSystem.cpp: undefined reference to `irr::io::CTextReader::CTextReader(irr::io::IReadFile*)'
CFileSystem.o(.text+0x2d4):CFileSystem.cpp: undefined reference to `irr::io::CXMLReader::CXMLReader(irr::io::CTextReader*)'
CFileSystem.o(.text+0x443):CFileSystem.cpp: undefined reference to `irr::io::CXMLWriter::CXMLWriter(irr::io::IWriteFile*)'
CFileSystem.o(.text+0x72):CFileSystem.cpp: undefined reference to `irr::io::createWriteFile(char const*, bool)'
CGUIEnvironment.o(.text+0xd22):CGUIEnvironment.cpp: undefined reference to `irr::gui::CGUICheckBox::CGUICheckBox(bool, irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, int, irr::core::rect<int>)'
CGUIEnvironment.o(.text+0x12d3):CGUIEnvironment.cpp: undefined reference to `irr::gui::CGUIEditBox::CGUIEditBox(wchar_t const*, bool, irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, int, irr::core::rect<int> const&, irr::IOSOperator*)'
CGUIEnvironment.o(.text+0x13ee):CGUIEnvironment.cpp: undefined reference to `irr::gui::CGUITabControl::CGUITabControl(irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, irr::core::rect<int> const&, bool, bool, int)'
CGUIEnvironment.o(.text+0x14ff):CGUIEnvironment.cpp: undefined reference to `irr::gui::CGUITab::CGUITab(int, irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, irr::core::rect<int> const&, int)'
CGUIEnvironment.o(.text+0x163c):CGUIEnvironment.cpp: undefined reference to `irr::gui::CGUIContextMenu::CGUIContextMenu(irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, int, irr::core::rect<int>, bool)'
CGUIEnvironment.o(.text+0x17b9):CGUIEnvironment.cpp: undefined reference to `irr::gui::CGUIMenu::CGUIMenu(irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, int, irr::core::rect<int>)'
CGUIEnvironment.o(.text+0x18f2):CGUIEnvironment.cpp: undefined reference to `irr::gui::CGUIToolBar::CGUIToolBar(irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, int, irr::core::rect<int>)'
CGUIEnvironment.o(.text+0x1a23):CGUIEnvironment.cpp: undefined reference to `irr::gui::CGUIComboBox::CGUIComboBox(irr::gui::IGUIEnvironment*, irr::gui::IGUIElement*, int, irr::core::rect<int>)'
CIrrDeviceWin32.o(.text+0x41f):CIrrDeviceWin32.cpp: undefined reference to `irr::video::createDirectX9Driver(irr::core::dimension2d<int> const&, HWND__*, unsigned int, bool, bool, irr::io::IFileSystem*, bool, bool)'
CIrrDeviceWin32.o(.text+0x2ad9):CIrrDeviceWin32.cpp: undefined reference to `irr::COSOperator::COSOperator(char const*)'
CIrrDeviceWin32.o(.text+0x3299):CIrrDeviceWin32.cpp: undefined reference to `irr::COSOperator::COSOperator(char const*)'
CSceneManager.o(.text+0xd4):CSceneManager.cpp: undefined reference to `irr::scene::CTextSceneNode::CTextSceneNode(irr::scene::ISceneNode*, irr::scene::ISceneManager*, int, irr::gui::IGUIFont*, irr::scene::ISceneCollisionManager*, irr::core::vector3d<float> const&, wchar_t const*, irr::video::SColor)'
CSceneManager.o(.text+0x125f):CSceneManager.cpp: undefined reference to `irr::scene::CTerrainSceneNode::CTerrainSceneNode(irr::scene::ISceneNode*, irr::scene::ISceneManager*, int, irr::core::vector3d<float> const&, irr::core::vector3d<float> const&, irr::core::vector3d<float> const&)'
CSceneManager.o(.text+0x12aa):CSceneManager.cpp: undefined reference to `irr::scene::CTerrainSceneNode::load(irr::video::IImage*, irr::video::IImage*, irr::video::ITexture*, irr::core::dimension2d<float> const&, irr::core::dimension2d<int> const&, float)'
CSceneManager.o(.text+0x13b2):CSceneManager.cpp: undefined reference to `irr::scene::CEmptySceneNode::CEmptySceneNode(irr::scene::ISceneNode*, irr::scene::ISceneManager*, int)'
CSceneManager.o(.text+0x1c38):CSceneManager.cpp: undefined reference to `irr::scene::CSceneNodeAnimatorFollowSpline::CSceneNodeAnimatorFollowSpline(unsigned int, irr::core::array<irr::core::vector3d<float> > const&, float, float)'
CSceneManager.o(.text+0x4ccf):CSceneManager.cpp: undefined reference to `irr::scene::CXMeshFileLoader::CXMeshFileLoader(irr::scene::IMeshManipulator*, irr::video::IVideoDriver*)'
CSceneManager.o(.text+0x59bf):CSceneManager.cpp: undefined reference to `irr::scene::CXMeshFileLoader::CXMeshFileLoader(irr::scene::IMeshManipulator*, irr::video::IVideoDriver*)'
CSoftwareTexture.o(.text+0x10a):CSoftwareTexture.cpp: undefined reference to `irr::video::CImage::CImage(irr::video::ECOLOR_FORMAT, irr::video::IImage*)'
CSoftwareTexture.o(.text+0x1d2):CSoftwareTexture.cpp: undefined reference to `irr::video::CImage::CImage(irr::video::ECOLOR_FORMAT, irr::core::dimension2d<int> const&)'
CSoftwareTexture.o(.text+0x1f1):CSoftwareTexture.cpp: undefined reference to `irr::video::CImage::copyToScaling(irr::video::CImage*)'
CSoftwareTexture.o(.text+0x31a):CSoftwareTexture.cpp: undefined reference to `irr::video::CImage::CImage(irr::video::ECOLOR_FORMAT, irr::video::IImage*)'
CSoftwareTexture.o(.text+0x3e2):CSoftwareTexture.cpp: undefined reference to `irr::video::CImage::CImage(irr::video::ECOLOR_FORMAT, irr::core::dimension2d<int> const&)'
CSoftwareTexture.o(.text+0x401):CSoftwareTexture.cpp: undefined reference to `irr::video::CImage::copyToScaling(irr::video::CImage*)'
CSoftwareTexture.o(.text+0x725):CSoftwareTexture.cpp: undefined reference to `irr::video::CImage::copyToScaling(irr::video::CImage*)'
CVideoDirectX8.o(.text+0x5934):CVideoDirectX8.cpp: undefined reference to `irr::video::CD3D8ShaderMaterialRenderer::CD3D8ShaderMaterialRenderer(IDirect3DDevice8*, irr::video::IVideoDriver*, int&, char const*, char const*, irr::video::IShaderConstantSetCallBack*, irr::video::IMaterialRenderer*)'
CVideoNull.o(.text+0xd41):CVideoNull.cpp: undefined reference to `irr::video::CImage::CImage(irr::video::ECOLOR_FORMAT, irr::core::dimension2d<int> const&, void*)'
CVideoNull.o(.text+0x247e):CVideoNull.cpp: undefined reference to `irr::video::createImageLoaderBmp()'
CVideoNull.o(.text+0x2553):CVideoNull.cpp: undefined reference to `irr::video::createImageLoaderJPG()'
CVideoNull.o(.text+0x262e):CVideoNull.cpp: undefined reference to `irr::video::createImageLoaderTGA()'
CVideoNull.o(.text+0x2709):CVideoNull.cpp: undefined reference to `irr::video::createImageLoaderPSD()'
CVideoNull.o(.text+0x27e4):CVideoNull.cpp: undefined reference to `irr::video::createImageLoaderPCX()'
CVideoNull.o(.text+0x2d7e):CVideoNull.cpp: undefined reference to `irr::video::createImageLoaderBmp()'
CVideoNull.o(.text+0x2e53):CVideoNull.cpp: undefined reference to `irr::video::createImageLoaderJPG()'
CVideoNull.o(.text+0x2f2e):CVideoNull.cpp: undefined reference to `irr::video::createImageLoaderTGA()'
CVideoNull.o(.text+0x3009):CVideoNull.cpp: undefined reference to `irr::video::createImageLoaderPSD()'
CVideoNull.o(.text+0x30e4):CVideoNull.cpp: undefined reference to `irr::video::createImageLoaderPCX()'
CVideoNull.o(.text+0x418c):CVideoNull.cpp: undefined reference to `irr::video::CImage::CImage(irr::video::ECOLOR_FORMAT, irr::core::dimension2d<int> const&)'
CVideoOpenGL.o(.text+0x3a7a):CVideoOpenGL.cpp: undefined reference to `irr::video::COpenGLShaderMaterialRenderer::COpenGLShaderMaterialRenderer(irr::video::CVideoOpenGL*, int&, char const*, char const*, irr::video::IShaderConstantSetCallBack*, irr::video::IMaterialRenderer*)'
CVideoSoftware.o(.text+0x591):CVideoSoftware.cpp: undefined reference to `irr::video::CImage::fill(short)'
CVideoSoftware.o(.text+0x697):CVideoSoftware.cpp: undefined reference to `irr::video::CImage::drawLine(irr::core::position2d<int> const&, irr::core::position2d<int> const&, short)'
CVideoSoftware.o(.text+0x757):CVideoSoftware.cpp: undefined reference to `irr::video::CImage::copyToWithAlpha(irr::video::CImage*, irr::core::position2d<int> const&, irr::core::rect<int> const&, short, irr::core::rect<int> const*)'
CVideoSoftware.o(.text+0x793):CVideoSoftware.cpp: undefined reference to `irr::video::CImage::copyTo(irr::video::CImage*, irr::core::position2d<int> const&, irr::core::rect<int> const&, irr::core::rect<int> const*)'
CVideoSoftware.o(.text+0x12a4):CVideoSoftware.cpp: undefined reference to `irr::video::CImage::CImage(irr::video::ECOLOR_FORMAT, irr::core::dimension2d<int> const&)'
CVideoSoftware.o(.text+0x12cb):CVideoSoftware.cpp: undefined reference to `irr::video::CImage::fill(short)'
CVideoSoftware.o(.text+0x18a4):CVideoSoftware.cpp: undefined reference to `irr::video::CImage::CImage(irr::video::ECOLOR_FORMAT, irr::core::dimension2d<int> const&)'
CVideoSoftware.o(.text+0x18cb):CVideoSoftware.cpp: undefined reference to `irr::video::CImage::fill(short)'
CVideoSoftware.o(.text+0x1ba0):CVideoSoftware.cpp: undefined reference to `irr::video::CImage::drawRectangle(irr::core::rect<int> const&, irr::video::SColor)'
CVideoSoftware.o(.text+0x647):CVideoSoftware.cpp: undefined reference to `irr::video::CImage::copyTo(irr::video::CImage*, irr::core::position2d<int> const&)'
CGeometryCreator.o(.text+0x14de):CGeometryCreator.cpp: undefined reference to `irr::video::CImage::CImage(irr::video::IImage*, irr::core::position2d<int> const&, irr::core::dimension2d<int> const&)'
CIrrDeviceStub.o(.text+0x6a0):CIrrDeviceStub.cpp: undefined reference to `irr::CLogger::setReceiver(irr::IEventReceiver*)'
CIrrDeviceStub.o(.text+0x111c):CIrrDeviceStub.cpp: undefined reference to `irr::CLogger::CLogger(irr::IEventReceiver*)'
CIrrDeviceStub.o(.text+0x158c):CIrrDeviceStub.cpp: undefined reference to `irr::CLogger::CLogger(irr::IEventReceiver*)'
what is strange is that if I search them in the API documentation of Irrlicht I don't find them!
I thought it could be a problem of the static libraries (*.a) but I'me sure I have included the ones from /lib/ directory