Getting Error while porting source code to powerpc platform : fatal error: tbb/mutex.h: No such file or directory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Getting Error while porting source code to powerpc platform : fatal error: tbb/mutex.h: No such file or directory

ソリューションへジャンプ
1,971件の閲覧回数
vigneshr
Contributor III

Hi All,

I'm porting source code to PowerPC platform, While porting the source code Im facing error like below


#############################################################################################################
In file included from build/debug/vnsw/agent/cfg/cfg_constants.cpp:8:0:

| controller/src/base/trace.h:8:23: fatal error: tbb/mutex.h: No such file or directory

|  #include <tbb/mutex.h>

|                        ^

| compilation terminated.

| scons: *** [build/debug/vnsw/agent/cfg/cfg_constants.o] Error 1

| scons: building terminated because of errors.

| WARNING: exit code 2 from a shell command.

#############################################################################################################

I have included the tbb in the DEPENDS section of bb file, even though tbb is compiled and installed, It is giving the above error. Can anyone let me the know the solution if you aware on this ?? ..

Thanks in advance..

Regards,
Vignesh.

ラベル(1)
タグ(3)
0 件の賞賛
1 解決策
1,432件の閲覧回数
bpe
NXP Employee
NXP Employee

Bitbake can automatically build a package your software depends on, but it can't

automatically adjust references to it from your code. Check your makefiles to ensure

the headers your software requires are in the compiler search path. Details can

be found here:

Search Path - The C Preprocessor


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,433件の閲覧回数
bpe
NXP Employee
NXP Employee

Bitbake can automatically build a package your software depends on, but it can't

automatically adjust references to it from your code. Check your makefiles to ensure

the headers your software requires are in the compiler search path. Details can

be found here:

Search Path - The C Preprocessor


Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
1,432件の閲覧回数
vigneshr
Contributor III

Thanks bpe.. I resolved the issue.

0 件の賞賛