• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Programming v
« Previous 1 2 3 4
Wings3D & Erlang R15

 
  • 0 Vote(s) - 0 Average
Wings3D & Erlang R15

justbrowsing
Offline

Junior Member

Posts: 3
Threads: 1
Joined: May 2013
#1
05-30-2013, 01:50 PM
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ł
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#2
05-30-2013, 02:25 PM (This post was last modified: 05-30-2013, 02:26 PM by dgud.)
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.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,680
Threads: 184
Joined: Jun 2012
#3
05-30-2013, 02:33 PM
You may consider to update your SDL to SLD 1.2.15 - link
justbrowsing
Offline

Junior Member

Posts: 3
Threads: 1
Joined: May 2013
#4
05-30-2013, 05:23 PM
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

Erlang R15B03 (erts-5.9.3.1) [source] [64-bit] [async-threads:0]

wings-1.5.pre1.82.gda41
Reading preferences from: /home/michal/.wings3d/preferences.txt
Eshell V5.9.3.1  (abort with ^G)
1> Driver failed: Driver compiled with incorrect version of erl_driver.h

=ERROR REPORT==== 30-May-2013::19:17:33 ===
Error in process <0.33.0> with exit value: {badarg,[{erlang,port_control,[esdl_port,21,<<4 bytes>>],[]},{sdl,init,1,[{file,"sdl.erl"},{line,90}]},{wings_init,init,0,[{file,"wings_init.erl"},{line,28}]},{wings,init,1,[{file,"wings.erl"},{line,104}]}]}

sh: line 0: exec: sdl_driver: not found


Fatal internal error - log written to /home/michal/wings_crash.dump


I decided to use Linux build but if somebody has an idea how to fix that I'll check it.
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#5
05-31-2013, 06:18 AM
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
justbrowsing
Offline

Junior Member

Posts: 3
Threads: 1
Joined: May 2013
#6
06-04-2013, 03:00 PM
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 :-)
abigailronald

Unregistered
 
#7
10-24-2013, 12:09 PM
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ł
sandieg
Offline

Junior Member

Posts: 4
Threads: 0
Joined: Dec 2013
#8
12-21-2013, 06:02 PM (This post was last modified: 07-27-2014, 02:27 AM by micheus.)
i faced this issue too from awhile but didn't remember how i solved it
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#9
12-21-2013, 07:55 PM
You will need to update esdl, to 1.3.1.. from src or easier from my github account.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode