Re: [darktable-dev] Can't compile last git pull source (may, 31. 2017)

2017-05-31 Thread Roman Lebedev
On Wed, May 31, 2017 at 11:13 AM, André Felipe Carvalho
 wrote:
> Hi,
> Trying to compile the last git pull just now, it gives some errors.
Update rawspeed submodule.

> I have 4.8.0-35-generic #40~16.04.1-Ubuntu SMP Wed Feb 1 17:42:37 UTC 2017
> x86_64 x86_64 x86_64 GNU/Linux
>
> Thank you in advance for any help.
>
> Darktable build script
>
> Building directory:  /home/andre/compilar/darktable/build
> Installation prefix: /opt/darktable
> Build type:  RelWithDebInfo
> Build generator: Unix Makefiles
> Build tasks: 8
>
>
> -- Building SSE2-optimized codepaths: ON
> -- Found little endian system. Good.
> -- Is the target platform supported: 1
> -- multiarch triplet detected: x86_64-linux-gnu
> -- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs
> -- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success
> -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs
> -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success
> -- Performing Test
> C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
> -- Performing Test
> C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Failed
> -- Performing Test
> CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
> -- Performing Test
> CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Failed
> -- Performing Test C_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768
> -- Performing Test C_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 -
> Success
> -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768
> -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 -
> Success
> -- Performing Test C_COMPILER_UNDERSTANDS_-Wstack-usage=32768
> -- Performing Test C_COMPILER_UNDERSTANDS_-Wstack-usage=32768 - Success
> -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wstack-usage=32768
> -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wstack-usage=32768 - Success
> -- Performing Test C_COMPILER_UNDERSTANDS_-Wlarger-than=524288
> -- Performing Test C_COMPILER_UNDERSTANDS_-Wlarger-than=524288 - Success
> -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wlarger-than=524288
> -- Performing Test CXX_COMPILER_UNDERSTANDS_-Wlarger-than=524288 - Success
> -- Looking for external programs
> -- Found perl
> -- Found intltool-merge
> -- Found desktop-file-validate
> CMake Warning at CMakeLists.txt:335 (find_package):
>   Could not find a package configuration file provided by "LLVM" (requested
>   version 3.9) with any of the following names:
>
> LLVMConfig.cmake
> llvm-config.cmake
>
>   Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
>   "LLVM_DIR" to a directory containing one of the above files.  If "LLVM"
>   provides a separate development package or SDK, be sure it has been
>   installed.
>
>
> CMake Warning at CMakeLists.txt:364 (message):
>   Could not find LLVM 3.9+
>
>
> CMake Warning at CMakeLists.txt:365 (message):
>   Test-compilation of OpenCL programs can not be done.
>
>
> -- Test-compilation of OpenCL programs is disabled.
> -- Missing jsonschema, problems in noiseprofiles.json might go unnoticed
> -- Found xsltproc
> -- Found xmllint
> -- All external programs found
> -- Found msgfmt to convert .po file. Translation enabled
> -- Checking for -march=native support
> -- Checking for -march=native support - works
> -- Checking for -std=c++11 support
> -- Checking for -std=c++11 support - works
> -- Looking for PThreads
> -- Looking for PThreads - found
> -- Looking for OpenMP
> -- Looking for OpenMP - found
> -- Looking for pugixml
> -- Found Pugixml 1.70
> -- Looking for pugixml - found (system)
> -- Looking for JPEG
> -- Looking for JPEG - found
> -- Looking for ZLIB
> -- Looking for ZLIB - found (system)
> -- Looking for xmllint tool
> -- Looking for xmllint tool - found
> -- Found Glib 2.48.2
> -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found suitable
> version "2.9.3", minimum required is "2.6")
> -- Checking for one of the modules 'libsoup-2.2;libsoup2'
> -- Found GIO
> -- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version
> "2.9.3")
> -- Found Sqlite3 3.11.0
> -- Found JsonGlib
> CMake Warning at cmake/modules/LibFindMacros.cmake:263 (message):
>   WARNING: MISSING PACKAGE
>
>   We only found some files of OpenJPEG, not all of them.  Perhaps your
>   installation is incomplete or maybe we just didn't look in the right
> place?
>   This package is NOT REQUIRED and you may ignore this warning but by doing
>   so you may miss some functionality of darktable.
>
>   Relevant CMake configuration variables:
>
> OpenJPEG_INCLUDE_DIR=/usr/include
> OpenJPEG_LIBRARY=
>
>   You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
>   CMakeCache.txt to discard all values and force full re-detection if
>   necessary.
>
> Call Stack (most recent call first):
>   cmake/modules/FindOpenJPEG.cmake:29 (libfind_process)
>   src/CMakeLists.txt:296 (find_package)
>
>
> -- 

Re: [darktable-dev] Can't compile last git pull source (may, 31. 2017)

2017-05-31 Thread André Felipe Carvalho
Duh no
Now yes: git submodule update
Caminho do sub-módulo 'src/external/rawspeed': confirmado
'5f30d1f70c392be4834be1c7b7ea8c145c9c53a0'

And compilation now runs Ok. Thank you, Heiko!


2017-05-31 5:25 GMT-03:00 Heiko Bauke :

> Dear André,
>
> Am 31.05.2017 um 10:13 schrieb André Felipe Carvalho:
>
>> /home/andre/compilar/darktable/src/common/imageio_rawspeed.cc:49:17:
>> error: ‘rawspeed’ is not a namespace-name
>>   using namespace rawspeed;
>>
>
> have you updated the rawspeed submodule (git submodule update)?
>
>
> Heiko
>
> --
> -- Number Crunch Blog @ https://www.numbercrunch.de
> --  Cluster Computing @ http://www.clustercomputing.de
> --   Professional @ https://www.mpi-hd.mpg.de/personalhomes/bauke
> --  Social Networking @ https://www.researchgate.net/profile/Heiko_Bauke
> 
> ___
> darktable developer mailing list
> to unsubscribe send a mail to darktable-dev+unsubscribe@list
> s.darktable.org
>
>


