Warnings During CMake/ninja Compilation of inkscape-trunk
![](https://secure.gravatar.com/avatar/fe9dd14a475c8070daf5f332ecd836fd.jpg?s=120&d=mm&r=g)
Hi all,
After I ran CMake using:
<<< #!/bin/bash cmake -G Ninja -DCMAKE_INSTALL_PREFIX="$HOME/apps/graphics/inkscape-trunk" -DENABLE_LCMS=OFF -DCMAKE_CXX_FLAGS="-fpermissive" -DENABLE_POPPLER=OFF -DENABLE_POPPLER_CAIRO=OFF ../inkscape/
"ninja" emits the attached output with many warnings. I was told to write about that to the list.
I'm on Mageia Linux 3/x86-64 .
Regards,
Shlomi Fish
![](https://secure.gravatar.com/avatar/ca2f70e2d8f170737606b4b740d91a92.jpg?s=120&d=mm&r=g)
Most of the warnings look like this:
/usr/include/ImageMagick-6/magick/magick-config.h:29:3: warning: #warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" [-Wcpp] /usr/include/ImageMagick-6/magick/magick-config.h:30:3: warning: #warning "this is an obsolete behavior please fix your makefile" [-Wcpp] /usr/include/ImageMagick-6/magick/magick-config.h:52:3: warning: #warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default" [-Wcpp] /usr/include/ImageMagick-6/magick/magick-config.h:53:3: warning: #warning "this is an obsolete behavior please fix yours makefile" [-Wcpp]
Here's a forum post about how to stop them happening: http://www.imagemagick.org/discourse-server/viewtopic.php?f=23&t=22528
I guess we should define the MAGICKCORE_QUANTUM_DEPTH and MAGICKCORE_HDRI_ENABLE macros somewhere in configure.ac.
Can anyone with experience with ImageMagick comment?
AV
On 9 June 2013 11:40, Shlomi Fish <shlomif@...2985...> wrote:
Hi all,
After I ran CMake using:
<<< #!/bin/bash cmake -G Ninja -DCMAKE_INSTALL_PREFIX="$HOME/apps/graphics/inkscape-trunk" -DENABLE_LCMS=OFF -DCMAKE_CXX_FLAGS="-fpermissive" -DENABLE_POPPLER=OFF -DENABLE_POPPLER_CAIRO=OFF ../inkscape/
"ninja" emits the attached output with many warnings. I was told to write about that to the list.
I'm on Mageia Linux 3/x86-64 .
Regards,
Shlomi Fish
--
Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/humour/bits/Can-I-SCO-Now/ - "Can I SCO Now?"
Officer: Captain, there’s a new star system a few thousands of lightyears away, and its sun has an irregular shape. — http://www.shlomifish.org/humour/Star-Trek/We-the-Living-Dead/
Please reply to list if it's a mailing list post - http://shlom.in/reply .
How ServiceNow helps IT people transform IT departments:
- A cloud service to automate IT design, transition and operations
- Dashboards that offer high-level views of enterprise services
- A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
![](https://secure.gravatar.com/avatar/fe9dd14a475c8070daf5f332ecd836fd.jpg?s=120&d=mm&r=g)
Hi Alex,
On Tue, 11 Jun 2013 16:02:30 +0100 Alex Valavanis <valavanisalex@...400...> wrote:
Most of the warnings look like this:
/usr/include/ImageMagick-6/magick/magick-config.h:29:3: warning: #warning "you should set MAGICKCORE_QUANTUM_DEPTH to sensible default set it to configure time default" [-Wcpp] /usr/include/ImageMagick-6/magick/magick-config.h:30:3: warning: #warning "this is an obsolete behavior please fix your makefile" [-Wcpp] /usr/include/ImageMagick-6/magick/magick-config.h:52:3: warning: #warning "you should set MAGICKCORE_HDRI_ENABLE to sensible default set it to configure time default" [-Wcpp] /usr/include/ImageMagick-6/magick/magick-config.h:53:3: warning: #warning "this is an obsolete behavior please fix yours makefile" [-Wcpp]
Here's a forum post about how to stop them happening: http://www.imagemagick.org/discourse-server/viewtopic.php?f=23&t=22528
I guess we should define the MAGICKCORE_QUANTUM_DEPTH and MAGICKCORE_HDRI_ENABLE macros somewhere in configure.ac.
I should note that I'm not using ./configure + make (and thus - configure.ac) but rather cmake and ninja, so this won't help in my particular case. To properly fix it in needs to be added in CMakeLists.txt too.
Regards,
Shlomi Fish
Can anyone with experience with ImageMagick comment?
AV
On 9 June 2013 11:40, Shlomi Fish <shlomif@...2985...> wrote:
Hi all,
After I ran CMake using:
<<< #!/bin/bash cmake -G Ninja -DCMAKE_INSTALL_PREFIX="$HOME/apps/graphics/inkscape-trunk" -DENABLE_LCMS=OFF -DCMAKE_CXX_FLAGS="-fpermissive" -DENABLE_POPPLER=OFF -DENABLE_POPPLER_CAIRO=OFF ../inkscape/
"ninja" emits the attached output with many warnings. I was told to write about that to the list.
I'm on Mageia Linux 3/x86-64 .
Regards,
Shlomi Fish
--
Shlomi Fish http://www.shlomifish.org/ http://www.shlomifish.org/humour/bits/Can-I-SCO-Now/ - "Can I SCO Now?"
Officer: Captain, there’s a new star system a few thousands of lightyears away, and its sun has an irregular shape. — http://www.shlomifish.org/humour/Star-Trek/We-the-Living-Dead/
Please reply to list if it's a mailing list post - http://shlom.in/reply .
How ServiceNow helps IT people transform IT departments:
- A cloud service to automate IT design, transition and operations
- Dashboards that offer high-level views of enterprise services
- A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (2)
-
Alex Valavanis
-
Shlomi Fish