You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/synfig/synfig
cd synfig
mkdir build-cmake && cd build-cmake
cmake .. -DCMAKE_INSTALL_PREFIX=~/synfig-cmake
export SYNFIG_ROOT=~/synfig-cmake/
make -j4
make build_images -j4
make install
This time the images are produced and moved (with complain against falloff and loopyness unknow parameters by the way).
But launching synfigstudio, any icon/image is missing in the application.
-- Checking for module 'libmng'
-- No package 'libmng' found
CMake Error at /usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:452 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPkgConfig.cmake:622 (_pkg_check_modules_internal)
src/CMakeLists.txt:36 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/keyikedalube/Source/synfig/_debug/synfig-core/CMakeFiles/CMakeOutput.log".
See also "/home/keyikedalube/Source/synfig/_debug/synfig-core/CMakeFiles/CMakeError.log".
Failed to build synfig-core
apt show libmng
returns libmng1 and libmng-dev
and both are installed before running cmake
I think we have to upgrade libmng-dev too with libmng2: apt install -t experimental libmng-dev
Anyway I was hesitant to try out these packages from experimental repo because just in case my system breaks I'd hate to spend time reinstalling Debian from scratch and setting up all my applications.
But again I did install 'em anyway and ran your command dpkg-query -L libmng-dev
@ice0 This portion appears to be fixed
Built synfig using the above command list just now
Found out the icon images are installed at the right path
Time to edit and delete those three lines I think so someone following the steps doesn't encounter cannot create directory or no such file or directory errors
will be much simpler for devs
Because for first build we have to individually execute build_images, build_pofiles, & plugins_xml target
Otherwise, make install will fail
OK, a little bit of misunderstanding above... running synfigstudio won't need LD_ LIBRARY_PATH to be set. Only if the binary is executed from build-dir/output/bin directory.
But in my above alternative bash command, you can notice that I'm trying to run synfigstudio after this build & install command was executed:
make all -j4 && make install
In that case, we need to set LD_ LIBRARY_PATH path for the installed version of synfigstudio to run without error.
Activity
ice0 commentedon Aug 21, 2019
Current build commands:
BobSynfig commentedon Aug 21, 2019
Attempt under Fedora 30 (VirtualBox)
The 2 last command fail for me
ice0 commentedon Aug 22, 2019
@BobSynfig comment updated, please check.
BobSynfig commentedon Aug 22, 2019
This time the images are produced and moved (with complain against falloff and loopyness unknow parameters by the way).
But launching synfigstudio, any icon/image is missing in the application.
ice0 commentedon Aug 23, 2019
@BobSynfig oh, forgot one more thing. Please execute
export SYNFIG_ROOT=~/synfig-cmake/and try again. Btw, comment is also updated.
morevnaproject commentedon Aug 23, 2019
Hi! I did some testing. Here is what I found:
Also, I didn't found a way how to choose debug or production build. ^__^
BobSynfig commentedon Aug 23, 2019
Same results here :)
morevnaproject commentedon Aug 24, 2019
@ice0 I suggest to resolve issue with rendering icons by implementing #703 (Do not invoke "synfig" for rendering icons at build time) ^__^
morevnaproject commentedon Sep 21, 2019
One more issue with CMake build - #959
morevnaproject commentedon Sep 21, 2019
One more - #960
Keyikedalube commentedon Nov 15, 2019
apt show libmngreturns libmng1 and libmng-dev
and both are installed before running cmake
ice0 commentedon Nov 15, 2019
@Keyikedalube Which OS you are using?
2 remaining items
Keyikedalube commentedon Jan 15, 2020
@ice0 Reported the issue to Debian maintainer and it's been a while with no reply from the maintainer.
Do you use libmng2 on your Debian system? Because I noticed the same package exists on Debian experimental repo.
ice0 commentedon Jan 17, 2020
Today i tried it, and here same problem:
dpkg-query -L libmng2
Keyikedalube commentedon Jan 17, 2020
I think we have to upgrade libmng-dev too with libmng2:
apt install -t experimental libmng-devAnyway I was hesitant to try out these packages from experimental repo because just in case my system breaks I'd hate to spend time reinstalling Debian from scratch and setting up all my applications.
But again I did install 'em anyway and ran your command
dpkg-query -L libmng-devSame fix as the Ubuntu one :)
Keyikedalube commentedon Feb 3, 2020
Keyikedalube commentedon Apr 25, 2020
@ice0 This portion appears to be fixed
Built synfig using the above command list just now
Found out the icon images are installed at the right path
Time to edit and delete those three lines I think so someone following the steps doesn't encounter cannot create directory or no such file or directory errors
ice0 commentedon Apr 26, 2020
@Keyikedalube Thanks for pointing this out. I updated comment.
Keyikedalube commentedon Jul 13, 2020
I think
will be much simpler for devs
Because for first build we have to individually execute build_images, build_pofiles, & plugins_xml target
Otherwise, make install will fail
An alternative to running synfig | synfigstudio
With that one line command, it's easier to recursively search and execute synfig built with CMake ;)
ice0 commentedon Jul 13, 2020
Hi!
Can you check is it still needed?
Keyikedalube commentedon Jul 13, 2020
Without LD_LIBRARY_PATH
It's still needed. Contains cmake/, libsynfigapp.so, libsynfig.so, & synfig/
Keyikedalube commentedon Aug 26, 2020
OK, a little bit of misunderstanding above... running synfigstudio won't need LD_ LIBRARY_PATH to be set. Only if the binary is executed from
build-dir/output/bindirectory.But in my above alternative bash command, you can notice that I'm trying to run synfigstudio after this build & install command was executed:
In that case, we need to set LD_ LIBRARY_PATH path for the installed version of synfigstudio to run without error.
ice0 commentedon Aug 26, 2020
Ok, looks like we forgot some libraries during installation. I will check it later. Thank you!