kdschlosser / EventGhost-x64-Python3.5

Eventghost converted to Python 3.5 x64
GNU General Public License v3.0
4 stars 2 forks source link

eventghost_build_ext.py copy mixup for windows 10 #3

Closed DanEdens closed 5 years ago

DanEdens commented 5 years ago

Error log: `e RawInputHook.cpp RawInputHook.cpp library is linking with "Psapi.lib" ResourceCompile: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\rc.exe /l"0x0409" /nologo /fo"x64\Release\RawI nputHook.res" RawInputHook.rc TRACKER : error TRK0002: Failed to execute command: ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\V C\bin\rc.exe" /l0x0409 /nologo /fox64\Release\RawInputHook.res RawInputHook.rc". FileTracker error code: 0x d8 [C:\Users\Dan.Edens\Documents\GitHub\EventGhost-x64-Python3.5\build\extensions\RawInputHook.dll\RawInput Hook.vcxproj] Done Building Project "C:\Users\Dan.Edens\Documents\GitHub\EventGhost-x64-Python3.5\build\extensions\RawInp utHook.dll\RawInputHook.vcxproj" (default targets) -- FAILED. Done Building Project "C:\Users\Dan.Edens\Documents\GitHub\EventGhost-x64-Python3.5\build\extensions\RawInp utHook.dll\RawInputHook.sln" (Build target(s)) -- FAILED.

Build FAILED.

"C:\Users\Dan.Edens\Documents\GitHub\EventGhost-x64-Python3.5\build\extensions\RawInputHook.dll\RawInputHoo k.sln" (Build target) (1) -> "C:\Users\Dan.Edens\Documents\GitHub\EventGhost-x64-Python3.5\build\extensions\RawInputHook.dll\RawInputHoo k.vcxproj" (default target) (2) -> (ResourceCompile target) -> TRACKER : error TRK0002: Failed to execute command: ""C:\Program Files (x86)\Microsoft Visual Studio 14.0 \VC\bin\rc.exe" /l0x0409 /nologo /fox64\Release\RawInputHook.res RawInputHook.rc". FileTracker error code: 0xd8 [C:\Users\Dan.Edens\Documents\GitHub\EventGhost-x64-Python3.5\build\extensions\RawInputHook.dll\RawInp utHook.vcxproj]

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:02.63 error: can't copy 'C:\Users\Dan.Edens\Documents\GitHub\EventGhost-x64-Python3.5\build\extensions\RawInputHo ok.dll\x64\Release\RawInputHook.dll': doesn't exist or not a regular file `

Seems to get ahead of itself before coping in \EventGhost-x64-Python3.5\eventghost_build_ext.py"

kdschlosser commented 5 years ago

holy shit I did this so long ago I cannot remember...

the copy error is because the build failed. the question is why did the build fail.

do you have VS 2015 installed or do you have VS 2017 installed? what Windows SDK are you using?

the other thing is you MUST run this from a Stackless x64 Python 3.5 installation. I would also backup all of your plugins before installing the built version. it is going to modify all of the plugins (as best it can) to be python 3.5 compatible and also wxPython 4.x compatible

DanEdens commented 5 years ago

xD dude this taught me some shit today. My head is legitimately pounding and has been for an hour after testing through the nightmare that is that VS individual components page, I was just starting to like microsoft again now this! lol

I ran it from 3.5.4 which is the only version of 3.5 i could find. I actually posted a thing about it in here http://www.eventghost.net/forum/viewtopic.php?f=10&t=10216&p=53261#p53261 I'll go dump some more of my versions.

kdschlosser commented 5 years ago

let me update the MSVC packager I wrote. I have done quite a bit of work on it since i made this build of EG it does a much better job at locating VS and needed SDK's and things of that nature.

kdschlosser commented 5 years ago

oh I defiantly have to update that MSVC compiler. it is used a really old version that modifies the solution file. I came up with a better way that completely removes using msbuild and the use of the solution file. it calls the compiler (cl) directly as well as the linker. I am going to have to also add in the build clib module I wrote that will handle the extensions that are not python extensions like WinUSB.dll

