Build for Windows, help please

@MarcoNex Thank you for the build!!

Update this one works on my PC with Windows 10 Homeā€¦tried on my other PC that is Win10 Pro and it does not workā€¦could also be completely unrelated I get an app failed to open 0xc0000142 errorā€¦

I found that some items were missing in the build process (instructions are not very clearā€¦).
I will post an updated build soon, be patient
Marco

Here is a new build, fixed some missing components.
it looks much more stable, at least for me.

To fully enjoy the new GUI:

  • from Google, install the Roboto font family, including Roboto Condensed
  • in C:\Program Files\darktable\share\darktable\themes, replace the file darktable-elegant.css with this one
  • in Darktable preferences, select the theme Darktable Elegant

Please backup your old darktable folder in APPDATA before trying a potentially unstable version.
I wonā€™t take the blame if you donā€™t :wink:

Marco

1 Like

Once again thanks for the build.
I will need to start looking at the css to change it to my liking. Not sure Roboto font is to my liking, but that is it great thing about the change to a css theme.

Thanks for this Marcoā€¦looks like OPENCL is crashing it from what I can see in the error logsā€¦I will see if it can be run with that disabledā€¦

OpenCL seems to work for me.
Does DT crash at startup or later ? Did you use the last build ?

Ya I now get unhandled exception at startupā€¦what version of Windows are you running?? Here is the back trace I getā€¦darktable_bt_6NQI0Z.txt (4.7 KB)

This PC is Win10 Pro but it only has Intel integrated graphics so no openCL issue with this one . On my other PC also WIn10 Pro I have an NVidia Card. It seemed to crash on startup with an OPENCL init error. Then i ran it disabled and it went further but had a new error in libdarktable.dllā€¦something about the ui widgetā€¦Most errors are referring to libdarktable.dllā€¦THanks for posting a new buildā€¦likely my hardware or Win10 Pro maybe??

I have Windows 10 Home, version 10.0.17134, with nVidia 1060.
With the new build I only have some obscure GTK warnings about the GUI, but no crashes so far.
OpenCL is activated.
Does the official DT 2.6.2 windows build work ok for you ?
Iā€™m afraid my knowledge of DT code is far too little to debug thisā€¦

Iā€™m on win7 and I get an exception at startup. I can post a bt if youā€™ll find it useful.

Of course, itā€™s difficult to know if itā€™s the build or the source. Maybe if you build the 2.6.2 release we can confirm that your building okā€¦

I have Windows 10 Home, Version1809, OS Build 17763.437 with nVidia 750. Iā€™m not having any crashes so far.
Where do you see the GTK warnings, there are none obvious to me?

I see the warnings because I can run DT from the MinGW64 shell which I used for building.

Good idea, will do that

Here is the DT 2.6.2 build.
Can you please test it if runs OK ?
I get no obvious warnings from the compilerā€¦

Tried itā€¦ Iā€™m getting an unhandled exception with this too.

Hereā€™s a backtrace:
this is darktable 2.6.2+4~ged2c42df9 reporting an exception:

-------------------

Error occurred on Friday, April 19, 2019 at 18:18:57.

darktable.exe caused an Illegal Instruction at location 00000000635E2501 in module libdarktable.dll.

AddrPC           Params
00000000635E2501 000007FE00000001 00000000012C4EF0 0000000000000001  libdarktable.dll!dt_init  [C:/msys64/home/marco/darktable-2.6/darktable/src/control/conf.h @ 241]
00000000004030B4 00000000004016A0 00000000F9F8EC97 00000000012C4ED0  darktable.exe!main  [C:/msys64/home/marco/darktable-2.6/darktable/src/main.c @ 82]
0000000000401605 000000000000005A 0000000000000000 0000000000408978  darktable.exe!wmain  [C:/msys64/home/marco/darktable-2.6/darktable/src/win/main_wrapper.h @ 15]
00000000004013FE 0000000000000000 0000000000000000 0000000000000000  darktable.exe!__tmainCRTStartup  [E:/mingwbuild/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 334]
000000000040153B 0000000000000000 0000000000000000 0000000000000000  darktable.exe!mainCRTStartup  [E:/mingwbuild/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 223]
00000000774F652D 0000000000000000 0000000000000000 0000000000000000  kernel32.dll!BaseThreadInitThunk
000000007772C521 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart

