zturtleman / mm3d

Maverick Model 3D is a 3D model editor and animator for games.
https://clover.moe/mm3d
GNU General Public License v2.0
115 stars 23 forks source link

debian and ubuntu packages #9

Closed alexmyczko closed 6 years ago

alexmyczko commented 6 years ago

this is not really an issue but what about adding yourself to AUTHORS? Meanwhile the debian and ubuntu packages have a checked out version 1.3.9 what about making a release too?

zturtleman commented 6 years ago

Okay, I added myself to AUTHORS. I'll try to finish up the macOS and Windows issues (#2, #7) soon and tag a 1.3.9 release.

alexmyczko commented 6 years ago

do you have an idea how i could get rid of this profiling bug? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517564 i was able to reproduce it with 1.3.9 checkout: (OOPS TRIED WITH THE WRONG VERSION 1.3.7) profiling:/build:Cannot create directory profiling:/build/buildd/mm3d-1.3.7/src/libmm3d/filedatasource.gcda:Skip profiling:/build:Cannot create directory profiling:/build/buildd/mm3d-1.3.7/src/libmm3d/filedatadest.gcda:Skip profiling:/build:Cannot create directory profiling:/build/buildd/mm3d-1.3.7/src/libmm3d/bsptree.gcda:Skip profiling:/build:Cannot create directory profiling:/build/buildd/mm3d-1.3.7/src/libmm3d/txtfilter.gcda:Skip profiling:/build:Cannot create directory profiling:/build/buildd/mm3d-1.3.7/src/libmm3d/tgatex.gcda:Skip profiling:/build:Cannot create directory profiling:/build/buildd/mm3d-1.3.7/src/libmm3d/rawtex.gcda:Skip profiling:/build:Cannot create directory ...

maybe something with ./configure as in: --enable-profile=yes/no/core Specify "yes" or "core" to enable profiling.

zturtleman commented 6 years ago

I haven't seen those profile messages but I haven't compiled 1.3.7.

The Ubuntu packages fail to configure because the linker can't find the Qt libs (see buildlog). It's configured with --with-Qt-lib-dir=/usr/lib/x86_64-linux-gnu/qt5 but should be /usr/lib/x86_64-linux-gnu. That is where the Qt libs are on Debian too. /usr/lib/x86_64-linux-gnu seems to be automatically searched by the compiler on Debian but not on Ubuntu. Debian qtbase5-dev file listUbuntu qtbase5-dev file list.

Edit: Never mind, the issue was the compile arguments were in the wrong order (260b0e365063761ac1a4408a2185ffc033e3a3d8). /usr/lib/x86_64-linux-gnu is searched by the compiler on Ubuntu too.