From: Laurent B. <lau...@un...> - 2018-09-21 16:57:22
|
Hi, I have just done a git clone : (Date: Thu Sep 20 22:36:48 2018 -0700 ) commit caf4801dfef32207b74f5374eff52bf2a4c24e3d and delete cmakecache.txt and I I'm trying to build plplot in static BUILD_SHARED_LIBS:BOOL=OFF and ENABLE_DYNDRIVERS:BOOL=OFF and I have got 59 errors compiling wxwidgets_dev.cpp. In git repo I can find this file https://github.com/PLplot/PLplot/blob/14ecc4bd943caa40a830e0da066ff7a220b9d5e8/drivers/wxwidgets.cpp I copy https://github.com/PLplot/PLplot/blob/14ecc4bd943caa40a830e0da066ff7a220b9d5e8/drivers/wxwidgets.cpp#L28-L36 and insert those lines here https://github.com/PLplot/PLplot/blob/master/drivers/wxwidgets_dev.cpp#L41 I can compile and link plplot. Errors list compiling wxwidgets_dev.cpp: 1>wxwidgets_dev.cpp 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(103): warning C4005: 'AF_IPX': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(457): note: see previous definition of 'AF_IPX' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(147): warning C4005: 'AF_MAX': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(476): note: see previous definition of 'AF_MAX' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(185): warning C4005: 'SO_DONTLINGER': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(399): note: see previous definition of 'SO_DONTLINGER' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(235): error C2011: 'sockaddr': 'struct' type redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(1007): note: see declaration of 'sockaddr' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(437): error C2059: syntax error: 'constant' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(437): error C3805: 'constant': unexpected token, expected either '}' or a ',' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(572): warning C4005: 'IN_CLASSA': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(284): note: see previous definition of 'IN_CLASSA' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(578): warning C4005: 'IN_CLASSB': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(290): note: see previous definition of 'IN_CLASSB' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(584): warning C4005: 'IN_CLASSC': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(296): note: see previous definition of 'IN_CLASSC' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(595): warning C4005: 'INADDR_ANY': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(301): note: see previous definition of 'INADDR_ANY' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(597): warning C4005: 'INADDR_BROADCAST': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(303): note: see previous definition of 'INADDR_BROADCAST' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(633): error C2011: 'sockaddr_in': 'struct' type redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(1011): note: see declaration of 'sockaddr_in' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(136): error C2011: 'fd_set': 'struct' type redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(1019): note: see declaration of 'fd_set' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(156): warning C4005: 'FD_CLR': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(94): note: see previous definition of 'FD_CLR' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(171): warning C4005: 'FD_SET': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(99): note: see previous definition of 'FD_SET' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(180): error C2011: 'timeval': 'struct' type redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(1035): note: see declaration of 'timeval' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(236): error C2011: 'hostent': 'struct' type redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(1023): note: see declaration of 'hostent' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(249): error C2011: 'netent': 'struct' type redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(177): note: see declaration of 'netent' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(256): error C2011: 'servent': 'struct' type redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(1027): note: see declaration of 'servent' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(268): error C2011: 'protoent': 'struct' type redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(1031): note: see declaration of 'protoent' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(364): error C2011: 'WSAData': 'struct' type redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(319): note: see declaration of 'WSAData' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(462): error C2011: 'sockproto': 'struct' type redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(491): note: see declaration of 'sockproto' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(504): error C2011: 'linger': 'struct' type redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(1015): note: see declaration of 'linger' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(517): warning C4005: 'SOMAXCONN': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(541): note: see previous definition of 'SOMAXCONN' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(551): warning C4005: 'FD_READ': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(559): note: see previous definition of 'FD_READ' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(554): warning C4005: 'FD_WRITE': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(560): note: see previous definition of 'FD_WRITE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(557): warning C4005: 'FD_OOB': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(561): note: see previous definition of 'FD_OOB' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(560): warning C4005: 'FD_ACCEPT': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(562): note: see previous definition of 'FD_ACCEPT' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(563): warning C4005: 'FD_CONNECT': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(563): note: see previous definition of 'FD_CONNECT' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(566): warning C4005: 'FD_CLOSE': macro redefinition 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(564): note: see previous definition of 'FD_CLOSE' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1624): error C2375: 'accept': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(739): note: see declaration of 'accept' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1646): error C2375: 'bind': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(744): note: see declaration of 'bind' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1667): error C2375: 'closesocket': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(749): note: see declaration of 'closesocket' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1684): error C2375: 'connect': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(751): note: see declaration of 'connect' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1705): error C2375: 'ioctlsocket': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(756): note: see declaration of 'ioctlsocket' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1728): error C2375: 'getpeername': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(761): note: see declaration of 'getpeername' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1749): error C2375: 'getsockname': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(766): note: see declaration of 'getsockname' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1770): error C2375: 'getsockopt': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(771): note: see declaration of 'getsockopt' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1795): error C2375: 'htonl': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(778): note: see declaration of 'htonl' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1812): error C2375: 'htons': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(780): note: see declaration of 'htons' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1830): error C2375: 'inet_addr': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(782): note: see declaration of 'inet_addr' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1848): error C2375: 'inet_ntoa': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(784): note: see declaration of 'inet_ntoa' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1948): error C2375: 'listen': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(786): note: see declaration of 'listen' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1967): error C2375: 'ntohl': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(790): note: see declaration of 'ntohl' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(1984): error C2375: 'ntohs': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(792): note: see declaration of 'ntohs' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2001): error C2375: 'recv': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(794): note: see declaration of 'recv' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2024): error C2375: 'recvfrom': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(800): note: see declaration of 'recvfrom' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2051): error C2375: 'select': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(808): note: see declaration of 'select' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2076): error C2375: 'send': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(815): note: see declaration of 'send' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2099): error C2375: 'sendto': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(821): note: see declaration of 'sendto' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2126): error C2375: 'setsockopt': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(829): note: see declaration of 'setsockopt' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2151): error C2375: 'shutdown': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(836): note: see declaration of 'shutdown' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2171): error C2375: 'socket': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(840): note: see declaration of 'socket' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2196): error C2375: 'gethostbyaddr': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(847): note: see declaration of 'gethostbyaddr' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2218): error C2375: 'gethostbyname': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(852): note: see declaration of 'gethostbyname' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2235): error C2375: 'gethostname': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(854): note: see declaration of 'gethostname' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2275): error C2375: 'getservbyport': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(858): note: see declaration of 'getservbyport' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2294): error C2375: 'getservbyname': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(862): note: see declaration of 'getservbyname' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2313): error C2375: 'getprotobynumber': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(866): note: see declaration of 'getprotobynumber' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2330): error C2375: 'getprotobyname': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(868): note: see declaration of 'getprotobyname' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2350): error C2375: 'WSAStartup': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(872): note: see declaration of 'WSAStartup' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2370): error C2375: 'WSACleanup': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(876): note: see declaration of 'WSACleanup' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2387): error C2375: 'WSASetLastError': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(878): note: see declaration of 'WSASetLastError' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2404): error C2375: 'WSAGetLastError': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(880): note: see declaration of 'WSAGetLastError' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2425): error C2375: 'WSAIsBlocking': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(882): note: see declaration of 'WSAIsBlocking' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2443): error C2375: 'WSAUnhookBlockingHook': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(884): note: see declaration of 'WSAUnhookBlockingHook' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2461): error C2375: 'WSASetBlockingHook': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(886): note: see declaration of 'WSASetBlockingHook' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2479): error C2375: 'WSACancelBlockingCall': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(888): note: see declaration of 'WSACancelBlockingCall' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2497): error C2375: 'WSAAsyncGetServByName': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(890): note: see declaration of 'WSAAsyncGetServByName' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2525): error C2375: 'WSAAsyncGetServByPort': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(898): note: see declaration of 'WSAAsyncGetServByPort' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2553): error C2375: 'WSAAsyncGetProtoByName': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(906): note: see declaration of 'WSAAsyncGetProtoByName' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2579): error C2375: 'WSAAsyncGetProtoByNumber': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(913): note: see declaration of 'WSAAsyncGetProtoByNumber' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2605): error C2375: 'WSAAsyncGetHostByName': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(920): note: see declaration of 'WSAAsyncGetHostByName' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2631): error C2375: 'WSAAsyncGetHostByAddr': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(927): note: see declaration of 'WSAAsyncGetHostByAddr' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2661): error C2375: 'WSACancelAsyncRequest': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(936): note: see declaration of 'WSACancelAsyncRequest' 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock2.h(2679): error C2375: 'WSAAsyncSelect': redefinition; different linkage 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\um\winsock.h(938): note: see declaration of 'WSAAsyncSelect' 1>g:\lib\plplot\drivers\wxwidgets_dev.cpp(736): warning C4996: 'wxFont::wxFont': deprecated: use wxFONT{FAMILY,STYLE,WEIGHT}_XXX constants ie: wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD 1>g:\lib\install\wxwidgets\include\wx\msw\font.h(115): note: see declaration of 'wxFont::wxFont' 1>g:\lib\plplot\drivers\wxwidgets_dev.cpp(1010): warning C4996: 'wxPen::wxPen': deprecated: use wxPENSTYLE_XXX constants 1>g:\lib\install\wxwidgets\include\wx\msw\pen.h(58): note: see declaration of 'wxPen::wxPen' 1>g:\lib\plplot\drivers\wxwidgets_dev.cpp(1045): warning C4996: 'wxPen::wxPen': deprecated: use wxPENSTYLE_XXX constants 1>g:\lib\install\wxwidgets\include\wx\msw\pen.h(58): note: see declaration of 'wxPen::wxPen' 1>g:\lib\plplot\drivers\wxwidgets_dev.cpp(1058): warning C4996: 'wxPen::wxPen': deprecated: use wxPENSTYLE_XXX constants 1>g:\lib\install\wxwidgets\include\wx\msw\pen.h(58): note: see declaration of 'wxPen::wxPen' 1>Done building project "plplot.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 1>c:\program files (x86)\windows kits\10\include\10.0.16299.0\shared\ws2def.h(235): error C2011: 'sockaddr': 'struct' type redefinition Configuration Cmake 3.11.0 VS 2017 win 64 Version 15.6.3 wxwidgets 3.1.2 Le 21/09/2018 à 05:09, Orion Poplawski a écrit : > On 09/20/2018 12:22 AM, Alan W. Irwin wrote: >> On 2018-09-19 22:06-0600 Orion Poplawski wrote: >> >>> On 09/15/2018 01:49 PM, Alan W. Irwin wrote: >>>> To Orion and Ole: >>>> >>>> Commit a730ebe34 has removed the last of the "new software" issues I >>>> have identified with Debian Testing = Buster. >>>> >>>> @Orion: I encourage you to try that commit on Fedora to see if you get >>>> similarly good results for all Linux-available components of >>>> PLplot for that other cutting-edge Linux platform. >>>> >>>> @Both: You both also might want to experiment with this commit as the >>>> basis for much-improved PLplot packages for Fedora and Debian. >>>> However such packages can only be considered preliminary until PLplot >>>> makes an official release. What I can say on that topic is commit >>>> a730ebe34 is an important milestone on the trail to the next release, >>>> but we are not there yet. >>>> >>>> For example, the CMake test that is automatically produced every night >>>> by my computer for the CMake developers builds and tests the latest >>>> CMake. One of those tests is the PLplot contract test which tests >>>> whether a build (but not test) of PLplot is successful. That test is >>>> formally succeeding, but those PLplot builds are incomplete (with the >>>> cairo device driver dropped) because of incompatibilities with the way >>>> we configure our cairo device driver using internal details of the >>>> CMake pkg-config capability. Although the use of such internal >>>> details has worked well over many years with few adjustments needed >>>> for changes to those internal details with CMake version, it is again >>>> no longer working with the very latest CMake. This reflects the >>>> fundamental fragility of any method that uses internal details. >>>> Therefore, to deal with this issue my plan is to completely rewrite >>>> our support for the cairo device using the official CMake pkg-config >>>> support rather than internal details of that support. And there are >>>> also a few other topics I would like to squeeze into the next release. >>>> So this makes the ETA of our next PLplot release still somewhat >>>> uncertain, but I am still hoping to get it done this year (before >>>> Christmas season) rather than early next year. >>> >>> Latest git (a9d9500c) built on Fedora Rawhide: >>> >>> https://koji.fedoraproject.org/koji/taskinfo?taskID=29771905 >>> >>> Despite the overall failure to build, looks mostly okay, but it >>> appears that you don't support lua 5.3: >>> >>> -- Could NOT find Lua (missing: LUA_INCLUDE_DIR) (Required is exact >>> version "5.2") >>> -- Could NOT find Lua (missing: LUA_INCLUDE_DIR) (Required is exact >>> version "5.1") >>> -- LUA_INCLUDE_DIR = >>> -- LUA_LIBRARIES = /usr/lib64/liblua.so;/usr/lib64/libm.so >>> -- WARNING: Lua header and/or library not found. Disabling Lua binding >> >> Hi Orion: >> >> Thanks for that feedback. Lua5.3 worked here (Debian Testing = Buster) >> for all but one example, but that one example exposed a Lua-5.3 bug >> (at least for the Debian version of Lua5.3) that was severe >> (arithmetic quit working if more than 8 (!) arrays were initialized). >> See <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902238> for a >> simple Lua script that triggers this Lua-5.3 bug and other details >> about this bug. I temporarily worked around the problem by using our >> build system to blacklist Lua-5.3 until this bug is fixed (i.e., >> in the absence of Lua5.1 or 5.2 our build system should just >> cleanly drop the Lua PLplot component and continue). >> >> Please try that simple Lua script to see whether the Fedora version of >> Lua-5.3 also has this severe bug. If you do confirm, then that is >> pretty good evidence it is a general Lua-5.3 bug (rather than just >> Debian related), and in this case I would be willing to take this >> issue to the Lua developers rather than waiting for some response to >> my bug report from the Debian packagers. >> >> It appears from >> <https://kojipkgs.fedoraproject.org//work/tasks/1906/29771906/build.log> >> the blacklisting worked without actual build issues (as expected), but >> the actual error you get is because your rpm logic is expecting Lua >> files from PLplot that are not there because of the blacklisting. So >> your response to this issue likely depends on whether you can get the >> above simple test script to work for Fedora's version of Lua5.3. If >> that test actually works for Fedora, then it appears the Lua5.3 issue >> is simply a Debian packaging issue that has nothing to do with Fedora, >> and you should edit cmake/modules/lua.cmake to make the slight change >> to look first for 5.3, then 5.2, then 5.1. However, if that test also >> fails for you, and you think the upstream Lua5.3 fix is going to take >> a while to get fixed, then you should change your rpm logic to drop >> all the expected Lua results. >> >> Alan > > I replied to the debian bug. It appears that lua 5.3.5 on Fedora > rawhide is fine. > > |