Hisham <h <at> hisham.hm> writes: > > Got errors building on Linux: > > src/lcnn.c: In function ‘cnn_supportsConvert’: > src/lcnn.c:1687:28: error: ‘SQL_CONVERT_GUID’ undeclared (first use in > this function) > src/lcnn.c:1687:28: note: each undeclared identifier is reported only > once for each function it appears in > src/lcnn.c:1717:28: error: ‘SQL_CVT_GUID’ undeclared (first use in > this function) > I test my library on travis with unixodbc and it building ok. https://travis-ci.org/moteus/lua-odbc I do not have Linux, so i really can not debug this. I try see in some other library (soci/libodbc++)
> > Also, isn't $(ODBC_LIBDIR) missing in the build table? > I will fix it. But i think unixodbc install this library in system folder. luarocks does not find this dependency. external_dependencies = { platforms = { unix = { ODBC = { header = 'sql.h', -- library = 'odbc', -- <<< luarocks can not find this } }; windows = { -- on windows sql.h placed in %INCLUDE% folder and luarocks can not find this ODBC = {} }; } } ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers