Hi, let me pick up this thread. It made me interested in trying to compile
on my rasperrypi 3b with raspian is. After resolving all the dependencies I
had to modify CMakeList.txt as follows

-if(NOT IS_SUPPORTED_PLATFORM)
-  MESSAGE(FATAL_ERROR "The target platform is not supported!")-endif(NOT
IS_SUPPORTED_PLATFORM)
 MESSAGE(STATUS "Is the target platform supported:
-endif(NOT IS_SUPPORTED_PLATFORM)

It also mentioned sse2 issues, so I had to change that accordingly:

-option(BUILD_SSE2_CODEPATHS "(EXPERIMENTAL OPTION, DO NOT DISABLE)
Building SSE2-optimized codepaths" ON)
+option(BUILD_SSE2_CODEPATHS "(EXPERIMENTAL OPTION, DO NOT DISABLE)
Building SSE2-optimized codepaths" OFF)

Then CMake stopped complaining and generated the makefile. This however is
the final fail:

[ 17%] Building C object
src/CMakeFiles/lib_darktable.dir/common/darktable.c.o
In file included from /home/pi/work/darktable/src/common/darktable.c:350:0:
/home/pi/work/darktable/src/is_supported_platform.h: In function 'dt_init':
/home/pi/work/darktable/src/is_supported_platform.h:45:2: error: #error
"Unfortunately we only work on amd64/x86 (64-bit and maybe 32-bit) and
ARMv8-A (64-bit only)."
 #error "Unfortunately we only work on amd64/x86 (64-bit and maybe 32-bit)
and ARMv8-A (64-bit only)."
  ^~~~~
/home/pi/work/darktable/src/is_supported_platform.h:50:2: error: #error "On
non-x86, we only support 64-bit."
 #error "On non-x86, we only support 64-bit."
  ^~~~~
/home/pi/work/darktable/src/is_supported_platform.h:64:9: note: #pragma
message: Building without SSE2 is highly experimental. #pragma message
"Building without SSE2 is highly experimental."
         ^~~~~~~
/home/pi/work/darktable/src/is_supported_platform.h:65:9: note: #pragma
message: Expect a LOT of functionality to be broken. You have been warned.
 #pragma message "Expect a LOT of functionality to be broken. You have been
warned."
         ^~~~~~~
/home/pi/work/darktable/src/is_supported_platform.h:69:9: note: #pragma
message: Warning: 32-bit build.
 #pragma message "Warning: 32-bit build."
         ^~~~~~~
src/CMakeFiles/lib_darktable.dir/build.make:388: recipe for target
'src/CMakeFiles/lib_darktable.dir/common/darktable.c.o' failed
make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/darktable.c.o] Error 1
CMakeFiles/Makefile2:1395: recipe for target
'src/CMakeFiles/lib_darktable.dir/all' failed
make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Some quick research showed that the raspberry pi is 32 bits only.

Kind regards
Dave



Am 18.09.2018 16:28 schrieb "Ihor Dvoretskyi" <ihor.dvorets...@gmail.com>:

Holger,

Which operating system do you use on RPi? Also, can you please share the
details and results of the compilation (console output).

Thanks

On Sun, Sep 16, 2018, 12:01 PM Holger Klemm <darkta...@multimedia4linux.de>
wrote:

> hello,
> I saw on youtube that darktable is running on the raspberry pi 3.
> I have tried to compile darktable 2.4.4 on the raspberry pi, but it comes
> the
> error message:
> platform not supported
> What do I have to do to make it work?
> I would like to use darktable as a fast raw, jpeg viewer
>
> Holger
> ___________________________________________________________________________
> darktable developer mailing list
> to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
>
>
___________________________________________________________________________
darktable developer mailing list to unsubscribe send a mail to
darktable-dev+unsubscr...@lists.darktable.org

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to