* Re: [devel] earth3d-1.0.4-alt1: rebuild failed [qmake/--as-needed]
@ 2006-03-07 15:28 ` Michael Shigorin
2006-03-07 15:36 ` Dmitry V. Levin
2006-03-07 15:36 ` [devel] earth3d-1.0.4-alt1: rebuild failed [qmake/--as-needed: earth3d.pro] Michael Shigorin
1 sibling, 1 reply; 4+ messages in thread
From: Michael Shigorin @ 2006-03-07 15:28 UTC (permalink / raw)
To: devel
On Tue, Mar 07, 2006 at 04:22:29AM +0300, QA Team Robot wrote:
> Package: earth3d-1.0.4-alt1
>
> g++ -lpng -o earth3d .obj/main.o [...] -L/usr/lib/qt3//lib
> -L/usr/X11R6/lib -L/usr/X11R6/lib -lqt-mt -lGLU -lGL -lXmu
> -lXext -lX11 -lm -lpthread
> .obj/mapTileUncompressed.o: In function `MapTileUncompressed::generateUncompressedImage()':mapTileUncompressed.cpp:(.text+0x441): undefined reference to `png_sig_cmp'
Таак... знатоки qt, подскажите, что сделать с qmake или
earth3d.pro, в нём самом это неочевидно (attached).
-lpng в других частях earth3d/ также отсутствует.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] earth3d-1.0.4-alt1: rebuild failed [qmake/--as-needed: earth3d.pro]
2006-03-07 15:28 ` [devel] earth3d-1.0.4-alt1: rebuild failed [qmake/--as-needed] Michael Shigorin
@ 2006-03-07 15:36 ` Michael Shigorin
1 sibling, 0 replies; 4+ messages in thread
From: Michael Shigorin @ 2006-03-07 15:36 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
On Tue, Mar 07, 2006 at 04:22:29AM +0300, QA Team Robot wrote:
> g++ -lpng -o earth3d
Эээ... attached
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: earth3d.pro --]
[-- Type: text/plain, Size: 5448 bytes --]
#
# See www.earth3d.org
#
win32 {
INCLUDEPATH += H:\\Studium\\uEngine\\earth\\visualization\\QT\\libxml\\libxml2-2.6.6.win32\\include "C:\\include"
LIBS += -LC:/lib libpng.a libz.a
# DEFINES += WIN32_ZBUFFER_BUG
# CONFIG += console
# DEFINES += LINUX
DEFINES += GENERATE_FONTS
SOURCES += draw/wingl.cpp
RC_FILE = earthviewer.rc
}
unix {
UI_DIR = .ui
MOC_DIR = .moc
OBJECTS_DIR = .obj
!mac {
DEFINES += LINUX
# LIBS += -ljsw
# QMAKE_CXXFLAGS_RELEASE += -march=pentium4 -O2 -pipe -fomit-frame-pointer
# QMAKE_CXXFLAGS_RELEASE += -march=athlon-xp -O2 -pipe -fomit-frame-pointer
# QMAKE_CXXFLAGS_RELEASE += -march=pentium3 -O2 -pipe -fomit-frame-pointer
# QMAKE_CXXFLAGS_RELEASE += -mcpu=pentium -march=pentium -O2 -pipe -fomit-frame-pointer
}
}
mac {
QMAKE_CXXFLAGS_RELEASE += -mcpu=7400 -maltivec
DEFINES += MYMACOS
# DEFINES += GENERATE_FONTS
RC_FILE = earth3d.icns
}
# -lMallocDebug
# -bind_at_load
# -lqmmslog
# `fc-config --libs`
# QMAKE_CXXFLAGS_DEBUG += `fc-config --cflags`
# QMAKE_CXXFLAGS_DEBUG += -pg
# QMAKE_LFLAGS_DEBUG += -pg
# DEFINES += DEPTH_STATISTIC
DEFINES += FORWARD_VIEW
DEFINES += QT_THREAD_SUPPORT
# DEFINES += NO_MULTITEXTURE
# DEFINES += DAVE
# DEFINES += FORWARD_VIEW_DRAW
DEFINES += USE_GL_TEXTURE_COMPRESSION
# DEFINES += SCREENSHOT_ALWAY_BIND_TEXTURE
# DEFINES += DEBUG_SPHERES
# # DEFINES += USE_ICON_BLENDING
# DEFINES += JOYSTICK
# DEFINES += ATMOSPHERE
# DEFINES += RELATIVETRANSFORM
TEMPLATE = app
LANGUAGE = C++
# QMAKE_CXXFLAGS_DEBUG += -D EARTH3DDEBUG -D DEBUG
CONFIG += qt thread opengl warn_on release stl
# LIBS += -lglut
# DEFINES += STATISTIC_NODECOUNT
INCLUDEPATH += /usr/include/libxml2/libxml /usr/include/libxml2 ../../network/rubyAgents/c ../../dataserver /sw/include /usr/X11R6/include/ /sw/include/libxml2 geometry/ network/ draw/ tree/ ./
HEADERS += network/qServiceLib.h \
network/connectNetworkService.h \
listBoxServiceItem.h \
network/urlDownload.h \
network/proxyUrlOperator.h \
network/urlRawDownload.h \
network/md5.h \
network/fileCache.h \
gltest.h \
geometry/geometry2d3dSphere.h \
geometry/geometry2d3d.h \
pngutils.h \
globalsettings.h \
draw/qGLWidgetDrawScene.h
SOURCES += main.cpp \
gltest.cpp \
glcontext.cpp \
globalsettings.cpp \
listBoxServiceItem.cpp \
listBoxDrawItem.cpp \
listViewServiceItem.cpp \
resources.cpp \
serviceListDownload.cpp \
network/qServiceLib.cpp \
network/urlDownload.cpp \
network/downloadFinishedEvent.cpp \
network/urlRawDownload.cpp \
network/urlRawDownloadEvent.cpp \
network/urlTools.cpp \
network/connectNetworkServiceRequestQueue.cpp \
network/connectNetworkServiceRequestQueueObject.cpp \
network/connectNetworkService.cpp \
network/serviceFoundPrinter.cpp \
network/serviceFoundLister.cpp \
network/stopableDownload.cpp \
network/dataReceivedListener.cpp \
network/dataReceivedMapTile.cpp \
network/downloadable.cpp \
network/insertListViewItemEvent.cpp \
network/insertListDrawItemEvent.cpp \
network/proxyUrlOperator.cpp \
network/fileCache.cpp \
network/md5.cpp \
tree/mapTile.cpp \
tree/mapTileTree.cpp \
tree/mapTileTreeNode.cpp \
tree/mapTileTreeNodeCore.cpp \
tree/heightfieldTree.cpp \
tree/heightfieldTreeNode.cpp \
tree/requestIDNode.cpp \
tree/textureTreeNodeCore.cpp \
draw/draw.cpp \
draw/treeDraw.cpp \
draw/treeDrawSphere.cpp \
draw/treeDrawPOI.cpp \
draw/treeDrawPOISign.cpp \
draw/treeDrawFactory.cpp \
draw/drawScene.cpp \
draw/drawSceneObject.cpp \
draw/drawSceneObjectTriangle.cpp \
draw/drawSceneObjectSphere.cpp \
draw/drawSceneObjectQuad.cpp \
draw/drawSceneObjectTexture.cpp \
draw/drawSceneObjectTransform.cpp \
draw/drawSceneObjectTranslate.cpp \
draw/drawSceneObjectScale.cpp \
draw/drawSceneObjectRotatequaternion.cpp \
draw/drawSceneObjectGroup.cpp \
draw/drawSceneObjectUseGroup.cpp \
draw/qGLWidgetDrawScene.cpp \
draw/moveToPositionEvent.cpp \
draw/imageList.cpp \
graphicsObjectsContainer.cpp \
tree/heightfieldTreeNodeCore.cpp \
geometry/geometry2d3dFactory.cpp \
geometry/geometry2d3dSphere.cpp \
geometry/geometry2d3dplane.cpp \
geometry/matrix.cpp \
tree/mapTileUncompressed.cpp \
tree/mapTileUncompressedFloat.cpp \
tree/statusObserver.cpp \
tree/statusObserverQT.cpp \
tree/mutex.cpp \
tree/globaltimer.cpp \
geometry/frustum.cpp \
navigator.cpp \
geometry/quaternion.cpp \
pngutils.cpp \
jpgutils.cpp
FORMS = formview.ui \
formstatus.ui \
forminfo.ui \
formaddsource.ui \
formagentform.ui \
formoptions.ui
IMAGES = images/filenew \
images/fileopen \
images/filesave \
images/print \
images/undo \
images/redo \
images/editcut \
images/editcopy \
images/editpaste \
images/searchfind \
images/filenew_1 \
images/fileopen_1 \
images/filesave_1 \
images/print_1 \
images/undo_1 \
images/redo_1 \
images/editcut_1 \
images/editcopy_1 \
images/editpaste_1 \
images/searchfind_1 \
images/earth_rotate_icon.png \
images/earth_fly_icon.png \
images/filenew_2 \
images/fileopen_2 \
images/filesave_2 \
images/print_2 \
images/undo_2 \
images/redo_2 \
images/editcut_2 \
images/editcopy_2 \
images/editpaste_2 \
images/searchfind_2 \
images/earthatmosphere.png \
images/edit_picture.png \
images/help.png \
images/find.png \
images/webpres.png \
images/frame_image.png \
images/find2.png \
images/agenticon2.png \
images/agenticon.png \
images/video.png \
images/view_text.png
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] earth3d-1.0.4-alt1: rebuild failed [qmake/--as-needed]
2006-03-07 15:28 ` [devel] earth3d-1.0.4-alt1: rebuild failed [qmake/--as-needed] Michael Shigorin
@ 2006-03-07 15:36 ` Dmitry V. Levin
2006-03-07 16:25 ` Michael Shigorin
0 siblings, 1 reply; 4+ messages in thread
From: Dmitry V. Levin @ 2006-03-07 15:36 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 804 bytes --]
On Tue, Mar 07, 2006 at 05:28:04PM +0200, Michael Shigorin wrote:
> On Tue, Mar 07, 2006 at 04:22:29AM +0300, QA Team Robot wrote:
> > Package: earth3d-1.0.4-alt1
> >
> > g++ -lpng -o earth3d .obj/main.o [...] -L/usr/lib/qt3//lib
> > -L/usr/X11R6/lib -L/usr/X11R6/lib -lqt-mt -lGLU -lGL -lXmu
> > -lXext -lX11 -lm -lpthread
> > .obj/mapTileUncompressed.o: In function `MapTileUncompressed::generateUncompressedImage()':mapTileUncompressed.cpp:(.text+0x441): undefined reference to `png_sig_cmp'
>
> Таак... знатоки qt, подскажите, что сделать с qmake или
> earth3d.pro, в нём самом это неочевидно (attached).
Ничего не attached.
Попробуй LIBS += -lpng в секции unx.
> -lpng в других частях earth3d/ также отсутствует.
Это из-за "%make LFLAGS=-lpng" в spec'е. Убери.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [devel] earth3d-1.0.4-alt1: rebuild failed [qmake/--as-needed]
2006-03-07 15:36 ` Dmitry V. Levin
@ 2006-03-07 16:25 ` Michael Shigorin
0 siblings, 0 replies; 4+ messages in thread
From: Michael Shigorin @ 2006-03-07 16:25 UTC (permalink / raw)
To: ALT Devel discussion list
[-- Attachment #1: Type: text/plain, Size: 629 bytes --]
On Tue, Mar 07, 2006 at 06:36:35PM +0300, Dmitry V. Levin wrote:
> > > g++ -lpng -o earth3d .obj/main.o [...] -L/usr/lib/qt3//lib
> > Таак... знатоки qt, подскажите, что сделать с qmake или
> > earth3d.pro, в нём самом это неочевидно (attached).
> Ничего не attached.
Угу.
> Попробуй LIBS += -lpng в секции unx.
Тормоз. И ведь разглядывал-разглядывал... домой пора.
> > -lpng в других частях earth3d/ также отсутствует.
> Это из-за "%make LFLAGS=-lpng" в spec'е. Убери.
Спасибо, уехало. Осталось putty.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-07 16:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-07 15:28 ` [devel] earth3d-1.0.4-alt1: rebuild failed [qmake/--as-needed] Michael Shigorin
2006-03-07 15:36 ` Dmitry V. Levin
2006-03-07 16:25 ` Michael Shigorin
2006-03-07 15:36 ` [devel] earth3d-1.0.4-alt1: rebuild failed [qmake/--as-needed: earth3d.pro] Michael Shigorin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git