Opened 13 years ago

Closed 12 years ago

#30425 closed defect (fixed)

phonon @4.4.2 compile error on 10.7 with qt4-mac-devel @4.8.0

Reported by: mzibr.public@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: Cc: michaelld (Michael Dickens), mkae (Marko Käning)
Port: phonon

Description

I compiled qt 4.8beta with port file from #30278. When I try to build phonon @4.4.2 with qt4.8beta, I get error:

--->  Computing dependencies for phonon.
--->  Building phonon
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/phonon/work/phonon-4.4.2'
cd phonon/ && /usr/bin/make -f Makefile all
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/phonon/work/phonon-4.4.2/phonon'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/phonon/work/phonon-4.4.2/phonon'
cd plugins/ && /usr/bin/make -f Makefile all
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/phonon/work/phonon-4.4.2/plugins'
cd phonon/ && /usr/bin/make -f Makefile all
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/phonon/work/phonon-4.4.2/plugins/phonon'
cd qt7/ && /usr/bin/make -f Makefile all
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_phonon/phonon/work/phonon-4.4.2/plugins/phonon/qt7'
gcc -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -DQT_NO_DEBUG -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I. -I. -I../../.. -I/opt/local/include/QtOpenGL -I/opt/local/include/QtGui -I/opt/local/include/QtCore -I/opt/local/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers ../../../qt7/videowidget.mm -o videowidget.o
../../../qt7/videowidget.mm: In member function �virtual void Phonon::QT7::RenderOpenGL::resizeGL(int, int)�:
../../../qt7/videowidget.mm:281: error: �gluOrtho2D� was not declared in this scope
make[3]: *** [videowidget.o] Error 1

Attachments (1)

main.log (35.1 KB) - added by mzibr.public@… 13 years ago.
build log

Download all attachments as: .zip

Change History (11)

Changed 13 years ago by mzibr.public@…

Attachment: main.log added

build log

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Port: phonon added

comment:2 Changed 12 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

comment:3 Changed 12 years ago by michaelld (Michael Dickens)

Anyone know if this is still an issue with qt4-mac-devel @4.8.0 (full release, not rc or tp)? I'll hopefully be able to test later this week.

comment:4 Changed 12 years ago by michaelld (Michael Dickens)

Phonon @4.5.1 builds (etc) correctly with Qt (-devel) @4.8.0 on 10.6 (latest). I expect it will work on 10.7 (latest) as well, since Qt is meant to abstract-out the underlying OS.

comment:5 Changed 12 years ago by michaelld (Michael Dickens)

Sorry; I was talking about with the Portfile patch from ticket #31517 -- which does not include support for the QuickTime 7 backend.

comment:6 Changed 12 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:7 Changed 12 years ago by mkae (Marko Käning)

Yup, still an issue on 10.6.8.

:-(

comment:8 Changed 12 years ago by michaelld (Michael Dickens)

Try the new phonon and see if it doesn't fix this ticket :) Make sure to use the new qt4-mac, not qt4-mac-devel.

comment:9 Changed 12 years ago by mkae (Marko Käning)

I have phonon 4.6.0 running with qt4-mac now, which is why I guess we can mark this ticket as fixed.

comment:10 Changed 12 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

Done.

Note: See TracTickets for help on using tickets.