PDA

View Full Version : clanlib 0.8 asks for dinput.dll



cherrywilliams
11-24-2008, 03:18 PM
clanlib 0.8 refers to a directx library dinput.dll when some where in the source code. this however causes a problem with newer versions of directx as the name of dinput.dll has been changed to dinput8.dll . the problem can be fixed just by making a copy of dinput8.dll renaming it to dinput.dll and putting it in the same lib directory as all other directx libraries. i don't know if this has been fixed in later versions or caught by those smarter than me.

thanks just thought i'd let you know

by the way i am running windows vista 32bit with directx10 sdk

rombust
11-26-2008, 03:00 PM
We have known this for a while. It was fixed for ClanLib 0.9, but not for ClanLib 0.8

Now fixed in ClanLib 0.8 SVN.

Thanks

gpmfuchs
12-01-2008, 06:39 PM
Another windows problem compiling with VC8.0: windows has not unistd.h

gpmfuchs
12-01-2008, 07:40 PM
I get a clanCore-static-mt-debug.lib(init_win32.obj) : error LNK2019: unresolved external symbol __imp__timeBeginPeriod@4 referenced in function "void __cdecl init_system(void)" (?init_system@@YAXXZ) when trying to compile with the new svn version.

Shouldn't clanlib request the systemlibs it needs?

Seth
12-02-2008, 02:11 AM
Hey gpmfuchs, applied your patch, thanks.


I get a clanCore-static-mt-debug.lib(init_win32.obj) : error LNK2019: unresolved external symbol __imp__timeBeginPeriod@4 r


Hrm, it's strange my system can build the examples ok without manually adding winmm.lib. Maybe a difference in how VS8 Pro vs VS8/9 Express handles this?

I went ahead and added a #pragma comment(lib, "winmm.lib") to core.h, hopefully this will fix it.