• 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 Next »
Discussing about "Building a development environment for Windows"

 
  • 0 Vote(s) - 0 Average
Discussing about "Building a development environment for Windows"

Pages (3): « Previous 1 2 3 Next »
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#11
03-31-2015, 08:42 PM
'which EXECUTEABLE' is unix command looking up where if anywhere in the path the exectuable is first.

for example:
~/src/wings (dgud/wx-backend):> which ls
/bin/ls.exe
~/src/wings (dgud/wx-backend):>

But as Micheus just said you must have it in your PATH variable to find it,
which btw I don't :-)
ggaliens
Offline

Erlang Hacker
Posts: 954
Threads: 143
Joined: Nov 2012
#12
03-31-2015, 08:53 PM
A DLL by itsself is not a proper executable. Not at all. Dan ... you have ever used 'which' to locate a DLL ?
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#13
03-31-2015, 09:09 PM
No it's not but it is something required by windows to be in PATH.
So it seems to be a mingw/cygwin hack, I don't think it is possible to find .so on unix.

Yes I have, Micheus instructions comes from me or Björn...probably an old readme or something.

~/src/wings (dgud/wx-backend):$> which msys-1.0.dll
/bin/msys-1.0.dll
ggaliens
Offline

Erlang Hacker
Posts: 954
Threads: 143
Joined: Nov 2012
#14
03-31-2015, 11:28 PM
Interesting ... I went grepping on which to see if I could find this usage which.

FYI ... a DLL does not need to be in path. My personal preference from days gone by
was to use application directory or even explicit load. Using the path can be taking a chance due to
competition for path order.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#15
04-01-2015, 02:00 AM
I had a small time for that...
...let's start again.

(06-20-2014, 01:25 PM)ggaliens Wrote: I think I see something odd in #3. With SDL_DIR assignment ?
that #3 is related to building the ESDL pack. This line:
$ SDL_DIR=/mingw rebar compile
which now a days I'm using:
$ SDL_DIR=/usr/local rebar compile


Take a look on Readme file in the ESDL repository. You will find:
Quote:...
You need rebar, see: github.com/rebar/rebar
Build with:
rebar compile
On windows:
===========
SDL_DIR=/opt/local rebar compile (requires Microsoft's SDK)
or
CC=gcc SDL_DIR=/opt/local rebar compile (requires mingw)
also copy SDL.dll to esdl/priv dir or put SDL.dll somewhere in your path.
...

So, if it was put "somewhere in you path" the which command that is able to search into all folders/path/directories included in the $PATH environment variable will find executables as well as .DLL too (who knows why?)

As the "which" command is ran in the MSys console, the $PATH environment variable is not that one own by Windows, but the one provide by MSys plus the folders we append in the bash_profile script.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
ggaliens
Offline

Erlang Hacker
Posts: 954
Threads: 143
Joined: Nov 2012
#16
04-01-2015, 02:45 AM
Copy it to esdl/priv.
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#17
04-01-2015, 02:56 AM
Lets say I had two options and I decided to use that one. Wink

But, I can change it in the tutorial.
Anyway, all repositories have a readme file full of information - and sometimes options. It's a good habit read them.
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Neon22
Offline

Ex-Symbolics

Posts: 38
Threads: 2
Joined: Sep 2013
#18
04-09-2016, 11:37 PM
I know its a hassle Micheus but is now a good time to update the howto dev post to show how to use wxwidgets instead of SDL ?
or can you point me in right direction...
micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#19
04-10-2016, 02:49 AM (This post was last modified: 04-10-2016, 02:49 AM by micheus.)
Yeah, an update would be an option.
Until we get it, you can start checking the file named BUILD.??? In the repository root. It's the official guide. Smile
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#20
04-10-2016, 10:28 AM
You can just scratch the SDL part, wxWidgets is included in the erlang install on windows.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


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

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode