Re: [osg-users] how to deploy osg application

2009-06-14 Thread Alena Bacova
Thanks to everybody for help.
I compiled all the applications ( osg, artoolkit, mine) in release mode and
it works.

Thank you very much.

Alena

2009/6/11 Paul Melis p...@science.uva.nl

 Jason Daly wrote:
  Garrett Potts wrote:
  Hello All:
 
  I have used this in the past:
 
  http://www.dependencywalker.com/
 
  Should have a free download.  It helps to see how and what
  dependency  DLL's load given an applicaiton or another DLL.  Try
  running the app  agains osgviewer.exe and you should see the dll's
  that are missing or  if none are missing it should help to see what
  dll's are loaded within  the search path.
 
 
  Alena,
 
  The specific error message you posted indicates that you probably do
  have a mix of debug and release dependencies.  Dependency Walker
  (Garret's link above) is a good way to check.  If you run Dependency
  Walker on your app and look at the module list at the bottom, you
  should see either MSVCR80.DLL or MSVCR80D.DLL, but not both.
 I think this exact same tool is included with VS, at least the more
 recent versions. Somewhere under Common/Tools/bin/depends.exe I believe.
 Saves a download..

 Paul

 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how to deploy osg application

2009-06-11 Thread Paul Melis
Jason Daly wrote:
 Garrett Potts wrote:
 Hello All:

 I have used this in the past:

 http://www.dependencywalker.com/

 Should have a free download.  It helps to see how and what
 dependency  DLL's load given an applicaiton or another DLL.  Try
 running the app  agains osgviewer.exe and you should see the dll's
 that are missing or  if none are missing it should help to see what
 dll's are loaded within  the search path.
   

 Alena,

 The specific error message you posted indicates that you probably do
 have a mix of debug and release dependencies.  Dependency Walker
 (Garret's link above) is a good way to check.  If you run Dependency
 Walker on your app and look at the module list at the bottom, you
 should see either MSVCR80.DLL or MSVCR80D.DLL, but not both.
I think this exact same tool is included with VS, at least the more
recent versions. Somewhere under Common/Tools/bin/depends.exe I believe.
Saves a download..

Paul

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] how to deploy osg application

2009-06-10 Thread Alena Bacova
Hi folks,
first of all great forum, I learn new things every day.

My question is: I made an osg ( well osgart) application on my laptop, with
vs 2005 installed and all development environment with it. I compiled it
successfully and now I would like to move it to more comfortable tablet (
Samsung Q1EX).
I tried to move my build directory with dll libraries but it is giving me an
error:  This application has failed to start because the application
configuration is incorrect. Reinstalling the application may fix this
problem.

Then I tried to copy build directory with osg ( particulary lib and bin (bin
with all the dlls, exe, idb, ilk...)) but I'm getting same error.

I tried to look into cmake configuration files, and also vs.net project
configurtion files, if I can remove hard links to libraries, but nothing
helped.

I have never done application deployment so any instructions are more then
welcome.

Thanks.

Alena.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how to deploy osg application

2009-06-10 Thread Todd J. Furlong

Alena,

Did you install the Visual Studio 2005 runtime redistributable?

-Todd

On 6/10/2009 2:39 PM, Alena Bacova wrote:

Hi folks,
first of all great forum, I learn new things every day.

My question is: I made an osg ( well osgart) application on my laptop,
with vs 2005 installed and all development environment with it. I
compiled it successfully and now I would like to move it to more
comfortable tablet ( Samsung Q1EX).
I tried to move my build directory with dll libraries but it is giving
me an error:  This application has failed to start because the
application configuration is incorrect. Reinstalling the application may
fix this problem.

Then I tried to copy build directory with osg ( particulary lib and bin
(bin with all the dlls, exe, idb, ilk...)) but I'm getting same error.

I tried to look into cmake configuration files, and also vs.net
http://vs.net project configurtion files, if I can remove hard links
to libraries, but nothing helped.

I have never done application deployment so any instructions are more
then welcome.

Thanks.

Alena.


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how to deploy osg application

2009-06-10 Thread Jason Daly

Todd J. Furlong wrote:

Alena,

Did you install the Visual Studio 2005 runtime redistributable?
  


Also make sure you compile in Release mode before deploying.

--J

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how to deploy osg application

2009-06-10 Thread Alena Bacova
Todd,
yes, still no luck.

Alena


2009/6/10 Todd J. Furlong t...@inv3rsion.com

 Alena,

 Did you install the Visual Studio 2005 runtime redistributable?

 -Todd

 On 6/10/2009 2:39 PM, Alena Bacova wrote:

 Hi folks,
 first of all great forum, I learn new things every day.

 My question is: I made an osg ( well osgart) application on my laptop,
 with vs 2005 installed and all development environment with it. I
 compiled it successfully and now I would like to move it to more
 comfortable tablet ( Samsung Q1EX).
 I tried to move my build directory with dll libraries but it is giving
 me an error:  This application has failed to start because the
 application configuration is incorrect. Reinstalling the application may
 fix this problem.

 Then I tried to copy build directory with osg ( particulary lib and bin
 (bin with all the dlls, exe, idb, ilk...)) but I'm getting same error.

 I tried to look into cmake configuration files, and also vs.net
 http://vs.net project configurtion files, if I can remove hard links
 to libraries, but nothing helped.

 I have never done application deployment so any instructions are more
 then welcome.

 Thanks.

 Alena.

  ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how to deploy osg application

2009-06-10 Thread Butler, Lee Mr CIV USA USAMC
Your DLLs need to be *in the same directory* as your executable, or the
DLL's have to be someplace that can be found from your PATH environment
variable.  You also need the visual studio redistributable if visual
studio isn't installed on the target machine.

Lee

On Wed, 2009-06-10 at 14:39 -0400, Alena Bacova wrote:
 Hi folks,
 first of all great forum, I learn new things every day. 
 
 My question is: I made an osg ( well osgart) application on my laptop,
 with vs 2005 installed and all development environment with it. I
 compiled it successfully and now I would like to move it to more
 comfortable tablet ( Samsung Q1EX). 
 I tried to move my build directory with dll libraries but it is giving
 me an error:  This application has failed to start because the
 application configuration is incorrect. Reinstalling the application
 may fix this problem.
 
 Then I tried to copy build directory with osg ( particulary lib and
 bin (bin with all the dlls, exe, idb, ilk...)) but I'm getting same
 error. 
 
 I tried to look into cmake configuration files, and also vs.net
 project configurtion files, if I can remove hard links to libraries,
 but nothing helped.
 
 I have never done application deployment so any instructions are more
 then welcome.
 
 Thanks.
 
 Alena.
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how to deploy osg application

2009-06-10 Thread Garrett Potts

Hello All:

I have used this in the past:

http://www.dependencywalker.com/

Should have a free download.  It helps to see how and what dependency  
DLL's load given an applicaiton or another DLL.  Try running the app  
agains osgviewer.exe and you should see the dll's that are missing or  
if none are missing it should help to see what dll's are loaded within  
the search path.



Take care


Garrett Potts
On Jun 10, 2009, at 3:08 PM, Butler, Lee Mr CIV USA USAMC wrote:

Your DLLs need to be *in the same directory* as your executable, or  
the
DLL's have to be someplace that can be found from your PATH  
environment

variable.  You also need the visual studio redistributable if visual
studio isn't installed on the target machine.

Lee

On Wed, 2009-06-10 at 14:39 -0400, Alena Bacova wrote:

Hi folks,
first of all great forum, I learn new things every day.

My question is: I made an osg ( well osgart) application on my  
laptop,

with vs 2005 installed and all development environment with it. I
compiled it successfully and now I would like to move it to more
comfortable tablet ( Samsung Q1EX).
I tried to move my build directory with dll libraries but it is  
giving

me an error:  This application has failed to start because the
application configuration is incorrect. Reinstalling the application
may fix this problem.

Then I tried to copy build directory with osg ( particulary lib and
bin (bin with all the dlls, exe, idb, ilk...)) but I'm getting same
error.

I tried to look into cmake configuration files, and also vs.net
project configurtion files, if I can remove hard links to libraries,
but nothing helped.

I have never done application deployment so any instructions are more
then welcome.

Thanks.

Alena.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how to deploy osg application

2009-06-10 Thread Alena Bacova
Jason,

I compiled my application in release mode, but not the osg, I can try that.

Alena

2009/6/10 Jason Daly jd...@ist.ucf.edu

 Todd J. Furlong wrote:

 Alena,

 Did you install the Visual Studio 2005 runtime redistributable?



 Also make sure you compile in Release mode before deploying.

 --J


 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how to deploy osg application

2009-06-10 Thread Wojciech Lewandowski
Alena,

There are two versions of VS 2005. VS 2005 and VS 2005 SP1. The same with 
runtime redistributables. If you used VS 2005 SP1 make sure you have installed 
SP1 redist.  Its unfortuante but MS makes them available in the packages named 
exactly the same. So its possible to install older one when newer is needed. 
Google for Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) to be 
sure. Maybe this helps

