Linker errors in std::tr1::shared_ptr destructor

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

Linker errors in std::tr1::shared_ptr destructor

1,150件の閲覧回数
cw_Potz
Contributor I

Hi All,

 

I ran into some strange linker errors while building a project comprising both C and C++ files. I am using MSL (Metrowerks Standard Libraries) in my project.

 

I am using PowerPC EABI Linker. Version: Code Warrior PowerPC ISA, Release 8.5 Build 50425

Processor: 827x

 

Linker error:

Link Error : undefined: 'std::tr1::detail::shared_ptr_deleter_common::release()'

Referenced from 'std::tr1::shared_ptr<char>::~shared_ptr()'

 

Any ideas about this error ?? I googled and all the discussions were about macintosh and CW version 9.1. But I am using windows and CW version 8.5.

 

Thanks in advance !!

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 返信

854件の閲覧回数
CrasyCat
Specialist III

Hello

 

   Just mw 2 cents on this one.

   Did you link the C++ libraries with your application? Did you specify you wanted to use C++ as

   programming language when you created the project?

 

CrasyCat

0 件の賞賛
返信