Wings 3D Development Forum
Getting setup to build Wing3D, Envirnoment Variables - 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: Getting setup to build Wing3D, Envirnoment Variables (/showthread.php?tid=20)



Getting setup to build Wing3D, Envirnoment Variables - wmfeuvrel@gmail.com - 11-13-2012

Hey, I'm just getting started with Erlang and and am trying to get set up to build wings3D. I think my problem is the environment variables. Especially ERL_LIBS. I'm on windows7 box. Can someone share the exact syntax of how their ERL_LIBS env variable?

When I type make in the src dir I get:
makefile:17: ../vsn.mk: No such file or directory
make: *** No rule to make target `../vsn.mk'. Stop.

My guess is that the ERL_LIBS is set incorrectly. Can anyone advise?

the setup notes read:
...
ESDL_PATH needs to be set to the path of the directory where you installed ESDL.
ERL_LIBS needs to be set to the directory below ESDL and CL, i.e.
$ERL_LIBS\esdl-1.2\ebin and $ERL_LIBS\cl-1.1\ebin
or if you got the src from github:
$ERL_LIBS\esdl\ebin and $ERL_LIBS\cl\ebin
...

Michael


RE: Getting setup to build Wing3D, Envirnoment Variables - optigon - 11-13-2012

The error being raised is for the vsn.mk which is an auto generated file. But for it to be generated you should run make from the wings root dir... so one level up from the src folder. The vsn.mk is meant to work with git version (git_describe) tags to produce a unique wings version number.

Once you've compiled wings, you can compile individual folders.

ERL_LIBS is meant to point out the path to your wings sources, and can include your wings dependencies.

Hope this help.


RE: Getting setup to build Wing3D, Envirnoment Variables - ggaliens - 11-13-2012

Michael ... let us know how you progress. Don't be discouraged if the build environment feels a bit clunky. In my opinion ... it definately is clunky. There are lots of parts to merge and glue together.

I highly recomment doing you building in a virtual enviroment and/or keeping a notebook for all the ODD-BALL steps you must perform to get things done on your machine.


RE: Getting setup to build Wing3D, Envirnoment Variables - micheus - 11-13-2012

Michael, just to know, what the environment are you using?
Cygwin, MinGW, ...