Building eLua on Windows Guide: three suggestions and a bug fix

classic Classic list List threaded Threaded
5 messages Options
Luke Venediger Luke Venediger
Reply | Threaded
Open this post in threaded view
|

Building eLua on Windows Guide: three suggestions and a bug fix

Hi Folks,

This guide is fantastic - thanks! I was surprised how quickly I was
able to get an image built. I have three suggestions

1)
In the page about setting up a build environment for Windows it's
worth mentioning that, once scons is installed, you need to add
c:\{python-install-directory}\scripts to your %PATH%.
http://www.eluaproject.net/en_building_win.html

2)
I also found that this was the only thing I needed to add to my path,
so you can probably remove this comment:
>> "Make sure that all the programs listed above are added to %PATH%. Most of them do this automatically, or have an option to do this automatically, but some (for example MinGW) do not and you need to add them to %PATH% manually"

3)
In the instruction to get the source from svn, please can you include
a link to the svn location? This lets me stay on this page while I
progress down the steps.

bug-fix)
The link to TortoiseSVN is broken. How about changing it to point to
http://tortoisesvn.tigris.org/

Cheers,
Luke
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: Building eLua on Windows Guide: three suggestions and a bug fix

Thanks! Will modify the documentation as per your indications.

On Thu, Dec 16, 2010 at 5:58 PM, Luke Venediger <[hidden email]> wrote:

> Hi Folks,
>
> This guide is fantastic - thanks! I was surprised how quickly I was
> able to get an image built. I have three suggestions
>
> 1)
> In the page about setting up a build environment for Windows it's
> worth mentioning that, once scons is installed, you need to add
> c:\{python-install-directory}\scripts to your %PATH%.
> http://www.eluaproject.net/en_building_win.html
>
> 2)
> I also found that this was the only thing I needed to add to my path,
> so you can probably remove this comment:
>>> "Make sure that all the programs listed above are added to %PATH%. Most of them do this automatically, or have an option to do this automatically, but some (for example MinGW) do not and you need to add them to %PATH% manually"
>
> 3)
> In the instruction to get the source from svn, please can you include
> a link to the svn location? This lets me stay on this page while I
> progress down the steps.
>
> bug-fix)
> The link to TortoiseSVN is broken. How about changing it to point to
> http://tortoisesvn.tigris.org/
>
> Cheers,
> Luke
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Luke Venediger Luke Venediger
Reply | Threaded
Open this post in threaded view
|

Re: Building eLua on Windows Guide: three suggestions and a bug fix

>
> On Thu, Dec 16, 2010 at 5:58 PM, Luke Venediger <[hidden email]> wrote:
>> Hi Folks,
>>
>> This guide is fantastic - thanks! I was surprised how quickly I was
>> able to get an image built. I have three suggestions
>>
>> 1)
>> In the page about setting up a build environment for Windows it's
>> worth mentioning that, once scons is installed, you need to add
>> c:\{python-install-directory}\scripts to your %PATH%.
>> http://www.eluaproject.net/en_building_win.html
>>
>> 2)
>> I also found that this was the only thing I needed to add to my path,
>> so you can probably remove this comment:
>>>> "Make sure that all the programs listed above are added to %PATH%. Most of them do this automatically, or have an option to do this automatically, but some (for example MinGW) do not and you need to add them to %PATH% manually"
>>
>> 3)
>> In the instruction to get the source from svn, please can you include
>> a link to the svn location? This lets me stay on this page while I
>> progress down the steps.
>>
>> bug-fix)
>> The link to TortoiseSVN is broken. How about changing it to point to
>> http://tortoisesvn.tigris.org/
>>
>> Cheers,
>> Luke
>> _______________________________________________
>> eLua-dev mailing list
>> [hidden email]
>> https://lists.berlios.de/mailman/listinfo/elua-dev
>>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>

On Thu, Dec 16, 2010 at 6:04 PM, Bogdan Marinescu
<[hidden email]> wrote:
> Thanks! Will modify the documentation as per your indications.

Hi Bogdan,

I've just discovered that another %PATH% entry is required for
building ROMFS. You need to add c:\{path-to-mingw}\bin to your %PATH%
- that'll be worth mentioning below the point about installing MinGW.

Thanks,
Luke
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: Building eLua on Windows Guide: three suggestions and a bug fix

> Hi Bogdan,
>
> I've just discovered that another %PATH% entry is required for
> building ROMFS. You need to add c:\{path-to-mingw}\bin to your %PATH%
> - that'll be worth mentioning below the point about installing MinGW.

Really? That's interesting. I thought we don't even need MinGW for
that :) I'll check, thanks. Do you know why exactly you need to
include that path?

Best,
Bogdan
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Luke Venediger Luke Venediger
Reply | Threaded
Open this post in threaded view
|

Re: Building eLua on Windows Guide: three suggestions and a bug fix

On Thu, Dec 16, 2010 at 6:27 PM, Bogdan Marinescu
<[hidden email]> wrote:

>> Hi Bogdan,
>>
>> I've just discovered that another %PATH% entry is required for
>> building ROMFS. You need to add c:\{path-to-mingw}\bin to your %PATH%
>> - that'll be worth mentioning below the point about installing MinGW.
>
> Really? That's interesting. I thought we don't even need MinGW for
> that :) I'll check, thanks. Do you know why exactly you need to
> include that path?
>
> Best,
> Bogdan

I couldn't run "scons -c cross-lua.py" without that setting. I don't
have Visual C++ installed on my machine. Here's what I get if that is
missing:

c:\dev\elua>scons -f cross-lua.py clean
scons: Reading SConscript files ...

scons: warning: No installed VCs
File "C:\dev\elua\cross-lua.py", line 20, in <module>

scons: warning: No version of Visual Studio compiler found - C/C++
compilers most likely not set correctly
File "C:\dev\elua\cross-lua.py", line 20, in <module>

scons: warning: No installed VCs
File "C:\dev\elua\cross-lua.py", line 25, in <module>

scons: warning: No version of Visual Studio compiler found - C/C++
compilers most likely not set correctly
File "C:\dev\elua\cross-lua.py", line 25, in <module>
scons: done reading SConscript files.
scons: Building targets ...
scons: *** Do not know how to make File target `clean'
(C:\dev\elua\clean).  Stop.
scons: building terminated because of errors.

--

As an aside, I only install the C compiler when running the MinGW
installer, nothing else (like msys)

Cheers,
Luke
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev