Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Discussing about "Building a development environment for Windows"
06-20-2014, 11:25 PM
Post: #1
Discussing about "Building a development environment for Windows"
I think I see something odd in #3. With SDL_DIR assignment ?
I might be trying this whole things again soon Micheus. And might start here.
Reply
03-29-2015, 09:07 AM
Post: #2
RE: Building a development environment for Windows [updated 06/19/14]
(06-20-2014 11:25 PM)ggaliens Wrote:  I think I see something odd in #3. With SDL_DIR assignment ?
That assignment is related to
place where I suggested SDL files be saved (C:\wingsdev\msysgit\mingw\).

It must to be the root where the lib and include folders in which the files were saved.

In case of doubt, it's possible to check that by using the bash command:
$ which SDL.dll
that should show us the path were it can be found.

My Wings3D Collection at G+
Reply
03-29-2015, 01:15 PM
Post: #3
RE: Building a development environment for Windows [updated 06/19/14]
"which" is not a DOS command and it is not an msys shell command either.
Reply
03-29-2015, 09:41 PM
Post: #4
RE: Building a development environment for Windows [updated 06/19/14]
(03-29-2015 01:15 PM)ggaliens Wrote:  "which" is not a DOS command and it is not an msys shell command either.
That is not true. Which version of MinGW/MSYS are you using?!
Take a look in the last post in this thread: Re: The "which" command in MSYS (Jul/2010)

My Wings3D Collection at G+
Reply
03-31-2015, 04:59 AM (This post was last modified: 03-31-2015 05:00 AM by ggaliens.)
Post: #5
RE: Building a development environment for Windows [updated 06/19/14]
Micheus ... I stand corrected. It WHICH is available in my console. Sorry for the confusion.

perhaps this will at least excuse my confusion a little bit ...

Code:
$ which
which: syntax error: missing argument
Usage: which [ -a | --all ] cmd ...
$ which SDL.dll
which: SDL.dll: unknown command
$ which ls
/bin/ls.exe
Reply
03-31-2015, 06:59 AM
Post: #6
RE: Building a development environment for Windows [updated 06/19/14]
No problem. Smile
You know, the command will look for the target file looking into the folders listed in the environment variable $PATH.

Currently, I put the file into the folder that is already listed into the $PATH= ... :/usr/local/bin:/mingw/bin:/bin
So...
$ which SDL.dll
/usr/local/bin/SDL.dll


and for this new folder I'm using
$ SDL_DIR=/usr/local rebar compile

My Wings3D Collection at G+
Reply
03-31-2015, 07:11 AM
Post: #7
RE: Building a development environment for Windows [updated 06/19/14]
Well ... why didn't it work in my example above ? It says "unknown command". Yours works and mine is broken ? Do you think that's the case ?

It does not say "cannot find SDL.dll" ... it says "unknown command". I'm going to go look up the specs for which. Have not used it in a long time.
Reply
03-31-2015, 07:34 AM
Post: #8
RE: Building a development environment for Windows [updated 06/19/14]
It's the message we get if the file was not found.
As you noticed it seems to not be the right one we would expect.

The same command in the git bash (I have two different environments - for test) this command just returns nothing if the file was not found - still worst!

My Wings3D Collection at G+
Reply
03-31-2015, 07:50 AM (This post was last modified: 03-31-2015 07:50 AM by micheus.)
Post: #9
RE: Building a development environment for Windows [updated 06/19/14]
I forgot to tell you that you are not getting success because you probably put your SDL.dll in another place than one listed in the $PATH.

My Wings3D Collection at G+
Reply
03-31-2015, 07:54 AM
Post: #10
RE: Building a development environment for Windows [updated 06/19/14]
Google "using which to find a dll"

Then read man pages for which.

Then Google "using which to find a dll"


Are you the only person able to do this ? Is it real ?

I didn't find it in Wings3d scripts.

It seems wrong to me to do that. But now I am on a quest for the truth (yes ... maybe bored here).
Reply


Forum Jump:


User(s) browsing this thread: 2 Guest(s)