DanEdens commented 5 years ago

Is my stackless 3.5.4 apart of the problem? I'm really glad I learned how to us vswhere tho, VS is a freaking labyrinth.

kdschlosser commented 5 years ago

the extensions are not compiled using VS. technically speaking you do not have to have VS installed to compile the extension modules. I can tell you this tho. You will need to have the Windows SDK version 10.0.17134.0 installed to make it compile. that is the reason why you are getting the linker error. If you install that single thing ti will compile just fine. this can be done from the VS installer

kdschlosser commented 5 years ago

the build system I wrote for this version of EG was a proof of concept. simply to say it can be done. It was not fine tuned to allow for any variations in the build environment. It has to be a very specific environment in order to successfully build. all you need to do is to run the build command as outlined in the readme that is displayed on the first page of this repo. you do not need to know anything about VS it just has to be installed with that specific Windows 10 SDK. the script will do the rest. you do not need to set up any kind of a build environment it all gets done for you.

The new system I wrote will auto detect any version os VS and VC from 2008 to current as well as any Build Tools releases that exist. Builds Tools contains only the bits needed to compile C code. it has no IDE and is much much smaller then Visual Studio or Visual C.

Here is what it detects on my system

Machine architecture: x64
Build architecture: x64

== Windows SDK ================================================
   version:     10.0.17763.0
   sdk version: 10.0.17763.0\
   path:        C:\Program Files (x86)\Windows Kits\10

   -- Universal CRT -------------------------------------------
      path: C:\Program Files (x86)\Windows Kits\10\
   -- ATLMFC --------------------------------------------------
      path:         C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC
      include path: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC\include
      lib path:     C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64

== Extension SDK ==============================================
   path: C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs

== TypeScript =================================================
   path: None

== HTML Help ==================================================
   path: C:\Program Files (x86)\HTML Help Workshop

== .NET =======================================================
   version:    v4.0.30319

   -- x86 -----------------------------------------------------
      version: v4.0.30319
      path:    C:\Windows\Microsoft.NET\Framework
   -- x64 -----------------------------------------------------
      version: v4.0.30319
      path:    C:\Windows\Microsoft.NET\Framework64
   -- NETFX ---------------------------------------------------
      path:         C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\
      x86 exe path: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\
      x64 exe path: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\

== Visual C ===================================================
   version: 14.0
   path:    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC

   -- Tools ---------------------------------------------------
      version:     14.16.27023
      path:        C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023
      redist path: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Redist\MSVC\14.16.27012
   -- F# ------------------------------------------------------
      path: None
   -- DLL -----------------------------------------------------
      version: v140-14.16.27012.6
      path:    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Redist\MSVC\14.16.27012\x64\Microsoft.VC141.CRT

== MSBuild ====================================================
   version: 14.0
   path:    C:\Program Files (x86)\MSBuild\14.0\bin\amd64

== Python =====================================================
  version: 3.5.4.final.0
  architecture: x64
  library: Python35.lib
  libs: ['C:\\Stackless35\\libs']
  includes: ['C:\\Stackless35\\include', 'C:\\Stackless35\\include\\Stackless', 'C:\\Stackless35\\include\\Stackless\\core', 'C:\\Stackless35\\include\\Stackless\\module', 'C:\\Stackless35\\include\\Stackless\\pickling', 'C:\\Stackless35\\include\\Stackless\\platf']

and this is the environment it sets up.


WindowsSDK_ExecutablePath_x64: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\

WindowsSdkBinPath: C:\Program Files (x86)\Windows Kits\10\bin\

WindowsSDKVersion: 10.0.17763.0\

