IIFE commented on issue #2846:
URL: https://github.com/apache/arrow-adbc/issues/2846#issuecomment-2901968940

   @WillAyd @lidavidm 
   
   This preset allows the Ninja build to complete, however, it only produces a 
`.dll` but no `.lib` for the import lib, which means I can't link my dll/exe 
against the binaries. Furthermore, I needed to suppress warnings as errors, as 
the build flags `dllexport` with this error example. This probably means the 
symbols from the generated DLLs are not exported for windows clients?
   `C:/dev/arrow-adbc/c/include/arrow-adbc/adbc.h:318:1: error: 'dllimport' 
attribute ignored [-Werror=attributes]`
   
   ```
           {
               "name": "debug",
               "displayName": "debug flight sql",
               "generator": "Ninja",
               "cacheVariables": {
                   "CMAKE_BUILD_TYPE": "Debug",
                   "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
                   "ADBC_BUILD_TESTS": "OFF",
                   "ADBC_DRIVER_FLIGHTSQL": "ON",
                   "ADBC_DRIVER_MANAGER": "ON",
                   "ADBC_DRIVER_POSTGRESQL": "OFF",
                   "ADBC_DRIVER_SNOWFLAKE": "OFF",
                   "ADBC_DRIVER_SQLITE": "OFF",
                   "ADBC_USE_ASAN": "OFF",
                   "ADBC_USE_UBSAN": "OFF",
                   "ADBC_BUILD_STATIC": "OFF",
                   "ADBC_BUILD_SHARED": "ON",
                   "CMAKE_C_FLAGS": "-Wno-error=attributes",
                   "CMAKE_CXX_FLAGS": "-Wno-error=attributes"
               }
           }
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to