質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Visual C++

Microsoft Visual C++はWindowsのCとC++の統合開発環境(IDE)であり、コンパイラやデバッガを含んでいます。

Q&A

0回答

1724閲覧

【エラー LNK1112 モジュールのコンピューターの種類 'x86' は対象コンピューターの種類 'x64' と競合しています。】について

Helloc

総合スコア16

Visual C++

Microsoft Visual C++はWindowsのCとC++の統合開発環境(IDE)であり、コンパイラやデバッガを含んでいます。

0グッド

0クリップ

投稿2020/08/29 14:25

編集2020/08/30 06:23

ここにあるWebdriver++ が
'x86' では 使えるようになったのですが
64bit用に ビルド出来ないでしょうか?

curl は こちらを参考にしました
PCは Windows 10 (64bit)です

ご教示 お願い致します

対象コンピュータを MachineX64 (/MACHINE:X64) にして
バッチビルドで Debug x64で ビルドすると
下記のエラーが出ます

LNK2019 未解決の外部シンボル __imp_curl_slist_free_all が関数 "public: __cdecl webdriverxx::detail::HttpHeaders::~HttpHeaders(void)" (??1HttpHeaders@detail@webdriverxx@@QEAA@XZ) で参照されました

LNK2019 未解決の外部シンボル __imp_curl_slist_append が関数 "public: void __cdecl webdriverxx::detail::HttpHeaders::Add(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?Add@HttpHeaders@detail@webdriverxx@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z) で参照されました

LNK2019 未解決の外部シンボル __imp_curl_easy_strerror が関数 "protected: void __cdecl webdriverxx::detail::HttpRequest::SetOption<unsigned __int64 __cdecl(void *,unsigned __int64,unsigned __int64,void *)>(enum CURLoption,unsigned __int64 (__cdecl&)(void *,unsigned __int64,unsigned __int64,void *))const " (??$SetOption@$$A6A_KPEAX_K10@Z@HttpRequest@detail@webdriverxx@@IEBAXW4CURLoption@@A6A_KPEAX_K21@Z@Z) で参照されました

LNK2019 未解決の外部シンボル __imp_curl_easy_init が関数 "private: static void * __cdecl webdriverxx::detail::HttpConnection::InitCurl(void)" (?InitCurl@HttpConnection@detail@webdriverxx@@CAPEAXXZ) で参照されました

LNK2019 未解決の外部シンボル __imp_curl_easy_setopt が関数 "protected: void __cdecl webdriverxx::detail::HttpRequest::SetOption<unsigned __int64 __cdecl(void *,unsigned __int64,unsigned __int64,void *)>(enum CURLoption,unsigned __int64 (__cdecl&)(void *,unsigned __int64,unsigned __int64,void *))const " (??$SetOption@$$A6A_KPEAX_K10@Z@HttpRequest@detail@webdriverxx@@IEBAXW4CURLoption@@A6A_KPEAX_K21@Z@Z) で参照されました

LNK2019 未解決の外部シンボル __imp_curl_easy_perform が関数 "public: struct webdriverxx::detail::HttpResponse __cdecl webdriverxx::detail::HttpRequest::Execute(void)" (?Execute@HttpRequest@detail@webdriverxx@@QEAA?AUHttpResponse@23@XZ) で参照されました

LNK2019 未解決の外部シンボル __imp_curl_easy_cleanup が関数 "public: virtual __cdecl webdriverxx::detail::HttpConnection::~HttpConnection(void)" (??1HttpConnection@detail@webdriverxx@@UEAA@XZ) で参照されました

LNK2019 未解決の外部シンボル __imp_curl_easy_getinfo が関数 "private: long __cdecl webdriverxx::detail::HttpRequest::GetHttpCode(void)const " (?GetHttpCode@HttpRequest@detail@webdriverxx@@AEBAJXZ) で参照されました

LNK2019 未解決の外部シンボル __imp_curl_easy_reset が関数 "public: struct webdriverxx::detail::HttpResponse __cdecl webdriverxx::detail::HttpRequest::Execute(void)" (?Execute@HttpRequest@detail@webdriverxx@@QEAA?AUHttpResponse@23@XZ) で参照されました

LNK1120 9 件の未解決の外部参照

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

y_waiwai

2020/08/29 14:32

やってみたらどうでしょうか
Helloc

2020/08/29 14:43

対象コンピュータを MachineX64 (/MACHINE:X64) にして バッチビルドで Debug・Release 共に x64で ビルドすると 未解決の外部シンボルエラーが 数個でて 失敗します
CHERRY

2020/08/29 23:56

発生しているエラーを具体的に質問に追記していただけないでしょうか。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

まだ回答がついていません

会員登録して回答してみよう

アカウントをお持ちの方は

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問