Opened 15 years ago

Closed 13 years ago

#19828 closed defect (fixed)

enblend 3.0: "gpu.h:29:21: error: GL/glut.h: No such file or directory"

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: enblend gpu.h glut.h missing file Cc: christoph.roschger@…
Port: enblend

Description (last modified by mf2k (Frank Schima))

When trying to install hugin-app, I stumbled over following problem:

bash-3.2$ sudo  /opt/local/bin/port selfupdate

MacPorts base version 1.710 installed
Downloaded MacPorts base version 1.710

The MacPorts installation is not outdated so it was not updated
bash-3.2$ sudo  /opt/local/bin/port install hugin-app
--->  Building enblend
[...]
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_enblend/work/enblend-3.0" && make all " returned error 2
Command output: make  all-recursive
Making all in include
Making all in vigra
make[3]: Nothing to be done for `all'.
Making all in vigra_ext
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in src
Making all in vigra_impex
make[3]: Nothing to be done for `all'.
Making all in win32helpers
make[3]: Nothing to be done for `all'.
if /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include -g -O3 -ffast-math -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DENBLEND_CACHE_IMAGES -DNDEBUG -I../include -O2 -MT enblend-enblend.o -MD -MP -MF ".deps/enblend-enblend.Tpo" -c -o enblend-enblend.o `test -f 'enblend.cc' || echo './'`enblend.cc; \
        then mv -f ".deps/enblend-enblend.Tpo" ".deps/enblend-enblend.Po"; else rm -f ".deps/enblend-enblend.Tpo"; exit 1; fi
In file included from anneal.h:46,
                 from mask.h:35,
                 from enblend.h:39,
                 from enblend.cc:121:
gpu.h:29:21: error: GL/glut.h: No such file or directory
fixmath.h: In function 'void vigra::transformLineIf(SrcIterator, SrcIterator, SrcAccessor, MaskIterator, MaskAccessor, DestIterator, DestAccessor, const Functor&) [with SrcIterator = vigra::RowIterator<vigra::ConstCachedFileImageIterator<double> >, SrcAccessor = vigra::StandardConstValueAccessor<double>, MaskIterator = vigra::RowIterator<vigra::ConstCachedFileImageIterator<vigra::UInt8> >, MaskAccessor = vigra::StandardConstValueAccessor<unsigned char>, DestIterator = vigra::RowIterator<vigra::CachedFileImageIterator<vigra::Int32> >, DestAccessor = vigra::StandardValueAccessor<int>, Functor = enblend::ConvertPyramidToScalarFunctor<vigra::Int32, double, 8, 0>]':
fixmath.h:145: warning: control may reach end of non-void function 'double enblend::ConvertPyramidToScalarFunctor<DestPixelType, PyramidPixelType, PyramidIntegerBits, PyramidFractionBits>::dither(const double&) const [with DestPixelType = vigra::Int32, PyramidPixelType = double, int PyramidIntegerBits = 8, int PyramidFractionBits = 0]' being inlined
[...]

Change History (6)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Cc: nomaintainer@… removed
Description: modified (diff)
Port: enblend added

comment:2 Changed 15 years ago by Ink_Blot2001@…

I also ran into a problem, though it looks a little different. Using up-to-date MacPorts base 1.710 on PPC 10.4.11.

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_enblend/work/enblend-3.0" && make all " returned error 2
Command output: ranlib: file: libvigra_impex.a(libvigra_impex_a-png.o) has no symbols
ranlib libvigra_impex.a
ranlib: file: libvigra_impex.a(iccjpeg.o) has no symbols
ranlib: file: libvigra_impex.a(libvigra_impex_a-jpeg.o) has no symbols
ranlib: file: libvigra_impex.a(libvigra_impex_a-png.o) has no symbols
Making all in win32helpers
make[3]: Nothing to be done for `all'.
if /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include -g -O3 -ffast-math -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DENBLEND_CACHE_IMAGES -DNDEBUG -I../include -O2 -MT enblend-enblend.o -MD -MP -MF ".deps/enblend-enblend.Tpo" -c -o enblend-enblend.o `test -f 'enblend.cc' || echo './'`enblend.cc; \
then mv -f ".deps/enblend-enblend.Tpo" ".deps/enblend-enblend.Po"; else rm -f ".deps/enblend-enblend.Tpo"; exit 1; fi
In file included from anneal.h:46,
                 from mask.h:35,
                 from enblend.h:39,
                 from enblend.cc:121:
gpu.h:29:21: error: GL/glut.h: No such file or directory
fixmath.h: In function 'void vigra::transformLineIf(SrcIterator, SrcIterator, SrcAccessor, MaskIterator, MaskAccessor, DestIterator, DestAccessor, const Functor&) [with SrcIterator = vigra::RowIterator<vigra::ConstCachedFileImageIterator<vigra::Int32> >, SrcAccessor = vigra::StandardConstValueAccessor<int>, MaskIterator = vigra::RowIterator<vigra::ConstCachedFileImageIterator<vigra::UInt8> >, MaskAccessor = vigra::StandardConstValueAccessor<unsigned char>, DestIterator = vigra::RowIterator<vigra::CachedFileImageIterator<vigra::Int16> >, DestAccessor = vigra::StandardValueAccessor<short int>, Functor = enblend::ConvertPyramidToScalarFunctor<vigra::Int16, vigra::Int32, 17, 7>]':
fixmath.h:107: warning: control may reach end of non-void function 'DestPixelType enblend::ConvertPyramidToScalarFunctor<DestPixelType, PyramidPixelType, PyramidIntegerBits, PyramidFractionBits>::doConvert(const PyramidPixelType&, vigra::VigraTrueType, vigra::VigraTrueType) const [with DestPixelType = vigra::Int16, PyramidPixelType = vigra::Int32, int PyramidIntegerBits = 17, int PyramidFractionBits = 7]' being inlined
[...]

comment:3 Changed 15 years ago by christoph.roschger@…

Cc: christoph.roschger@… added

Cc Me!

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

enblend has been updated to 4.0. Do you still see this problem?

comment:5 Changed 14 years ago by macports@…

With the current MacPorts I do not have this problem after I did:

sudo port selfupdate sudo port upgrade outdated sudo port install hugin-ap

Port version == 1.9.1

comment:6 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.