|
[Linux][2.0.3] wings.erl compile error
|
|
04-16-2016, 12:27 AM
(This post was last modified: 04-16-2016 02:17 PM by LousyLynx.)
Post: #1
|
|||
|
|||
|
[Linux][2.0.3] wings.erl compile error
Hello. I have spoken to Dan G. about getting 2.0.3, and he said that I need to build it myself, due to a wxWidgets error. So I have been trying to build it, but I have run into this error:
Code: (cd intl_tools; make)After running `erl -make` in the `src` directory, this is the output: Code: Recompile: wings |
|||
|
04-16-2016, 03:30 AM
Post: #2
|
||||
|
||||
|
RE: [Linux][2.0.3] wings.erl compile error
Which version of Erlang are you using? You must install the latest one.
I got this kind of message when I was trying to use an old one.
|
||||
|
04-16-2016, 11:38 AM
(This post was last modified: 04-16-2016 11:54 AM by LousyLynx.)
Post: #3
|
|||
|
|||
|
RE: [Linux][2.0.3] wings.erl compile error
When I did `erl -version` this was the output:
Code: Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 5.10.4UPDATE I updated my erlang, now I have this error while building: Code: wings_dialog.erl:15: can't find include lib "wings/e3d/e3d_image.hrl" |
|||
|
04-16-2016, 12:50 PM
Post: #4
|
|||
|
|||
|
RE: [Linux][2.0.3] wings.erl compile error
I got that error the other day ...
If you wings folder is here /home/bob/wings then do ERL_LIBS="/home/bob" export ERL_LIBS |
|||
|
04-16-2016, 02:12 PM
(This post was last modified: 04-16-2016 02:18 PM by LousyLynx.)
Post: #5
|
|||
|
|||
RE: [Linux][2.0.3] wings.erl compile error
(04-16-2016 12:50 PM)ggaliens Wrote: I got that error the other day ... Thank you! This made my build work past that error. Now I have come across this error: Code: escript tools/verify_language_files . |
|||
|
04-16-2016, 02:40 PM
Post: #6
|
|||
|
|||
|
RE: [Linux][2.0.3] wings.erl compile error
Make sure that ERL_LIBS and export have the proper level of visibility throughout your shells and build session.
I had min in my .profile so that when I started a new shell. It would get defined. Then I tried putting it in my launch script and somehow that was not as good as doing it in the console windows, or in the .profile |
|||
|
04-16-2016, 03:12 PM
Post: #7
|
|||
|
|||
RE: [Linux][2.0.3] wings.erl compile error
(04-16-2016 02:40 PM)ggaliens Wrote: Make sure that ERL_LIBS and export have the proper level of visibility throughout your shells and build session. Even with my .profile looking like this: Code: # ~/.profile: executed by the command interpreter for login shells.Code: escript tools/verify_language_files . |
|||
|
04-16-2016, 03:41 PM
Post: #8
|
||||
|
||||
|
RE: [Linux][2.0.3] wings.erl compile error
The erlang version is old. You neede to update it. Probably rebuild it using the latest sources.
|
||||
|
04-16-2016, 07:05 PM
Post: #9
|
||||
|
||||
|
RE: [Linux][2.0.3] wings.erl compile error
Just to confirm the latest version is 7.3. You need to use it in order to be able to build the wings3d code using the new features that were added to it.
It seems you had an old dev environment set - maybe for 1.4* or 1.5*, so it's time to update it. I started to update the informations to build a new dev environment - maybe it could help you. Check the Programming session.
|
||||
|
04-17-2016, 02:07 AM
Post: #10
|
|||
|
|||
|
RE: [Linux][2.0.3] wings.erl compile error
It turns out that using kerl, or an apt-get package does not work. I did not know I had to build erlang from the source to get wxWidgets. I am trying to build it now. I will check back later to tell you if I got it working.
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)




@MicheusVieira
MicheusVieira
Micheuss
micheus4wings3d