Cheers,
Wojtek   


From: Alena Bacova 
Sent: Wednesday, June 10, 2009 9:08 PM
To: OpenSceneGraph Users 
Subject: Re: [osg-users] how to deploy osg application


Todd,
yes, still no luck.

Alena



2009/6/10 Todd J. Furlong t...@inv3rsion.com

  Alena,

  Did you install the Visual Studio 2005 runtime redistributable?

  -Todd 


  On 6/10/2009 2:39 PM, Alena Bacova wrote:

Hi folks,
first of all great forum, I learn new things every day.

My question is: I made an osg ( well osgart) application on my laptop,
with vs 2005 installed and all development environment with it. I
compiled it successfully and now I would like to move it to more
comfortable tablet ( Samsung Q1EX).
I tried to move my build directory with dll libraries but it is giving
me an error:  This application has failed to start because the
application configuration is incorrect. Reinstalling the application may
fix this problem.

Then I tried to copy build directory with osg ( particulary lib and bin
(bin with all the dlls, exe, idb, ilk...)) but I'm getting same error.

I tried to look into cmake configuration files, and also vs.net

http://vs.net project configurtion files, if I can remove hard links 

to libraries, but nothing helped.

I have never done application deployment so any instructions are more
then welcome.

Thanks.

Alena.


  ___
  osg-users mailing list
  osg-users@lists.openscenegraph.org
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org








