[過去ログ] Boostを語れゴラァ part4 (1001レス)
前次1-
抽出解除 レス栞

このスレッドは過去ログ倉庫に格納されています。
次スレ検索 歴削→次スレ 栞削→次スレ 過去ログメニュー
924
(3): デフォルトの名無しさん [sage] 2007/10/13(土) 14:37:13 AAS
テキストエディタ使ってコマンドラインからコンパイルしようとすると
boost関連のincludeが見つからないと怒られたので
vsvars32.batにboostのincludeとlibパスを追加してみたら
今度はfatal error LNK1120: 外部参照 1 が未解決です。と出る

どうしたら良いのでしょうか?
925: 924 [sage] 2007/10/13(土) 14:42:35 AAS
書き忘れ

VC2005EEです。。。
927
(1): 924 [sage] 2007/10/13(土) 15:02:11 AAS
error LNK2019: 未解決の外部シンボル
"void __cdecl boost::throw_exception(class std::exception const &)"
(?throw_exception@boost@@YAXABVexception@std@@@Z) が関数 "
int __cdecl boost::lexical_cast<int,class std::basic_string<char,struct
std::char_traits<charclass std::allocator<char> > >
(class std::basic_string<char,struct std::char_traits<charclass std::allocator<char> > const &)"
(??$lexical_cast@HV?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@@boost@@YAHABV?$basic_string@DU?$char_traits@D@std@@
V?$allocator@D@2@@std@@@Z) で参照されました。
boosttest.exe : fatal error LNK1120: 外部参照 1 が未解決です。

長いんでカットしてました
スレ違いならごめんなさい
932: 924 [sage] 2007/10/15(月) 18:11:46 AAS
>>930
遅レスですいません
ビンゴでした

/EHsc オプションつけたらコンパイル通った
ありがとうございました

でも、なにもした覚えはないんだけどな・・・
前次1-
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 0.039s