Jump to content

Need help in compiling QAvimator for Linux


GM Nikolaidis
 Share

You are about to reply to a thread that has been inactive for 4323 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I am a noob when it comes to compiling, so maybe this is an easy answer.   I downloaded the latest QA for Linux and I'm following the compile instructions listed here:  http://qavimator.org/#download

I run into problems at 'make', but I don't know how to fix this. I'm hoping some of you can tell me what I need to do next.  

After 'make', I get this:

cd libquat && make -f Makefile
make[1]: Entering directory `/home/greg/qavimator/libquat'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/greg/qavimator/libquat'
cd src && make -f Makefile
make[1]: Entering directory `/home/greg/qavimator/src'
g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DQAVIMATOR_DATAPATH=\\\"/usr/share/qavimator\\\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I../libquat -I/usr/include -I/usr/include/qt3 -o animation.o animation.cpp
<command-line>:0:21: warning: missing terminating " character
In file included from animation.cpp:31:0:
animation.h:25:18: fatal error: QTimer: No such file or directory
compilation terminated.
make[1]: *** [animation.o] Error 1
make[1]: Leaving directory `/home/greg/qavimator/src'
make: *** [sub-src] Error 2

 

I looked at the file "animation.cpp" specifically at the #include statements and found no missing " characters.  I'm viewing the two files in question "animationview.cpp" and "animation.h" in Geany, and I don't see any obvious color coding inconsistencies in the listing.

Puzzled.

Link to comment
Share on other sites

I am NOT very expert in CMake and C++, but do have a background in compling software.  Here's a partial explanation. 

The critical error is obviously the second one "fatal error".  It is complaining that the file animation.h (which is "included", i.e. copied in, when you compile animation.cpp) is asking to include file QTimer (possibly with some "extension" such as ".h"_) from a system directory somewhere, and it didn't find it.  A guess is that this library would be part of the QT4 development package.  Note that the text file "INSTALL' supplied with QAvimator does say that you need to "install the QT4 development package". 

Several hypotheses are possible:

- the previous error about the quotation mark indicates a problem that causes a failure to find QTimer.  Note that the complaint is not about quotation marks in animation.cpp (or animation.h for that matter) but about the command line being used to compile animation.cpp.  This command line is generated "on the fly" by make (or CMake) based on makefiles (ro Cmakefiles).  I am not very expert on this.  It is possible that there is an incompatibility between the CMake on the system and the makefiles.  Notice that the INSTALL file says "install CMake 2.4+".

- the QT4 development package is not installed.  It is worrisome that the text "-I/usr/share/qt3....." occurs in the error message.  It is possible that the compile is trying to use the QT3 development package rather than the QT4 development package.  A quick look seems to indicate that QTimer is not a part of QT3, only QT4."

- The compile is looking in the wrong place for the QTimer file.  An example would be if it were looking in /usr/share/.... and the file is in /usr/include/....    For example, on my system, there is a file /usr/include/qt4/QtCore/QTimer, which would appear to be the file you are missing.

First suggestion....track down whether the QT4 development package (development package, not just the library package....typically called something-dev or similar is installed.

Good luck.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4323 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...