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 456,553 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 3,493 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: 532 | Replies: 5
Reply
Join Date: Oct 2007
Posts: 11
Reputation: anirudhbsg is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
anirudhbsg anirudhbsg is offline Offline
Newbie Poster

program not executing

  #1  
Oct 16th, 2007
hi there my c++ programs are not running an error message is coming that tv.lib not found but i have checked that this lib file is there along with other file in the path that i have specified in directories path option ... can anyone help me.....
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2004
Posts: 6,515
Reputation: Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of Narue has much to be proud of 
Rep Power: 31
Solved Threads: 489
Super Moderator
Narue's Avatar
Narue Narue is offline Offline
Expert Meanie

Re: program not executing

  #2  
Oct 16th, 2007
It sounds like you aren't actually linking with the library when you build your program. Why don't you describe exactly how you're compiling and linking the program? Oh, also mention your OS and compiler.
I'm here to prove you wrong.
Reply With Quote  
Join Date: Aug 2005
Location: near St Louis, Missouri, USA
Posts: 11,541
Reputation: Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of Ancient Dragon has much to be proud of 
Rep Power: 40
Solved Threads: 972
Moderator
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Most Valuable Poster

Re: program not executing

  #3  
Oct 16th, 2007
Originally Posted by anirudhbsg View Post
that this lib file is there along with other file in the path that i have specified in directories path option


If you mean the PATH environment variable then that is incorrect. The compilers I have used from the command-line all use the -L option to specify path to libraries or LIB environment variable.

If you are using an IDE then we need to know which one because they all do things a little differently.
Last edited by Ancient Dragon : Oct 16th, 2007 at 6:27 pm.
<<Freelance Programmer>> << Hobby Site>>
Signature links for sale. PM me for details
Reply With Quote  
Join Date: May 2006
Location: ★ ijug.net ★
Posts: 1,018
Reputation: ithelp will become famous soon enough ithelp will become famous soon enough 
Rep Power: 6
Solved Threads: 68
ithelp ithelp is online now Online
Veteran Poster

Re: program not executing

  #4  
Oct 17th, 2007
Or add it to LD_LIBRARY_PATH
Reply With Quote  
Join Date: Oct 2007
Posts: 11
Reputation: anirudhbsg is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
anirudhbsg anirudhbsg is offline Offline
Newbie Poster

Re: program not executing

  #5  
Oct 17th, 2007
Originally Posted by Narue View Post
It sounds like you aren't actually linking with the library when you build your program. Why don't you describe exactly how you're compiling and linking the program? Oh, also mention your OS and compiler.

i am using turbo c++ 3.0 and my os is win xp and i am using the tc ++ ide . my program is getting compiled but when i run it the linker generates that error ...
but i have also checked on other system this file is not available even there but there no such linking error is generated...
Reply With Quote  
Join Date: Dec 2005
Posts: 3,834
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 23
Solved Threads: 436
Colleague
Salem's Avatar
Salem Salem is offline Offline
banned

Re: program not executing

  #6  
Oct 17th, 2007
Check the paths in the project settings, and add to the linker search path the location where that library is stored.

> i am using turbo c++ 3.0 and my os is win xp
So when were you planning to join this millennium?
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

Similar Threads
Other Threads in the C++ Forum

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