___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how to deploy osg application

2009-06-10 Thread Todd J. Furlong

Alena,

As Jason wrote, make sure you are building in Release mode (edit: I just 
saw your reply to Jason.  Everything needs to be built in Release mode. 
 Debug  Release won't mix, and you won't find Debug DLL's on a machine 
without Visual Studio installed)


Also, there are two Visual C++ 2005 redistributable packages (original  
SP1).  You will need to install the one that matches your VS version.


Finally, I think the root of the error is a manifest issue.  The 
manifest information in some DLL(s) is pointing to a side-by-side 
installation that isn't there.  Copying DLL's and/or using Dependency 
Walker for Visual Studio 2005  newer may not give you the information 
you're looking for, nor will it solve a missing manifest issue.


Good luck!

-Todd

On 6/10/2009 3:08 PM, Alena Bacova wrote:

Todd,
yes, still no luck.

Alena


2009/6/10 Todd J. Furlong t...@inv3rsion.com mailto:t...@inv3rsion.com

Alena,

Did you install the Visual Studio 2005 runtime redistributable?

-Todd


On 6/10/2009 2:39 PM, Alena Bacova wrote:

Hi folks,
first of all great forum, I learn new things every day.

My question is: I made an osg ( well osgart) application on my
laptop,
with vs 2005 installed and all development environment with it. I
compiled it successfully and now I would like to move it to more
comfortable tablet ( Samsung Q1EX).
I tried to move my build directory with dll libraries but it is
giving
me an error:  This application has failed to start because the
application configuration is incorrect. Reinstalling the
application may
fix this problem.

Then I tried to copy build directory with osg ( particulary lib
and bin
(bin with all the dlls, exe, idb, ilk...)) but I'm getting same
error.

I tried to look into cmake configuration files, and also vs.net
http://vs.net
http://vs.net project configurtion files, if I can remove hard
links

to libraries, but nothing helped.

I have never done application deployment so any instructions are
more
then welcome.

Thanks.

Alena.

___
osg-users mailing list
osg-users@lists.openscenegraph.org
mailto:osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


--
Todd J. Furlong
Inv3rsion, LLC
http://www.inv3rsion.com
888-588-0573 x701 office
603-759-9035 mobile
888-588-0573 fax
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org