Build Gaffer on window 10 issue

160 views
Skip to first unread message

wa gaga

unread,
Apr 21, 2017, 7:16:07 AM4/21/17
to gaffer-dev
Hello , i'm new to gaffer . I'm trying to build gaffer on window 10 using scons .  But I encountered such an error :

D:\Dev_project\Gaffer_Compile_1\gaffer-0.32.0.1>scons D:\Dev_project\Gaffer_Compile_1\gaffer-0.32.0.1 build\
scons: Reading SConscript files ...
Checking for Inkscape... (cached) yes
Checking for Sphinx...(cached) no
WARNING : Sphinx not found - not building docs. Check SPHINX build variable.
scons: done reading SConscript files.
scons: Building targets ...
g++ /Fosrc\Gaffer\Action.obj /c src\Gaffer\Action.cpp -pipe -Wall -Werror -std=c++98 -DNDEBUG -DBOOST_DISABLE_ASSERTS -O3 -isystem D:\Dev_project\Gaffer_Compile_1\gaffer-0.32.0.1\build\gaffer-0.32.0.0-/include -isystem D:\Dev_project\Gaffer_Compile_1\gaffer-0.32.0.1\build\gaffer-0.32.0.0-/include/pythonv2.7 -isystem D:\Dev_project\Gaffer_Compile_1\gaffer-0.32.0.1\build\gaffer-0.32.0.0-/include/OpenEXR -isystem D:\Dev_project\Gaffer_Compile_1\gaffer-0.32.0.1\build\gaffer-0.32.0.0-/include/GL /nologo -DBOOST_FILESYSTEM_VERSION=3 -DBOOST_FILESYSTEM_NO_DEPRECATED -DBOOST_SIGNALS_NO_DEPRECATION_WARNING /DGAFFER_MILESTONE_VERSION=0 /DGAFFER_MAJOR_VERSION=32 /DGAFFER_MINOR_VERSION=0 /DGAFFER_PATCH_VERSION=0 /Iinclude
g++: error: /Fosrc\Gaffer\Action.obj: No such file or directory
g++: error: /c: No such file or directory
g++: error: /nologo: No such file or directory
g++: error: /DGAFFER_MILESTONE_VERSION=0: No such file or directory
g++: error: /DGAFFER_MAJOR_VERSION=32: No such file or directory
g++: error: /DGAFFER_MINOR_VERSION=0: No such file or directory
g++: error: /DGAFFER_PATCH_VERSION=0: No such file or directory
g++: error: /Iinclude: No such file or directory
scons: *** [src\Gaffer\Action.obj] Error 1
scons: building terminated because of errors.

Can someone help me? Thank you so much ...

john haddon

unread,
Apr 21, 2017, 7:37:26 AM4/21/17
to gaffer-dev
Hi,

I'm afraid we don't support Windows at present, only Linux and macOS. I believe it is possible to run Gaffer binaries under the Linux subsystem in Windows 10 though - Gustaf Nilsson kindly provided some instructions for doing that in this post :

https://groups.google.com/forum/#!msg/gaffer-dev/7aHPvRfYQgM/NlDE_ZUCDwAJ

Cheers...
John

wa gaga

unread,
Apr 25, 2017, 3:23:47 AM4/25/17
to gaffer-dev
Thank you so much ,i have been successful start gaffer in the linux subsystem now , but doing so will become quite poor performance?

在 2017年4月21日星期五 UTC+8下午7:37:26,john haddon写道:

John Haddon

unread,
Apr 25, 2017, 4:42:07 AM4/25/17
to gaffe...@googlegroups.com
On 25 April 2017 at 08:23, wa gaga <reash...@gmail.com> wrote:
Thank you so much ,i have been successful start gaffer in the linux subsystem now , but doing so will become quite poor performance?

I honestly don't know - as I said before we can only support Linux and macOS at present...

Daniel Dresser

unread,
Apr 25, 2017, 1:23:39 PM4/25/17
to gaffer-dev
I don't see any reason to think that the performance would be poor.  I assume it works something like WINE in reverse - it's Windows providing some new API calls that match Linux, rather than being an emulator.

I haven't tried it, but glancing at benchmarks online it looks fine.

Alex Fuller

unread,
Apr 27, 2017, 12:22:06 AM4/27/17
to gaffer-dev
As a test I find the OpenGL performance to not be as good as the best way of getting GUI to work with the Linux subsystem is connecting via X11 with indirect OpenGL (meaning the mesa library is rendering it in software and not using your GPU). For file I/O I'd agree with Daniel it is probably decent. There is a backburner project of mine to port Gaffer eventually to Windows, but no ETA on that...
Reply all
Reply to author
Forward
0 new messages