Juan Alvarez

12/01/2020, 11:52 AM
Hi guys, i am trying to build osquery in a Windows 10 for x86 and x64 architectures. I am able to build and create an MSI package, but when i try to install it i cant start the services. Also, if i try to execute osqueryi i do not get any output at all... Any tip on how i could troubleshoot this or any idea why this could be happening? I followed the commands in https://osquery.readthedocs.io/en/stable/development/building/ to build:
git clone <https://github.com/osquery/osquery>
cd osquery

# Configure
mkdir build; cd build
cmake -G "Visual Studio 16 2019" -A x64 ..

# Build
cmake --build . --config RelWithDebInfo -j10 # Number of projects to build in parallel

cmake --build . --config RelWithDebInfo --target package
Thanks 🙂


12/01/2020, 10:00 PM
Were you able to figure this out?

Juan Alvarez

12/02/2020, 11:42 AM
Hi @theopolis not yet 😞 I am not such experienced with C so for now i just got my CMake output to a file and see if something points me somewhere, i see i have 29 warnings when building so im going to try to see whats wrong