Path:
    C:\Program Files (x86)\MSBuild\14.0\bin\amd64
    C:\Program Files (x86)\HTML Help Workshop
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow
    C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\
    C:\Program Files (x86)\MSBuild\14.0\bin\amd64
    C:\Program Files (x86)\HTML Help Workshop
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow
    C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\
    C:\Stackless27
    C:\Program Files\Python37\Scripts\
    C:\Program Files\Python37\
    C:\Program Files (x86)\Common Files\Oracle\Java\javapath
    C:\Windows\system32
    C:\Windows
    C:\Windows\System32\Wbem
    C:\Windows\System32\WindowsPowerShell\v1.0\
    c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\
    C:\Program Files\Java\jdk1.8.0_181\jre\bin\
    C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
    C:\Program Files (x86)\Gpg4win\..\GnuPG\bin
    C:\Program Files\IDM Computer Solutions\UltraEdit
    C:\Program Files (x86)\Nmap
    C:\Stackless35\lib\site-packages\pywin32_system32

Platform: x64

WindowsSdkDir: C:\Program Files (x86)\Windows Kits\10\

WindowsSDKLibVersion: 10.0.17763.0\

FrameworkVersion64: v4.0.30319

Include:
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC\include
    C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0
    C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt
    C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt
    C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared
    C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um
    C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt

UCRTVersion: 10.0.17763.0

__DOTNET_PREFERRED_BITNESS: 64

NETFXSDKDir: C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\

LIB:
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\lib\x64
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64
    C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64
    C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64
    C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64

FrameworkDIR64: C:\Windows\Microsoft.NET\Framework64\

LIBPATH:
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\lib\x64
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64
    C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0
    C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319

DISTUTILS_USE_SDK: 1

WindowsSdkVerBinPath: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\

ExtensionSdkDir: C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs

FrameworkDir: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\

VCToolsRedistDir: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Redist\MSVC\14.16.27012

__DOTNET_ADD_64BIT: 1

VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\

Framework40Version: v4.0

MSSDK: C:\Program Files (x86)\Windows Kits\10

DevEnvDir: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\

VisualStudioVersion: 14.0

FrameworkVersion: v4.0.30319

VS140COMNTOOLS: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools

VCINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\

VCToolsInstallDir: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\

__VSCMD_PREINIT_PATH:
    C:\Program Files (x86)\MSBuild\14.0\bin\amd64
    C:\Program Files (x86)\HTML Help Workshop
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow
    C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319
    C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\
    C:\Stackless27
    C:\Program Files\Python37\Scripts\
    C:\Program Files\Python37\
    C:\Program Files (x86)\Common Files\Oracle\Java\javapath
    C:\Windows\system32
    C:\Windows
    C:\Windows\System32\Wbem
    C:\Windows\System32\WindowsPowerShell\v1.0\
    c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\
    C:\Program Files\Java\jdk1.8.0_181\jre\bin\
    C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
    C:\Program Files (x86)\Gpg4win\..\GnuPG\bin
    C:\Program Files\IDM Computer Solutions\UltraEdit
    C:\Program Files (x86)\Nmap
    C:\Stackless35\lib\site-packages\pywin32_system32

VCIDEInstallDir: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\

VCToolsVersion: 14.16.27023

WindowsSDK_ExecutablePath_x86: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\

UniversalCRTSdkDir: C:\Program Files (x86)\Windows Kits\10\

WindowsLibPath:
    C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0
    C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0

if you run "vcvarsall x64" from a command line which is in one of the sub folders for Visual Studio and when that is done key in SET you will see all of the environment variables that Visual Studios uses for the build environment. I do believe I made the new system to create an exact replica of the one that VS sets up.

kdschlosser commented 5 years ago

The environment variables that have a = sign in them are ones that were set up by vcvarsall. as you will notice I am extremely close to being identical. Also there are errors in the vcvarsall that is included with VS or VC you can see this in the variables VisualStudioVersion and VS140COMNTOOLS. vcvarsall reports a folder that does not exist as well as a version of VS that I do not have installed.

I use not a single microsoft tool when creating an environment. my program uses the registry to obtain locations and version information and then checks for the existence of a path.

DevEnvDir= C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\
DevEnvDir: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\

ExtensionSdkDir= C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs
ExtensionSdkDir: C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs

Framework40Version= v4.0
Framework40Version: v4.0

FrameworkDir= C:\Windows\Microsoft.NET\Framework64\
FrameworkDir: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ 

FrameworkDIR64= C:\Windows\Microsoft.NET\Framework64
FrameworkDIR64: C:\Windows\Microsoft.NET\Framework64\

FrameworkVersion= v4.0.30319
FrameworkVersion: v4.0.30319

FrameworkVersion64= v4.0.30319
FrameworkVersion64: v4.0.30319

INCLUDE=
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC\include;
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include;
C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um;                                         
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt;
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared;
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um;
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt;

Include:
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC\include
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0                                                
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt

LIB=
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64;
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\lib\x64;
C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;
C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64;
C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64;

LIB:
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\lib\x64
C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64
C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\ucrt\x64
C:\Program Files (x86)\Windows Kits\10\lib\10.0.17763.0\um\x64

LIBPATH=
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64;
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\lib\x64;
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\lib\x86\store\references;
C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0;
C:\ProgramFiles (x86)\Windows Kits\10\References\10.0.17763.0;
C:\Windows\Microsoft.NET\Framework64\v4.0.30319;

LIBPATH:
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64
    C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\lib\x64
    C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0
    C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0
    C:\Windows\Microsoft.NET\Framework64\v4.0.30319

MSSDK= C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin
MSSDK: C:\Program Files (x86)\Windows Kits\10

NETFXSDKDir= C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\
NETFXSDKDir: C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\

Path=
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64;
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow;
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin\Roslyn;
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\;
C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64;
C:\Program Files (x86)\Windows Kits\10\bin\x64;
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\\MSBuild\15.0\bin;
C:\Windows\Microsoft.NET\Framework64\v4.0.30319;
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\;
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\;
C:\Stackless27;
C:\Program Files\Python37\Scripts\;
C:\Program Files\Python37\;
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;
C:\Program Files\Java\jdk1.8.0_181\jre\bin\;
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;
C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;
C:\Program Files\IDM Computer Solutions\UltraEdit;
C:\Program Files (x86)\Nmap

Path:
C:\Program Files (x86)\MSBuild\14.0\bin\amd64
C:\Program Files (x86)\HTML Help Workshop
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow
C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
C:\Windows\Microsoft.NET\Framework64\v4.0.30319
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\
C:\Program Files (x86)\MSBuild\14.0\bin\amd64
C:\Program Files (x86)\HTML Help Workshop
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\TestWindow
C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
C:\Windows\Microsoft.NET\Framework64\v4.0.30319
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\
C:\Stackless27
C:\Program Files\Python37\Scripts\
C:\Program Files\Python37\
C:\Program Files (x86)\Common Files\Oracle\Java\javapath
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\
C:\Program Files\Java\jdk1.8.0_181\jre\bin\
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\
C:\Program Files (x86)\Gpg4win\..\GnuPG\bin
C:\Program Files\IDM Computer Solutions\UltraEdit
C:\Program Files (x86)\Nmap
C:\Stackless35\lib\site-packages\pywin32_system32

Platform= x64
Platform: x64

UCRTVersion= 10.0.17763.0
UCRTVersion: 10.0.17763.0

UniversalCRTSdkDir= C:\Program Files (x86)\Windows Kits\10\
UniversalCRTSdkDir: C:\Program Files (x86)\Windows Kits\10\

VCIDEInstallDir= C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\
VCIDEInstallDir: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\

VCINSTALLDIR= C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\
VCINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\

VCToolsInstallDir= C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\
VCToolsInstallDir: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\

VCToolsRedistDir= C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Redist\MSVC\14.16.27012\
VCToolsRedistDir: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Redist\MSVC\14.16.27012

VCToolsVersion= 14.16.27023
VCToolsVersion: 14.16.27023

VisualStudioVersion= 15.0
VisualStudioVersion: 14.0

VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\

VS140COMNTOOLS= C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\
VS140COMNTOOLS: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools

VS150COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\

VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\

**these few are variables used by vcvarsall for storage and nothing more**
VSCMD_ARG_app_plat=Desktop
VSCMD_ARG_HOST_ARCH=x64
VSCMD_ARG_TGT_ARCH=x64
VSCMD_VER=15.0

VSINSTALLDIR= C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\
VSINSTALLDIR: C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\

WindowsLibPath=
C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0;
C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0

WindowsLibPath:
    C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0
    C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0

WindowsSdkBinPath= C:\Program Files (x86)\Windows Kits\10\bin\
WindowsSdkBinPath: C:\Program Files (x86)\Windows Kits\10\bin\

WindowsSdkDir= C:\Program Files (x86)\Windows Kits\10\
WindowsSdkDir: C:\Program Files (x86)\Windows Kits\10\

WindowsSDKLibVersion= 10.0.17763.0\
WindowsSDKLibVersion: 10.0.17763.0\

WindowsSdkVerBinPath= C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\
WindowsSdkVerBinPath: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\

WindowsSDKVersion= 10.0.17763.0\
WindowsSDKVersion: 10.0.17763.0\

WindowsSDK_ExecutablePath_x64= C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\
WindowsSDK_ExecutablePath_x64: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\

WindowsSDK_ExecutablePath_x86= C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\
WindowsSDK_ExecutablePath_x86: C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\

__DOTNET_ADD_64BIT= 1
__DOTNET_ADD_64BIT: 1

__DOTNET_PREFERRED_BITNESS= 64
__DOTNET_PREFERRED_BITNESS: 64

__VSCMD_PREINIT_PATH=
C:\Stackless27;
C:\Program Files\Python37\Scripts\;
C:\Program Files\Python37\;
C:\Program Files (x86)\Common Files\Oracle\Java\javapath;
C:\Windows\system32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Windows\System32\WindowsPowerShell\v1.0\;
c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;
C:\Program Files\Java\jdk1.8.0_181\jre\bin\;
C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;
C:\Program Files (x86)\Gpg4win\..\GnuPG\bin;
C:\Program Files\IDM Computer Solutions\UltraEdit;
C:\Program Files (x86)\Nmap
kdschlosser commented 5 years ago

I have been working on this I am trying to figure out a link issue when building the dll files I may just change the dlls so they can be python extensions and then compiling will be easier to do.

kdschlosser commented 5 years ago

OK good sir. I have updated the code for the master branch. It now compiles properly on my system.. It should support the fukll gambit of Windows SDK's and MSVC versions. all of the compiling of the extensions and DLLs is now handled internally to the setup script and no modification of solution files or anything of that nature needs to be done anymore.

kdschlosser commented 5 years ago

scratch that it is in the new_version branch.

kdschlosser commented 5 years ago

I have some modifications to the conversion script i wrote that i need to do.

DanEdens commented 5 years ago

Sick! Thanks I have some interest in learning why py3 is different and eventually do some of the conversion. Things will fit together alot better now with my other stuff.

Are the plugin versions the same?

DanEdens commented 5 years ago

File "C:\Users\Dan.Edens\Documents\GitHub\EventGhost-x64-Python3.5\setup.py", line 515, in VistaVolEvents File "C:\Users\Dan.Edens\Documents\GitHub\EventGhost-x64-Python3.5\lib27\Charmenv\lib\site-packages\cx_Freeze\dist.py", li ne 349, in setup distutils.core.setup(**attrs) File "C:\Program Files\Stackless35\lib\distutils\core.py", line 108, in setup _setup_distribution = dist = klass(attrs) File "C:\Users\Dan.Edens\Documents\GitHub\EventGhost-x64-Python3.5\lib27\Charmenv\lib\site-packages\cx_Freeze\dist.py", li ne 24, in init distutils.dist.Distribution.init(self, attrs) File "C:\Users\Dan.Edens\Documents\GitHub\EventGhost-x64-Python3.5\lib27\Charmenv\lib\site-packages\setuptools\dist.py", l ine 364, in init self.patch_missing_pkg_info(attrs) AttributeError: 'Distribution' object has no attribute 'patch_missing_pkg_info' ]

DanEdens commented 5 years ago

I sorted it. Had something in my lib27 before build that shouldn't of been there.

kdschlosser commented 5 years ago

here is an already compiled version if you want.

https://ci.appveyor.com/project/kdschlosser/eventghost-x64-python3-5/build/artifacts

DanEdens commented 5 years ago

This is the error after using the installer. It shows in the tray but the UI won't load. No tray meny either.

2019-07-06 23_31_29-Microsoft Store

Would my stackless python already having cx_freeze installed mess something up? I have 4 pythons now and am still learning how they interact, have learned alot about environments tho. i'll go over everything in the morning see if It's something obvious i mixed up.

kdschlosser commented 5 years ago

I am working through some of the issues with the builder/installer now. It is a very complex problem because of some of the coding in EG it's self as well as the different python installations. I have to re code the build system because py2exe does not work on python 3.5+ which is what is used in eg 0.4 and eg 0.5. I am using cx_Freeze in this version

I am actually going to shift my work to using python 3.7 because stackless python has been released for 3.7. I got the documentation to build successfully I am now hammering out issues with the installer. changing to python 3.7 should be a pretty easy thing to do.

DanEdens commented 5 years ago

sweet. well don't feel rushed on my account, Just wish I could do more to help! This is really awesome.

Get Outlook for Androidhttps://aka.ms/ghei36


From: Kevin Schlosser notifications@github.com Sent: Sunday, July 7, 2019 1:39:04 PM To: kdschlosser/EventGhost-x64-Python3.5 Cc: Edens, Dan; State change Subject: Re: [kdschlosser/EventGhost-x64-Python3.5] eventghost_build_ext.py copy mixup for windows 10 (#3)

I am working through some of the issues with the builder/installer now. It is a very complex problem because of some of the coding in EG it's self as well as the different python installations. I have to re code the build system because py2exe does not work on python 3.5+ which is what is used in eg 0.4 and eg 0.5. I am using cx_Freeze in this version

I am actually going to shift my work to using python 3.7 because stackless python has been released for 3.7. I got the documentation to build successfully I am now hammering out issues with the installer. changing to python 3.7 should be a pretty easy thing to do.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_kdschlosser_EventGhost-2Dx64-2DPython3.5_issues_3-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DALQ6VL73FIEJIYMKWXSP5TTP6IZ4RA5CNFSM4H6SMADKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZLQ2SI-23issuecomment-2D509021513&d=DwMCaQ&c=PxfYzZIOhiEFrQSsAS73pxPu1Q2TqAOsgr7dD0ifaoI&r=8aqYxYXu9ZLFqHRgrW-iRd8SD7R3e26rELasKx7FHCM&m=hjp7LNLTnM0uzWIcZKfyevDkpnfeuUF4ppqWyCFh5v4&s=5cgKa1UjYOcCpOCdNUFd7z2MP0WJoDLQG7Vt0DNBYBw&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALQ6VLYUZTTMIVIXEN5C5WLP6IZ4RANCNFSM4H6SMADA&d=DwMCaQ&c=PxfYzZIOhiEFrQSsAS73pxPu1Q2TqAOsgr7dD0ifaoI&r=8aqYxYXu9ZLFqHRgrW-iRd8SD7R3e26rELasKx7FHCM&m=hjp7LNLTnM0uzWIcZKfyevDkpnfeuUF4ppqWyCFh5v4&s=REbEFeBwQqRM5whfWmB1x5q1S21EivKv0IZ9bvp5zT0&e=.

kdschlosser commented 5 years ago

This does need to get done. Python 2.7 is coming close to end of life so this update really needs to be made.

The biggest problem is if an update of this size has to be made then there are other changes that should be considered at the same time. and that is the hard part because those changes are going to require an almost total overhaul of the code. and are going to take the current API and toss it right out the window.