-- 
André Felipe

https://www.flickr.com/photos/andrefelipecarvalho/

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



Re: [darktable-dev] Can't compile last git pull source (may, 31. 2017)

2017-05-31 Thread Heiko Bauke

Dear André,

Am 31.05.2017 um 10:13 schrieb André Felipe Carvalho:
/home/andre/compilar/darktable/src/common/imageio_rawspeed.cc:49:17: 
error: ‘rawspeed’ is not a namespace-name

  using namespace rawspeed;


have you updated the rawspeed submodule (git submodule update)?


Heiko

--
-- Number Crunch Blog @ https://www.numbercrunch.de
--  Cluster Computing @ http://www.clustercomputing.de
--   Professional @ https://www.mpi-hd.mpg.de/personalhomes/bauke
--  Social Networking @ https://www.researchgate.net/profile/Heiko_Bauke
___
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



[darktable-dev] Can't compile last git pull source (may, 31. 2017)

2017-05-31 Thread André Felipe Carvalho
Hi,
Trying to compile the last git pull just now, it gives some errors.
I have 4.8.0-35-generic #40~16.04.1-Ubuntu SMP Wed Feb 1 17:42:37 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux

Thank you in advance for any help.

Darktable build script

Building directory:  /home/andre/compilar/darktable/build
Installation prefix: /opt/darktable
Build type:  RelWithDebInfo
Build generator: Unix Makefiles
Build tasks: 8


-- Building SSE2-optimized codepaths: ON
-- Found little endian system. Good.
-- Is the target platform supported: 1
-- multiarch triplet detected: x86_64-linux-gnu
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs
-- Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success
-- Performing Test
C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
-- Performing Test
C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Failed
-- Performing Test
CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
-- Performing Test
CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Failed
-- Performing Test C_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768
-- Performing Test C_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 -
Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wframe-larger-than=32768 -
Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wstack-usage=32768
-- Performing Test C_COMPILER_UNDERSTANDS_-Wstack-usage=32768 - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wstack-usage=32768
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wstack-usage=32768 - Success
-- Performing Test C_COMPILER_UNDERSTANDS_-Wlarger-than=524288
-- Performing Test C_COMPILER_UNDERSTANDS_-Wlarger-than=524288 - Success
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wlarger-than=524288
-- Performing Test CXX_COMPILER_UNDERSTANDS_-Wlarger-than=524288 - Success
-- Looking for external programs
-- Found perl
-- Found intltool-merge
-- Found desktop-file-validate
CMake Warning at CMakeLists.txt:335 (find_package):
  Could not find a package configuration file provided by "LLVM" (requested
  version 3.9) with any of the following names:

LLVMConfig.cmake
llvm-config.cmake

  Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
  "LLVM_DIR" to a directory containing one of the above files.  If "LLVM"
  provides a separate development package or SDK, be sure it has been
  installed.


CMake Warning at CMakeLists.txt:364 (message):
  Could not find LLVM 3.9+


CMake Warning at CMakeLists.txt:365 (message):
  Test-compilation of OpenCL programs can not be done.


-- Test-compilation of OpenCL programs is disabled.
-- Missing jsonschema, problems in noiseprofiles.json might go unnoticed
-- Found xsltproc
-- Found xmllint
-- All external programs found
-- Found msgfmt to convert .po file. Translation enabled
-- Checking for -march=native support
-- Checking for -march=native support - works
-- Checking for -std=c++11 support
-- Checking for -std=c++11 support - works
-- Looking for PThreads
-- Looking for PThreads - found
-- Looking for OpenMP
-- Looking for OpenMP - found
-- Looking for pugixml
-- Found Pugixml 1.70
-- Looking for pugixml - found (system)
-- Looking for JPEG
-- Looking for JPEG - found
-- Looking for ZLIB
-- Looking for ZLIB - found (system)
-- Looking for xmllint tool
-- Looking for xmllint tool - found
-- Found Glib 2.48.2
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found suitable
version "2.9.3", minimum required is "2.6")
-- Checking for one of the modules 'libsoup-2.2;libsoup2'
-- Found GIO
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found version
"2.9.3")
-- Found Sqlite3 3.11.0
-- Found JsonGlib
CMake Warning at cmake/modules/LibFindMacros.cmake:263 (message):
  WARNING: MISSING PACKAGE

  We only found some files of OpenJPEG, not all of them.  Perhaps your
  installation is incomplete or maybe we just didn't look in the right
place?
  This package is NOT REQUIRED and you may ignore this warning but by doing
  so you may miss some functionality of darktable.

  Relevant CMake configuration variables:

OpenJPEG_INCLUDE_DIR=/usr/include
OpenJPEG_LIBRARY=

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/modules/FindOpenJPEG.cmake:29 (libfind_process)
  src/CMakeLists.txt:296 (find_package)


-- Found GraphicsMagick
-- Does the compiler support __builtin_cpu_supports(): 1
-- Checking for -march=native support
-- Checking for one of the modules 'lua53;lua5.3;lua-5.3;lua'
-- Lua support: System library for lua 5.3 not found (to use darktable's
version use -DDONT_USE_INTERNAL_LUA=Off)
-- Found Pugixml 1.70
-- Map mode: enabled
-- Print mode: