PDA

Просмотр полной версии : [Вопрос] Недостающие библиотеки MSVC++



Unreal
06.05.2016, 14:24
скачал 2 обновлений плагин, и оба нуждаются в msvcp140.dll.

Скачал его, и оба выдают ошибки. Ставил каждый по отдельности тоже выдают ошибки.
Вот ошибки:

[15:21:25] [debug] Run time error 19: "File or function is not found"
[15:21:25] [debug] mysql_format
[15:21:25] [debug] mysql_tquery
[15:21:25] [debug] mysql_query
[15:21:25] [debug] cache_get_row_count
[15:21:25] [debug] cache_delete
[15:21:25] [debug] cache_get_field_content_int
[15:21:25] [debug] cache_get_field_content
[15:21:25] [debug] cache_get_data
[15:21:25] [debug] mysql_close
[15:21:25] [debug] cache_get_field_content_float
[15:21:25] [debug] mysql_connect
[15:21:25] [debug] mysql_errno
[15:21:25] [debug] mysql_set_charset
[15:21:25] [debug] Run time error 19: "File or function is not found"
[15:21:25] [debug] mysql_format
[15:21:25] [debug] mysql_tquery
[15:21:25] [debug] mysql_query
[15:21:25] [debug] cache_get_row_count
[15:21:25] [debug] cache_delete
[15:21:25] [debug] cache_get_field_content_int
[15:21:25] [debug] cache_get_field_content
[15:21:25] [debug] cache_get_data
[15:21:25] [debug] mysql_close
[15:21:25] [debug] cache_get_field_content_float
[15:21:25] [debug] mysql_connect
[15:21:25] [debug] mysql_errno
[15:21:25] [debug] mysql_set_charset
[15:21:25] Script[gamemodes/unreal3.amx]: Run time error 19: "File or function is not found"
[15:21:25] Number of vehicle models: 0


[09:46:00] [debug] Run time error 19: "File or function is not found"
[09:46:00] [debug] CreateDynamic3DTextLabel
[09:46:00] [debug] CreateDynamicObject
[09:46:00] [debug] DestroyDynamicObject
[09:46:00] [debug] DestroyDynamicPickup
[09:46:00] [debug] DestroyDynamicMapIcon
[09:46:00] [debug] DestroyDynamic3DTextLabel
[09:46:00] [debug] CreateDynamicPickup
[09:46:00] [debug] CreateDynamicMapIcon
[09:46:00] [debug] UpdateDynamic3DTextLabelText
[09:46:00] [debug] TogglePlayerDynamicCP
[09:46:00] [debug] MoveDynamicObject
[09:46:00] [debug] SetDynamicObjectMaterialText
[09:46:00] [debug] CreateDynamicObjectEx
[09:46:00] [debug] CreateDynamicCP
[09:46:00] [debug] SetDynamicObjectMaterial
[09:46:00] [debug] IsValidDynamicObject
[09:46:00] [debug] GetDynamicObjectPos
[09:46:00] [debug] DestroyDynamicArea
[09:46:00] [debug] SetDynamicObjectRot
[09:46:00] [debug] Streamer_UpdateEx
[09:46:00] [debug] CountDynamicObjects
[09:46:00] [debug] CreateDynamicRectangle
[09:46:00] [debug] CreateDynamicSphere
[09:46:00] [debug] Run time error 19: "File or function is not found"
[09:46:00] [debug] CreateDynamic3DTextLabel
[09:46:00] [debug] CreateDynamicObject
[09:46:00] [debug] DestroyDynamicObject
[09:46:00] [debug] DestroyDynamicPickup
[09:46:00] [debug] DestroyDynamicMapIcon
[09:46:00] [debug] DestroyDynamic3DTextLabel
[09:46:00] [debug] CreateDynamicPickup
[09:46:00] [debug] CreateDynamicMapIcon
[09:46:00] [debug] UpdateDynamic3DTextLabelText
[09:46:00] [debug] TogglePlayerDynamicCP
[09:46:00] [debug] MoveDynamicObject
[09:46:00] [debug] SetDynamicObjectMaterialText
[09:46:00] [debug] CreateDynamicObjectEx
[09:46:00] [debug] CreateDynamicCP
[09:46:00] [debug] SetDynamicObjectMaterial
[09:46:00] [debug] IsValidDynamicObject
[09:46:00] [debug] GetDynamicObjectPos
[09:46:00] [debug] DestroyDynamicArea
[09:46:00] [debug] SetDynamicObjectRot
[09:46:00] [debug] Streamer_UpdateEx
[09:46:00] [debug] CountDynamicObjects
[09:46:00] [debug] CreateDynamicRectangle
[09:46:00] [debug] CreateDynamicSphere
[09:46:00] Script[gamemodes/unreal3.amx]: Run time error 19: "File or function is not found"

скачал и установил даже:

The Windows version requires the Microsoft Visual C++ 2015 Redistributable Package. (https://www.microsoft.com/en-us/download/details.aspx?id=48145)

VVWVV
10.05.2016, 17:28
У вас инклюды старые.

Unreal
10.05.2016, 20:23
У вас инклюды старые.

я обновил вроде. сейчас посмотрю еще раз.

- - - Добавлено - - -

да, я обновил их. (и даже перекомпилировал)

Desulaid
10.05.2016, 21:41
Проще поставить все версии msvcp не париться :)

Unreal
12.05.2016, 07:58
Проще поставить все версии msvcp не париться :)

к сожалению это тоже не поможет, и кстати проверяли на другом пк так же. Мне кажется каких то компонентов не хватает?

Nurick
12.05.2016, 10:21
Скорее всего проблема вызывается за отсутствия компонента:


Сообщение об ошибке
Требуемый компонент


MSVCP120.dll MSVCR120.dll
Microsoft Visual C++ 2013 (https://www.microsoft.com/ru-RU/download/details.aspx?id=40784)

Daniel_Cortez
12.05.2016, 20:14
скачал и установил даже:
The Windows version requires the Microsoft Visual C++ 2015 Redistributable Package.

Вы ставили версию для архитектуры x86 или x64?

Unreal
12.05.2016, 20:49
Вы ставили версию для архитектуры x86 или x64?

x64

Daniel_Cortez
12.05.2016, 21:01
x64
Для работы плагинов к SA-MP нужна именно x86-версия библиотек MSVC++, ставьте её. Сервер не работает на архитектуре x64, плагины тоже.

UPD: Похоже, что зачастую плагины не работают именно из-за того, что пользователь установил 64-разрядную версию библиотек MSVC++, когда нужна 32-разрядная (x86). Думаю, можно перемещать тему в архив. Заодно почищу её, чтобы лишние посты не сбивали с толку.