Project

General

Profile

Bug #11836

Compilation error on W10

Added by Jean-Luc Fornac over 1 year ago. Updated over 1 year ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Buildsystem
Target version:
Start date:
11/28/2017
Due date:
% Done:

100%

Affected Version:
git master branch
System:
Windows
bitness:
64-bit
hardware architecture:
amd64/x86

Description

hi

After doing
cmake --build . -- --trace
i have this error

[ 43%] Generating authors.h for about dialog.
cd /D/msys64/home/BOSS/darktable/build/src/libs && /D/msys64/mingw64/bin/cmake.exe -E make_directory D:/msys64/home/BOSS/darktable/build/src/libs/tools/
cd /D/msys64/home/BOSS/darktable/build/src/libs && /D/msys64/mingw64/bin/cmake.exe -E env LANG=C LC_ALL=C D:/msys64/home/BOSS/darktable/tools/authors_h.sh D:/msys64/home/BOSS/darktable/AUTHORS D:/msys64/home/BOSS/darktable/build/src/libs/tools/darktable_authors.h
%1 n’est pas une application Win32 valide
make2: * [src/libs/CMakeFiles/generate_authors_h.dir/build.make:65: src/libs/tools/darktable_authors.h] Error 1
make1:
[CMakeFiles/Makefile2:2612: src/libs/CMakeFiles/generate_authors_h.dir/all] Error 2
make: *
* [Makefile:152: all] Error 2

i have cmake version 3.9.6

thanks

History

#1 Updated by Roman Lebedev over 1 year ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

That should be fixed already

#2 Updated by Tobias Ellinghaus over 1 year ago

Nevermind, it might actually be it as Peter pointed out on Github.

To me that looks different than what was fixed. This is Windows complaining that a shell script is not a valid Windows executable.

Were you following the packaging/windows/BUILD.txt file? Most importantly, generating the right kind of makefile and doing it all in the mingw64 shell?

Also available in: Atom PDF