Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 01-16-2011, 10:45 AM   #1
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.

Old 01-16-2011, 12:20 PM   #2
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:

Linker Properties

• General: add an additional library directory (shown for Visual Studio 2005 32-bit library):

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


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 > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:35 AM.

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