Shouldn't that be os.environ.get('TMP') (i.e., get is a function)?


On Sep 25, 2008, at 4:33 PM, [EMAIL PROTECTED] wrote:

> Hello Carsten,
>
> I've tried to add
> env['ENV']['TMP'] = os.environ.get['TMP']
> at line 826 - but now I always got an syntax error about an invalid  
> syntax:
>
> env['ENV']['TMP'] = os.environ.get['TMP']
>
> ^
>
> SyntaxError: invalid syntax
>
> The temp folder is ok and have enough disk space.
>
> Greets,
>
> Patrik
>
>               Carsten Neumann schrieb:
>>      Hello Patrik,
>>
>> [EMAIL PROTECTED] wrote:
>>> Hello Carsten,
>>>
>>> some success and new questions: first there is a cgfxmaterial and a
>>> cgfxmaterial2 - wich one should I use?
>>
>> nvidia changed the API used by these materials at version 1.4 of  
>> cgfx,
>> the cgfxmaterial2 requires version 1.4 while cgfxmaterial only works
>> with older versions of cgfx. Please see also
>> Source/Contrib/CGFXMatrial{2,}/README for slightly more info.
>>
>>> I've got new errors (see the log) - hope you can help...
>>
>> hm, windows is not exactly my thing, but ...
>>
>>> C:\Projekte\3D\BetaOpenSG64>scons compiler=msvc80x64 type=both -j 4
>>> qt4=C:\Projekte\C++\qt-win-opensource-src-4.4.1 cg="C:\Program Files
>>> (x86)\NVIDIA Corporation\Cg" text=yes gif=yes tif=yes jpg=yes  
>>> png=yes
>>> exr=yes zlib=yes contrib_cgchunk=yes contrib_cgfxmaterial=no
>>> contrib_cgfxmaterial2=yes contrib_ply=yes contrib_terrain=yes
>>> contrib_rhino3d_loader=yes tests=no glut=yes
>>> scons: Reading SConscript files ...
>>> Detected environment: win32-msvc80x64
>>> scons: done reading SConscript files.
>>> scons: Building targets ...
>>> Using tempfile c:\users\mller~1\appdata\local\temp\tmpoz1og0.lnk for
>> [SNIP]
>>> LINK : fatal error LNK1104: Datei "TEMPFILE" kann nicht geƶffnet  
>>> werden.
>>
>> in the SConstruct file, can you put the following in class win32
>> __init__ function near the end:
>>
>> env['ENV']['TMP'] = os.environ['TMP']
>>
>> Also, please make sure your TMP environment variable points to an
>> existing directory with enough free space and to which you have write
>> access.
>>
>>      Hope it helps,
>>              Carsten
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's  
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win  
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in  
>> the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Opensg-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to