darktable.exe	2.6.2.4
ntdll.dll   	6.1.7601.17514
kernel32.dll	6.1.7601.17514
KERNELBASE.dll	6.1.7601.17514
msvcrt.dll  	7.0.7600.16385
libglib-2.0-0.dll	2.58.3.0
libintl-8.dll	0.19.8.0
ADVAPI32.dll	6.1.7600.16385
sechost.dll 	6.1.7600.16385
RPCRT4.dll  	6.1.7601.17514
libiconv-2.dll	1.15.0.0
ole32.dll   	6.1.7601.17514
GDI32.dll   	6.1.7601.17514
USER32.dll  	6.1.7601.17514
LPK.dll     	6.1.7600.16385
USP10.dll   	1.626.7601.17514
libwinpthread-1.dll	1.0.0.0
SHELL32.dll 	6.1.7601.17514
SHLWAPI.dll 	6.1.7601.17514
WS2_32.dll  	6.1.7601.17514
NSI.dll     	6.1.7600.16385
libpcre-1.dll
libdarktable.dll
PSAPI.DLL   	6.1.7600.16385
libgcc_s_seh-1.dll
libstdc++-6.dll
libgomp-1.dll
libcairo-2.dll
MSIMG32.dll 	6.1.7600.16385
libfontconfig-1.dll
libexpat-1.dll
libfreetype-6.dll	2.10.0.0
libbz2-1.dll
libharfbuzz-0.dll
DWrite.dll  	6.2.9200.16492
libgraphite2.dll
libpng16-16.dll
zlib1.dll
libpixman-1-0.dll
exchndl.dll 	0.9.1.0
mgwhelp.dll 	0.9.1.0
dbghelp.dll 	6.1.7601.17514
VERSION.dll 	6.1.7600.16385
libexiv2.dll
libgdk-3-0.dll	3.24.7.0
dwmapi.dll  	6.1.7600.16385
IMM32.dll   	6.1.7600.16385
MSCTF.dll   	6.1.7600.16385
SETUPAPI.dll	6.1.7601.17514
CFGMGR32.dll	6.1.7601.17514
OLEAUT32.dll	6.1.7601.17514
DEVOBJ.dll  	6.1.7600.16385
WINMM.dll   	6.1.7600.16385
libcairo-gobject-2.dll
libgobject-2.0-0.dll	2.58.3.0
libffi-6.dll
libepoxy-0.dll
libfribidi-0.dll
libgdk_pixbuf-2.0-0.dll	2.38.1.0
gdiplus.dll 	6.1.7601.17514
libgio-2.0-0.dll	2.58.3.0
DNSAPI.dll  	6.1.7601.17514
IPHLPAPI.DLL	6.1.7601.17514
WINNSI.DLL  	6.1.7600.16385
libgmodule-2.0-0.dll	2.58.3.0
libpango-1.0-0.dll	1.43.0.0
libthai-0.dll
libdatrie-1.dll
libpangocairo-1.0-0.dll	1.43.0.0
libpangoft2-1.0-0.dll	1.43.0.0
libpangowin32-1.0-0.dll	1.43.0.0
libgphoto2-6.dll
libgphoto2_port-12.dll
libltdl-7.dll
libsystre-0.dll
libtre-5.dll
libexif-12.dll
libGraphicsMagick-3.dll
liblcms2-2.dll
libgtk-3-0.dll	3.24.7.0
COMCTL32.dll	6.10.7601.17514
comdlg32.dll	6.1.7601.17514
WINSPOOL.DRV	6.1.7601.17514
libatk-1.0-0.dll	2.32.0.0
libIlmImf-2_3.dll
libHalf-2_3.dll
libIex-2_3.dll
libIlmThread-2_3.dll
libImath-2_3.dll
libjpeg-8.dll
libjson-glib-1.0-0.dll
lua53.dll
libopenjp2-7.dll
libpugixml.dll
librsvg-2-2.dll
libcroco-0.6-3.dll
libxml2-2.dll
liblzma-5.dll	5.2.4.0
libsecret-1-0.dll
libgcrypt-20.dll	1.8.4.17417
libgpg-error-0.dll	1.36.0.0
libsoup-2.4-1.dll
libpsl-5.dll
libidn2-0.dll
libunistring-2.dll	0.9.10.0
libsqlite3-0.dll
libtiff-5.dll
libzstd.dll
CRYPTSP.dll 	6.1.7600.16385
rsaenh.dll  	6.1.7600.16385
CRYPTBASE.dll	6.1.7600.16385
uxtheme.dll 	6.1.7600.16385
CLBCatQ.DLL 	2001.12.8530.16385
propsys.dll 	7.0.7601.17514
ntmarta.dll 	6.1.7600.16385
WLDAP32.dll 	6.1.7601.17514
apphelp.dll 	6.1.7601.17514
mswsock.dll 	6.1.7601.17514
wshtcpip.dll	6.1.7600.16385
wship6.dll  	6.1.7600.16385
rasadhlp.dll	6.1.7600.16385
fwpuclnt.dll	6.1.7600.16385

Windows 6.1.7601
DrMingw 0.9.1
1 Like

That usually means the build was made for a target (cpu) which has some features your cpu does not have.

Thatā€™d make sense.

Iā€™m on an i5, could that be the issue, MarcoNex?

It could be. My CPU is a AMD Ryzen 5.
Actually, the first thing CMake does is to test the CPU features and set the compiler flags.
I should perhaps set some generic flags so the executable can run on all CPU types.
I donā€™t know how do it right now, need some investigation.

I am on a Ryzen 7 - I can tryā€¦

Have fun!
Claes in Lund, Sweden