LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 01-16-2011, 10:45 AM   #1
h.aliee
LQ Newbie
 
Registered: Sep 2010
Posts: 27

Rep: Reputation: 0
Question Linker: fatal error LNK1104: cannot open file 'tbb_debug.lib'


Dear all,

Recently I have downloaded TBB and I want to run a program using its libraries.
But I encountered the following error:

Linker: fatal error LNK1104: cannot open file 'tbb_debug.lib'

Can any one help me with this error?
Thanks in advance for your help.

Hana
 
Old 01-16-2011, 12:20 PM   #2
h.aliee
LQ Newbie
 
Registered: Sep 2010
Posts: 27

Original Poster
Rep: Reputation: 0
It was solved:

1. Locate the configuration scripts for your operating system. The scripts are located in the bin directory.
2. Execute the appropriate scripts or set properties for your operating system:

• On Linux* and Mac OS* X operating systems, from the bin directory, source the tbbvars.[c]sh script. These scripts modify the paths held by the LD_LIBRARY_PATH, DYLD_LIBRARY_PATH (Mac OS* X), and CPATH variables, and affect only your current shell.

• On Windows* operating systems, modify your Visual Studio project build configurations (debug, release) properties as follows:

C/C++ Properties

• General: add an additional include directory:
"$(TBB30_INSTALL_DIR)\include"

Linker Properties

• General: add an additional library directory (shown for Visual Studio 2005 32-bit library):
$(TBB30_INSTALL_DIR)\lib\ia32\vc8

• Input: add an additional dependency
tbb_debug.lib or tbb.lib
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
open lock file /var/lib/postfix/master.lock: cannot open file: Permission denied gabsik Linux - Server 6 08-30-2012 09:39 PM
[SOLVED] cryptic linker error (i really dont like linker errors); smeezekitty Programming 2 09-19-2009 02:21 AM
[SOLVED] gcc linker error - hidden symbol `stat' in /usr/lib/libc_nonshared.a(stat.oS) chaosless Linux - Software 1 09-17-2009 12:33 PM
[SOLVED] dpkg fatal error unable to open files list file Stale NFS file handle cmr26 Linux - Software 5 09-06-2009 04:10 PM
Can΄t start xorg in ubuntu 8.10 due to fatal error caused by /lib/modules DeepSeaNautilus Linux - Software 2 05-25-2009 10:36 PM


All times are GMT -5. The time now is 11:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration