Hi everybody ! I'm using Codeblocks and mingw, trying to do something with a controller lib (for a spaceMouse) and Ogre3D, I'm rebuilding the controller lib in codeblocks and everything is ok, but when I try to access one method in that lib I got this error : undefined reference to `SiOpenWinInit(SiOpenData*, HWND__*)' Method definition (in Lib) is : void SiOpenWinInit (SiOpenData *pData, HWND hWnd) { ... } And the method call (in my app) is : HWND hwnd = ((D3D9RenderWindow*)(win))->getWindowHandle(); SiOpenWinInit (&oData, hwnd); I tried so many things but nothing works here, Can somebody help me with this please ? Thanks in advance
You may verify the lib path(absolute reference or relative reference) you introduced in you program. ASSERT(hwnd ==NULL);