LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-30-2022, 10:22 AM   #1
Linpassion
Member
 
Registered: Feb 2020
Posts: 156

Rep: Reputation: Disabled
Mapmap


I try to compile mammap whith next steps

qmake-qt5 mapmap.pro
make

so it gives some errors

Quote:
collect2: error: ld returned 1 exit status
Makefile:537: recipe for target 'mapmap' failed
make: *** [mapmap] Error 1
 
Old 06-30-2022, 10:38 AM   #2
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,597
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
That tells us nothing except that the build failed. Scroll up the output and find out where the actual errors are. Then post them here.
 
Old 06-30-2022, 11:33 AM   #3
Linpassion
Member
 
Registered: Feb 2020
Posts: 156

Original Poster
Rep: Reputation: Disabled
Quote:
src/app/objs/Element.o: In function `mmp::Element::_emitPropertyChanged(QString const&)':
/home/pluto/Downloads/mapmap-0.6.2/src/core/Element.cpp:88: undefined reference to `QString::toAscii() const'
src/app/objs/Element.o: In function `QString:perator!=(QString const&) const':
/usr/lib64/qt/include/QtCore/qstring.h:406: undefined reference to `QString:perator==(QString const&) const'
src/app/objs/Element.o: In function `QString::QString()':
/usr/lib64/qt/include/QtCore/qstring.h:879: undefined reference to `QString::shared_null'
collect2: error: ld returned 1 exit status
Makefile:537: recipe for target 'mapmap' failed
make: *** [mapmap] Error 1
Qt4 and Qt5 are installed on my slack 14.2
 
Old 06-30-2022, 02:39 PM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
Post a link to the source code. I don't see it.
Also more info. You ran qmake, and that made a Makefile ok? Then you ran make and it spit? Is this called mapmap or mammap? Need to see the source.

Edit:
Could it be this?
https://github.com/mapmapteam/mapmap

Edit2:
Ok, here are the destructs, Next time give some more info.
https://github.com/mapmapteam/mapmap...lop/INSTALL.md

Last edited by teckk; 06-30-2022 at 02:45 PM.
 
Old 07-01-2022, 01:08 AM   #5
Linpassion
Member
 
Registered: Feb 2020
Posts: 156

Original Poster
Rep: Reputation: Disabled
If I compile like suggest mapmap (qmake mapmap.pro && make" develop I see different errors

Quote:
/home/pluto/Downloads/mapmap-0.6.2/mapmap.pro(39): Function 'system' is not implementedProject MESSAGE: MapMap version: 0.6.2/usr/lib64/qt/mkspecs/features/qt_functions.prf(117): Function 'system' is not implementedProject ERROR: Package gstreamer-1.0 not found/usr/lib64/qt/mkspecs/features/qt_functions.prf(117): Function 'system' is not implementedProject ERROR: Package gstreamer-base-1.0 not found/usr/lib64/qt/mkspecs/features/qt_functions.prf(117): Function 'system' is not implementedProject ERROR: Package gstreamer-app-1.0 not found/usr/lib64/qt/mkspecs/features/qt_functions.prf(117): Function 'system' is not implementedProject ERROR: Package gstreamer-pbutils-1.0 not found/usr/lib64/qt/mkspecs/features/qt_functions.prf(117): Function 'system' is not implementedProject ERROR: Package liblo not found/usr/lib64/qt/mkspecs/features/qt_functions.prf(117): Function 'system' is not implementedProject ERROR: Package gl not found/usr/lib64/qt/mkspecs/features/qt_functions.prf(117): Function 'system' is not implementedProject ERROR: Package x11 not foundUpdating '/home/pluto/Downloads/mapmap-0.6.2/translations/mapmap_en.qm'...
Than I've got gstremer 1.6 and 0.0.1
 
Old 07-01-2022, 01:25 AM   #6
giomat
Member
 
Registered: Jul 2017
Posts: 339

Rep: Reputation: 239Reputation: 239Reputation: 239
you should use qt5, so you were doing right with the command qmake-qt5.
In Slackware 14.2 qmake points to the old Qt4 qmake binary.
From the previous error you posted I see that it is looking for headers in "/usr/lib64/qt/include".
That seems like the Qt4 path (Qt5 places it headers in /usr/lib64/qt5/include), so there could be something wrong in your Qt5 installation.
Also the Qt5 version could be too old from what mapmap expects, thus throwing that "undefined reference" error.
What Qt5 version do you have installed?
 
Old 07-01-2022, 01:32 AM   #7
Linpassion
Member
 
Registered: Feb 2020
Posts: 156

Original Poster
Rep: Reputation: Disabled
qt5-5.12.8 from SlackBuild
 
Old 07-23-2022, 10:44 AM   #8
Linpassion
Member
 
Registered: Feb 2020
Posts: 156

Original Poster
Rep: Reputation: Disabled
I solved by old version (0.0.1), it work good so is a simple projection mapping, also I'll try another software but I write another post because I've a problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration