2010-12-01

面倒だなぁ…

libFLAC++_static.lib(stream_decoder.obj) : error LNK2019: 未解決の外部シンボル "__declspec(dllimport) public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (__imp_?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) が関数 "public: virtual enum FLAC__StreamDecoderInitStatus __thiscall FLAC::Decoder::File::init(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?init@File@Decoder@FLAC@@UAE?AW4FLAC__StreamDecoderInitStatus@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) で参照されました。

.\Debug\cicsPlay.exe : fatal error LNK1120: 外部参照 1 が未解決です。

結局この未解決が解決できない…どうも、libFLAC++_static.lib と VS2010 の標準ライブラリがあってないせいぢゃないかと予想するも、どこをどーなおしたものか…

libFLAC++_static.lib を VS2010 で作り直す方が早いかしらと、libFLAC のプロジェクトファイルを VS2010 で変換してみるも、うまくいかない様子…0からプロジェクト作り直さないとダメかしら…

configure + make で作っててくれればいっくらでも解析できるんだが、VSは全然慣れないなぁ、と思いつつ設定項目を探す毎日…orz

ここが通れば cPlay のビルドが完成して、次のステップへ移れるんだが…

1 件のコメント:

bunpei さんのコメント...

もう既にgoogleされてみておられるかもしれませんが、これ
http://social.msdn.microsoft.com/Forums/en/vsprereleaseannouncements/thread/992f9c8e-ac6c-43af-a280-eaea5d7bf122
参考になりませんか?