https://github.com/osquery/osquery logo
Title
c

Chris Broome

06/13/2019, 2:13 PM
we’ve had to comment out the doxygen part of the powershell build script
y

YehonatanShami

06/13/2019, 5:34 PM
And is everything else normal (the NuGet and psscriptanalyzer)? Since I get an error when I try to use make-win64-binaries.bat
c

Chris Broome

06/13/2019, 5:45 PM
yeah it should be
y

YehonatanShami

06/16/2019, 1:31 PM
Still not working 😞 this is the log I'm getting when running make-win64-binaries.bat
.\tools\make-win64-binaries.bat : CMake Error: The source directory "C:/Users/Administrator/osquery" does not appear to 
contain CMakeLists.txt.
At line:1 char:1
+ .\tools\make-win64-binaries.bat
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (CMake Error: Th...CMakeLists.txt.:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
Specify --help for usage, or press the help button on the CMake GUI.
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: osquery.sln

[-] osquery build failed.
c

Chris Broome

06/17/2019, 2:16 PM
did you run
.\tools\make-win64-dev-env.bat
first?
y

YehonatanShami

06/17/2019, 2:17 PM
Multiple times as admin
when I run
make-win64-binaries
under a VS command prompt I get
[-] Failed to find vs build tools. Re-run tools\make-win64-dev-env.bat
even though I installed the tools
using vs 2017 (with an chocolatey installation of build tools) but also installed vs 2015 build tools by mistake
c

Chris Broome

06/17/2019, 2:56 PM
hm…
I don’t use VS command prompts
I just run a command prompt as administrator, then run the
.\tools\make-win64-dev-env.bat
to get all the required packages from chocolatey. that usually does the trick
you might want to make sure that chocolatey’s binary folder is added to your path
C:\ProgramData\chocolatey\bin
should be somewhere in your
PATH
environment variable.
y

YehonatanShami

06/17/2019, 3:22 PM
Did that multiple times as well... haven’t checked the path thing but do you think it’s related to the vs build tools or the CMakeLists.txt problems?
c

Chris Broome

06/17/2019, 3:39 PM
yeah. chocolatey installs vs build tools itself. so even if you don’t have visual studio installed on your machine, running
.\tools\make-win64-dev-env.bat
will install vs build tools
but it installs them to
C:\ProgramData\chocolately\bin
for example, on my machine, I run a command prompt as administrator and then type
where cl
and it returns this:
> where cl
C:\ProgramData\chocolatey\bin\cl.exe
y

YehonatanShami

06/18/2019, 4:38 AM
Will check that today and get back to you
It is there
Is there anything else you think could be it?
c

Chris Broome

06/18/2019, 1:16 PM
nothing else I can think of. you might want to clone the repo somewhere else and try again
y

YehonatanShami

06/18/2019, 1:25 PM
did that too 😞