У нас есть два ваших дистрибутива с ключами (Windows-ToolKit 11.9.0 и Astra 1.3 Конструктор 11.6.0 free)
Написан простой пробный проект на ОС Windows с маленькими картами (Подольск) - все работает.
Пытаюсь его же собрать под Linux.
При сборке выдает ошибки типа:
In file included from gis/include/mapmacro.h:22,
from gis/include/maptype.h:26,
from gis/include/mapgdi.h:21,
from gis/include/mapapi.h:100,
from src/apiinteractor.h:7,
from src/apiinteractor.cpp:1:
gis/include/mapsyst.h:682:6: error: ambiguating new declaration of ‘int wcslen(const WCHAR*)’
int wcslen(const WCHAR *s);
^~~~~~
In file included from /usr/include/c++/8/cwchar:44,
from /usr/include/c++/8/bits/postypes.h:40,
from /usr/include/c++/8/bits/char_traits.h:40,
from /usr/include/c++/8/string:40,
from /usr/share/Qt5.12.2/5.12.2/gcc_64/include/QtCore/qbytearray.h:52,
from /usr/share/Qt5.12.2/5.12.2/gcc_64/include/QtCore/qstring.h:49,
from /usr/share/Qt5.12.2/5.12.2/gcc_64/include/QtCore/qobject.h:47,
from /usr/share/Qt5.12.2/5.12.2/gcc_64/include/QtCore/QObject:1,
from src/apiinteractor.h:4,
from src/apiinteractor.cpp:1:
/usr/include/wchar.h:222:15: note: old declaration ‘size_t wcslen(const wchar_t*)’
extern size_t wcslen (const wchar_t *__s) __THROW __attribute_pure__;
^~~~~~
Если ставлю на Linux скачанную с вашего сайта версию:
то ругается - undefined reference to :
mapOpenMtrForMap(hMap,name,0);
mapPictureToPlane(hMap,x,y);
mapPlaneToGeo(hMap,x,y);
mapGeoToPlane(map,x,y);
и т.д.
Подскажите, могу ли я собирать под Linux свои проекты, написанные на Windows?