Re: MySQL 5.7 и Visual C++ . Проблема с линкованием
От: uzhas Ниоткуда  
Дата: 14.11.17 08:57
Оценка:
Здравствуйте, Юра, Вы писали:


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

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

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

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:

For the Community version of Connector/C++:

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

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.

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

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

 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.