KxSystems / kdb

Companion files to kdb+ and q
https://code.kx.com/q
Apache License 2.0
417 stars 163 forks source link

c.obj (w32 or w64) missing #10

Closed TheFausap closed 5 years ago

TheFausap commented 5 years ago

Hello,

in order to compile under windows, I should need a c.obj, but I cannot find it.

Maybe I'm looking in the wrong place.

thanks, Fausto

CharlieSkelton-Kx commented 5 years ago

I believe you're looking for c_static.lib https://github.com/KxSystems/kdb/blob/master/w32/c_static.lib https://github.com/KxSystems/kdb/blob/master/w64/c_static.lib

CharlieSkelton-Kx commented 5 years ago

see https://github.com/KxSystems/kdb/commit/badfab916ad773fd9f0bd528044c4189376f67be

TheFausap commented 5 years ago

I'm referring to that c.obj file mentioned in the comments here :

https://github.com/KxSystems/cookbook/blob/master/c/csv.c

specifically

// windows:
//  start the x86 or 64 bit version of build environment, then: cl -DKXVER=3 /MD csv.c c.obj ws2_32.lib
//  obtain c.obj from http://kx.com/q/w32/ or w64/

Is this an outdated information ?

CharlieSkelton-Kx commented 5 years ago

yes, that's outdated, we'll update it, thanks. In the commit link I sent it says:"We no longer ship c.obj or cst.obj; they have been replaced by c_static.lib and cst_static.lib, and are complemented by e_static.lib and est_static.lib - these static libraries have no dependency on the aforementioned dlls." You should probably read the rest of that too :-)

TheFausap commented 5 years ago

:) I’m sorry. Everything is ok now. Thank you !