Improving and Fixing Compilation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Stopmotion |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The compilation is currently a little troublesome. The attached patch improves or fixes the following points:
1/ update the README which does not say that inotify-tools are also a required dependency.
2/ Add a pkg-config check in the "qmake stopmotion.pro" step for some libraries with a pkg-config description file (sdl, SDL_image and vorbisfile). This simplifies the process by checking dependencies before starting to compile (like would do a configure file in a GNU process).
3/ Add a -lX11 flag for correct linking with X11 after compilation. I don't know if and why it would work on other machines but on mine, the make finished with this linking error:
/usr/bin/ld: frameview.o: undefined reference to symbol 'XSync'
/usr/bin/ld: note: 'XSync' is defined in DSO /usr/lib64/
/usr/lib64/
In any case, it is always better to have all the right flags.
Changed in lsm: | |
status: | New → Fix Committed |
Hi,
No news about this? Just tested on master. The README change is not valid anymore, since someone made the same README fix in the meantime.
The update in stopmotion.pro to fix/improve the configuration and compilation is still valid though.
Attached the updated patch without README change.