KxSystems / ffi

FFI for kdb+

Home Page:https://code.kx.com/q/interfaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Errors building without setting various cmake options

srobinson-kx opened this issue · comments

I had some troubles building this library, and with help from Simon managed to get it built by adding the below to CMakeLists.txt. This should probably be included by default when I clone the repo.

set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -D_GNU_SOURCE")

  • std=c99 was added.
  • Also fundamental problem was that OS conditional variable was not working which should have added GNU_SOURCE automatically.