I wrote the path-s as SYSTEM environment variables. I know that what I`ve done 
it`s not a good solution, but I can´t fit it in another way. 

Thanks.

Wojciech Lewandowski <[EMAIL PROTECTED]> escribió:        I am not an Windows 
expert.  So I may be  completely wrong but your case resembles similar 
problemes we  had once. Some application ran from console but could not run  
from Windows menu. We noticed that SYSTEM PATH variable did not  work due to 
other undefined variables because these variables  were set in USER 
environment. We were able to get rid of the  problem by seting all variables as 
SYSTEM environment vars.  

  
 Environment Variables could be changed either  for USER enivornment or for 
SYSTEM environment. I suspect  system variables are merged with user variables 
for applications run by  user (Console ?). But if application is run by system 
it ignores user variables.  This may explain your console/visual studio issues.
  
 Did you set your PATH in user variables pane or in  system variables pane of 
Environment Variables dialog ? This dialog is invoked  from Control Panel / 
System / Advanced TAB / Environment Variables  button.
  
  
 Cheers,
 Wojtek
  
  
 ----- Original Message ----- 
    From:    Maider Maider    
   To: osg users 
   Sent: Wednesday, June 27, 2007 4:16    PM
   Subject: Re: [osg-users] Problem running    OSG 2.0 examples
   

I have the osgPlugin2.0.0 folder inside lib folder. If I only    put in the 
system environment the path of the lib folder, it works but only    when using 
the app via console. If I want to execute an example via    VisualStudio I have 
to add the path of osgPlugin2.0.0 itself to the system    environment, if not, 
it can´t find the plugins.

Robert Osfield    <[EMAIL PROTECTED]> escribió:   On      6/27/07, Maider 
Maider wrote:
> Hi,
>
>      I build the binaries from the source (2.0 version).
>
> I set      OSG_NOTITY_LEVEL to DEBUG and it does check in osgPlugin2.0.0
>      directory but it does it because I put this path in the system.

The      path to the directory containing osgPlugins-2.0.0 or did you put
the      osgPlugins-2.0.0 directory itself? It should be sufficient just
put the      directory containing osgPlugins-2.0.0 as the OSG itself should
add the      osgPlugins-2.0.0 by      itself.

Robert.
_______________________________________________
osg-users      mailing      list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

      

---------------------------------
   
LLama Gratis a cualquier PC del    Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com      

---------------------------------
    
_______________________________________________
osg-users mailing    list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

                
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to