good afternoon.. do you know how to install or configure clanlib in vs2005 ?? im getting hard time... i tried it so many times but up to now i havent succeed... i read this link
http://www.clanlib.org/docs/clanlib-0.8.0/Tutorial/Kavanek/01-Installing.html#windows
but its hard to understand and im not sure if i download all file they say...
i never found a external libraries they were claiming... is it all the links???

im using xp(OS)...

pls help..
im desparate.. tnx

im not sure if i download all file they say...
i never found a external libraries they were claiming... is it all the links???

I went to clanlib.org and clicked downloads->Win32, Microsoft Visual C++ 8 (precompiled binaries).
There's a link there that says: "For the lazy: All libs required by ClanLib-0.9" . How about clicking that and downloading it?

Then follow the rest of the tutorial. It looks relatively straight forward, so I can't explain it any better then that :)

i tried it again. but here the errors

Cannot open include file: 'dinput.h': No such file or directory

and

Cannot open include file: 'dsound.h': No such file or directory

and

Cannot open include file: 'png.h': No such file or directory

and

Cannot open include file: 'jpeglib.h

do you know how to fix this..

thank you very much...

If you downloaded the file I previously mentioned, you should have gotten 2 extra directories right?
In VS click:
- project-> ... properties
- click c/c++
- add the path to the "include" directory to "additional include directories" (on the right side of the screen)
- click 'linker'
- in the "additional library directories" field; enter the "lib" directory that came out of the rarfile

i already did that...

add lib directory in c++ library path

add include directory in c++ library path

that error makes my compile 24 succeeded and 24 failed...

sorry if i cant help..
thanks though..

.....

add include directory in c++ library path

.....

Re-read my previous post:

add the path to the "include" directory to "additional include directories"

Not to the library path, but to "additional include directories".

The lib-directory should be the only thing you add to the library-path.

If the problem still exists, post the errors

in VC++ directory -- library files --> i add c:development\external\lib
in VC++ directory -- include files --> i add c:development\external\include


after that i open configure.dsw

build...

heres the error


CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Build log was saved at "file://c:\development\ClanLib-0.8.1\Debug\Configure\BuildLog.htm"
Configure - 2 error(s), 15 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

in VC++ directory -- library files --> i add c:development\external\lib
in VC++ directory -- include files --> i add c:development\external\include

In the directory or in the project settings as I mentioned earlier?

I don't know what the duplicate resource-problem is, because I don't have ClanLib installed..

The dsound.h and dinput.h problems are because you didn't install the DirectX SDK. Get it here and try again. The png.h should be in the lazy-mans libratypack, so re-read post #4 on how to add additional include directories to a project

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.