![]() |
Wings3D & Erlang R15 - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Programming (https://www.wings3d.com/forum/forumdisplay.php?fid=7) +--- Thread: Wings3D & Erlang R15 (/showthread.php?tid=325) |
Wings3D & Erlang R15 - justbrowsing - 05-30-2013 Hi, Wings3D is important part of my 3D pipeline so I'd like to integrate it with my system. I'd like to install Wings3D on my Funtoo/Gentoo based system, but I'm facing problem connected with compatibility. My setup is: erlang-15.2.3.1 libsdl-1.2.14-r6 esdl-1.0.1 Wings3D-1.4.1 sources When I run Wings compiled by Erlang R15B03 I get: http://bpaste.net/show/RdwJa1L2sJcNN4jissAI/ AFAIK Wings3D should be compiled using Erlang R14, but unfortunately this release of Erlang isn't in Gentoo portage tree. Available versions are: R15 and R16, but compiling with R16 fails because parameterized modules are not supported anymore. I'd like to ask is there any way to successfully compile and run Wings3D using Erlang R15 or R16. Michał RE: Wings3D & Erlang R15 - dgud - 05-30-2013 Sure get the sources from github instead. mkdir src cd src git clone rebar git://github.com/rebar/rebar.git git clone esdl git://github.com/dgud/esdl.git git clone wings git://github.com/dgud/wings.git git clone cl git@github.com:tonyrog/cl.git (cd rebar && ./bootstrap) export ERL_LIBS=/home/$USER/src export ESDL_LIB=/home/$USER/src/esdl ## Still needed?? (cd esdl && rebar compile) (cd cl && rebar compile) (cd wings && make) Sigh you will need to add 'rebar' to you path as well. RE: Wings3D & Erlang R15 - micheus - 05-30-2013 You may consider to update your SDL to SLD 1.2.15 - link RE: Wings3D & Erlang R15 - justbrowsing - 05-30-2013 Thanks for response Compilation process succeeded, but final effect is the same. Code: $ erl -pa /usr/lib64/erlang/lib/esdl-1.0.1/ebin -pa /home/michal/src/wings/ebin -run wings_start start_halt I decided to use Linux build but if somebody has an idea how to fix that I'll check it. RE: Wings3D & Erlang R15 - dgud - 05-31-2013 You will need a new esdl built from src (i.e. not esdl-1.0.1). If you did what I wrote above, and have ERL_LIBS set as described, start wings with > erl -run wings_start start_halt or just > erl -run wings RE: Wings3D & Erlang R15 - justbrowsing - 06-04-2013 Hey that works! Thank you very much :-) What's more I don't need to use workaround for jumpy camera moves anymore. Thanks one more time :-) RE: Wings3D & Erlang R15 - abigailronald - 10-24-2013 Hi, Wings3D is important part of my 3D pipeline so I'd like to integrate it with my system. I'd like to install Wings3D on my Funtoo/Gentoo based system, but I'm facing problem connected with compatibility. My setup is: erlang-15.2.3.1 libsdl-1.2.14-r6 esdl-1.0.1 Wings3D-1.4.1 sources When I run Wings compiled by Erlang R15B03 I get: http://bpaste.net/show/RdwJa1L2sJcNN4jissAI/ AFAIK Wings3D should be compiled using Erlang R14, but unfortunately this release of Erlang isn't in Gentoo portage tree. Available versions are: R15 and R16, but compiling with R16 fails because parameterized modules are not supported anymore. I'd like to ask is there any way to successfully compile and run Wings3D using Erlang R15 or R16. Michał RE: Wings3D & Erlang R15 - sandieg - 12-21-2013 i faced this issue too from awhile but didn't remember how i solved it RE: Wings3D & Erlang R15 - dgud - 12-21-2013 You will need to update esdl, to 1.3.1.. from src or easier from my github account. |