Здравствуйте вот у меня проблема с командами.Вот ошибка
error 004: function «dc_cmd_OnPlayerCommandText» is not implemented
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
вот раньше команда была вот такая
if(strcmp(cmdtext, «/open», true) == 0)
<
Я заменил вот так
И начала выдавать такую ошибку как это исправить,может там что то делать надо чтоб такого не было.
И вот еще как сделать кнопку
i
f(newkeys & KEY_WALK) //
<
if(strcmp(cmdtext, «/open», true) == 0) подобие такого должно быть,а мне нужно сделать на CMD:openfbi(playerid, params[])
>
Кнопка Командный процессор ZCMD || YCMD || DC_CMD и т.д:
Кнопка стандартный вариант:
Здравствуйте вот у меня проблема с командами.Вот ошибка
error 004: function «dc_cmd_OnPlayerCommandText» is not implemented
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
вот раньше команда была вот такая
if(strcmp(cmdtext, «/open», true) == 0)
<
Я заменил вот так
И начала выдавать такую ошибку как это исправить,может там что то делать надо чтоб такого не было.
И вот еще как сделать кнопку
i
f(newkeys & KEY_WALK) //
<
if(strcmp(cmdtext, «/open», true) == 0) подобие такого должно быть,а мне нужно сделать на CMD:openfbi(playerid, params[])
>
DC_CMD команды не вставляются в какие-либо коллбэки, а лишь в открытую часть мода. (Между коллбэков)
вот такая ошибка вставил
warning 202: number of arguments does not match definition
This is the exact error that I am getting. My OS is Ubuntu 16.10.
OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvShowImage, file /feedstock_root/build_artefacts/work/opencv-3.1.0/modules/highgui/src/window.cpp, line 545 Traceback (most recent call last): File «untitled.py», line 7, in cv2.imshow(‘image’,img) cv2.error: /feedstock_root/build_artefacts/work/opencv-3.1.0/modules/highgui/src/window.cpp:545: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvShowImage
0002.png is an image in the same directory as the program. I first installed anaconda with python 3.5, then I installed opencv by using the command
I installed libgtk2.0-dev just as the error said to but I still get the same error. Any help would be much appreciated. I’ve been trying to solve this for several hours.
I just installed opencv 3.1 from this link. There was no issue or error in building up opencv. So, I checked my version using cv2.__version__ , it is working fine but when I tested it using
I got this error, I don’t understand where is the problem? There was no issue while building up and I followed the instructions carefully. Here is the error:
3 Answers 3
First, check that if you have installed libgtk2.0 with the following command:
sudo aptitude search libgtk2.0-dev
If dependencies was broken, just install a fresh copy of it using below command: