hidefuku / AnimeEffects

2D Animation Tool
GNU General Public License v3.0
755 stars 99 forks source link

Can't install AnimeEffects on Ubuntu 17.04 #28

Open sysads opened 7 years ago

sysads commented 7 years ago

Hi,

Anyone successfully installed app on ubuntu os?

/home/osboxes/Downloads/AnimeEffects/src/AnimeEffects.pro:26: Unknown replace function: shell_path

larpon commented 6 years ago

I've compiled it on Kubuntu 17.04 and 17.10 with the kit from Qt Online installer - with no problems

magdesign commented 4 years ago

Can you please explain in more details how you compiled it. I tried (Ubuntu 16.04LTS) with:

cd src/
qmake
make

But I get following error:

PrimitiveDrawer.cpp: In member function ‘void gl::PrimitiveDrawer::pushStateCommand(const gl::PrimitiveDrawer::Command&)’:
PrimitiveDrawer.cpp:717:40: error: ‘class QVector<gl::PrimitiveDrawer::Command>’ has no member named ‘rbegin’
     for (auto itr = mScheduledCommands.rbegin(); itr != mScheduledCommands.rend(); ++itr)
                                        ^
PrimitiveDrawer.cpp:717:76: error: ‘class QVector<gl::PrimitiveDrawer::Command>’ has no member named ‘rend’
     for (auto itr = mScheduledCommands.rbegin(); itr != mScheduledCommands.rend(); ++itr)
                                                                            ^
Makefile:568: recipe for target '.obj/PrimitiveDrawer.o' failed
make[1]: *** [.obj/PrimitiveDrawer.o] Error 1
make[1]: Leaving directory '/home/magdesign/Downloads/AnimeEffects/src/gl'
Makefile:178: recipe for target 'sub-gl-make_first-ordered' failed
make: *** [sub-gl-make_first-ordered] Error 2

Thanks for any help!

larpon commented 4 years ago

I'm using Qt Creator (and thus qmake) to build it. Nothing special about my setup. Just download Qt Creator and open the AnimeEffects.pro file or use qmake from a terminal.

magdesign commented 4 years ago

Thanks for your fast response, just downloaded QT Creator, opened AnimeEffects.pro and clicked Build All Got the same error.

Finally I testet the same on another machine with Ubuntu 18.04LTS, there it builds without throwing any errors and it runs when executing AnimeEffects in the root folder.

larpon commented 4 years ago

Hmm... Something must be different on your 17.xx setup then. But good you got it working :)

The binary is usually beside the .pro file or in your build directory: image

larpon commented 4 years ago

... or in the project root folder :wink: