http://threadingbuildingblocks.org/ver.php?fid=174からtbb40_233oss_lin.tgzファイルをダウンロードしました
「TBBROOT」変数をbash_proflieのディレクトリに設定し、tarファイルを解凍して、binフォルダーに移動し、tbbvars.shファイルを実行しました。
入力しました
sh tbbvars.sh intel64
例を実行しようとしましたが、以下のように文句を言います
count_strings.cpp:38:37: fatal error: tbb/concurrent_hash_map.h: No such file or directory
ライブラリパスを手動で設定しようとしましたが、次のように入力しました
g++ file.cpp -o output -L/path/to/the/lib/-ltbb
しかし、それでも文句を言います。
Ubuntuでサンプルコードをコンパイルするにはどうすればよいですか?
前もって感謝します。