Re[2]: MySQL 5.7 и Visual C++ . Проблема с линкованием
От: Юра Украина  
Дата: 15.11.17 12:54
Оценка:
Здравствуйте, uzhas, Вы писали:

U>Здравствуйте, Юра, Вы писали:



Юра>>Все по инструкции .

Юра>>Перепробовал что мог, разные типа Runtime Library (MD/MDd etc) — не могу одолеть.

U>доку читаем и делаем строго по ней:

U>

U>Choose the C++ Runtime Library to link to. In the Property Pages dialog, open C++, Code Generation in the tree view, and then select the right option for Runtime Library following these rules:

U>For the Community version of Connector/C++:

U>For version 1.1.8 and before: Link to the static version of the C++ runtime by selecting the /MT compiler option.

U>For version 1.1.9 and later: Link to the dynamic version of the C++ runtime by selecting the /MD compiler option. Also, target hosts running the client application need to have the Visual C++ Redistributable for Visual Studio 2013 installed.

U>For the Commercial version of Connector/C++: Link to the static version of the C++ runtime by selecting the/MT compiler option.

U>Do NOT use the /MTd or /MDd option if you are using the Oracle-built Connector/C++; see the discussion here for an explanation.


Оказалось, что в библиотеки работают в релизе. Но после того, что я попытлся собрать релиз версию, линкер сказал, что библиотеки предназначены для _MSC_VER 1800, а не 1900, т.е. фактически, это библиотеки для VS2015. Как это все сделать по-человески пока не понимаю. Продолжаю эксперименты.
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.