User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 427,095 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,311 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 273 | Replies: 8
Reply
Join Date: Apr 2007
Posts: 41
Reputation: vbCNEW is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
vbCNEW vbCNEW is offline Offline
Light Poster

Re: graphics programing in C & c++

  #1  
Jul 18th, 2008
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-...g.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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Location: the Netherlands
Posts: 1,779
Reputation: niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all 
Rep Power: 11
Solved Threads: 185
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Virtuoso

Re: graphics programing in C & c++

  #2  
Jul 18th, 2008
Originally Posted by vbCNEW View Post
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
Last edited by niek_e : Jul 18th, 2008 at 3:07 am.
Want better/more replies to your questions? Wrap your code in [code] [/code] tags!
do NOT pm me for help, in the best case, you'll get ignored
Reply With Quote  
Join Date: Apr 2007
Posts: 41
Reputation: vbCNEW is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
vbCNEW vbCNEW is offline Offline
Light Poster

Re: graphics programing in C & c++

  #3  
Jul 18th, 2008
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...
Reply With Quote  
Join Date: Oct 2006
Location: the Netherlands
Posts: 1,779
Reputation: niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all 
Rep Power: 11
Solved Threads: 185
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Virtuoso

Re: graphics programing in C & c++

  #4  
Jul 18th, 2008
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
Want better/more replies to your questions? Wrap your code in [code] [/code] tags!
do NOT pm me for help, in the best case, you'll get ignored
Reply With Quote  
Join Date: Apr 2007
Posts: 41
Reputation: vbCNEW is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
vbCNEW vbCNEW is offline Offline
Light Poster

Re: graphics programing in C & c++

  #5  
Jul 18th, 2008
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..
Reply With Quote  
Join Date: Oct 2006
Location: the Netherlands
Posts: 1,779
Reputation: niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all 
Rep Power: 11
Solved Threads: 185
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Virtuoso

Re: graphics programing in C & c++

  #6  
Jul 18th, 2008
Originally Posted by vbCNEW View Post
.....

add include directory in c++ library path

.....


Re-read my previous post:
Originally Posted by myself
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
Want better/more replies to your questions? Wrap your code in [code] [/code] tags!
do NOT pm me for help, in the best case, you'll get ignored
Reply With Quote  
Join Date: Apr 2007
Posts: 41
Reputation: vbCNEW is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
vbCNEW vbCNEW is offline Offline
Light Poster

Re: graphics programing in C & c++

  #7  
Jul 18th, 2008
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 ==========
Reply With Quote  
Join Date: Oct 2006
Location: the Netherlands
Posts: 1,779
Reputation: niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all 
Rep Power: 11
Solved Threads: 185
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Virtuoso

Re: graphics programing in C & c++

  #8  
Jul 18th, 2008
Originally Posted by vbCNEW View Post
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..
Want better/more replies to your questions? Wrap your code in [code] [/code] tags!
do NOT pm me for help, in the best case, you'll get ignored
Reply With Quote  
Join Date: Oct 2006
Location: the Netherlands
Posts: 1,779
Reputation: niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all niek_e is a name known to all 
Rep Power: 11
Solved Threads: 185
niek_e's Avatar
niek_e niek_e is offline Offline
Posting Virtuoso

Re: how to install clanlib

  #9  
Jul 22nd, 2008
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
Last edited by niek_e : Jul 22nd, 2008 at 5:25 am.
Want better/more replies to your questions? Wrap your code in [code] [/code] tags!
do NOT pm me for help, in the best case, you'll get ignored
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb C++ Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Other Threads in the C++ Forum

All times are GMT -4. The time now is 5:24 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC