Launching 'sam.bat', I receive the Windows 'application cannot start correctly 0xc00007b' error, which usually indicates an x32/x64 mismatch. In this case, though, I *believe* that both python and Tuttle are x32.
- My working 32-bit Python is on an x-64 Windows 8.1 machine
- I downloaded the 'production' Windows binaries from
http://www.tuttleofx.org/download, which I deduce should be x32 as the x64 option in the download matrix is greyed out
- I found I had to add 'C:\Windows\SysWOW64' to Windows path (location for x32 DLLs)
Has anyone else run into this?
For additional information, I edited 'sam.bat' as follows:
@echo off
REM you can set here your PYTHONHOME (if you haven't one already defined for example).
REM Setting Pythonhome causes trouble
set PYTHONHOME=c:\Python27
ECHO var = %PYTHONHOME%
set PYTHONPATH=c:\Python27\Lib
ECHO var = %PYTHONPATH%
REM set Path=%PYTHONHOME%;%Path%
set PATH=%PYTHONHOME%;%PATH%
REM ECHO var = %Path%
set TUTTLE_ROOT=%~dp0
ECHO var = %TUTTLE_ROOT%
set TUTTLE_HOME=%UserProfile%\cache_tuttleofxRelease
if not exist %TUTTLE_HOME% mkdir %TUTTLE_HOME%
ECHO var = %TUTTLE_HOME%
REM python.exe "%TUTTLE_ROOT%/sam.py" %*
C:\Python27\python.exe "%TUTTLE_ROOT%/sam.py" %*