Re: [osg-users] [build] Postbuild error with ot11-OpenThreads??

2010-09-21 Thread Frank Sullivan
Oh yes, that would explain it. I'll try using VS2008 when I get home (I just 
downloaded CMake yesterday so I think I have the latest version, but I'll 
double check that as well).

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31902#31902





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


Re: [osg-users] [build] Postbuild error with ot11-OpenThreads??

2010-09-21 Thread Jean-Sébastien Guay

Hi Frank,


My problem is a bit different. I'm running VS2010 as Administrator, but it 
still doesn't work. When I look at the above folder path, all it has are PDBs. 
In my case, that is not the correct path. The correct path is:

  C:/Development/OpenSceneGraph-2.8.3/VS2010/bin/Release/

All of my DLLs, etc., are in that path. They are not in the folder that the 
cmake install step is looking in.

I don't know how to get them to build into the path that the cmake install step 
is looking for them in (aside from manually editing each project file by hand). 
Does anyone have any advice?


IIRC, this was caused by a bug in CMake when generating VS2010 projects. 
People on the list found two possible solutions:


1. Upgrade to a more recent version of CMake, I think the bug is 
resolved now.


2. Generate for VS2008 instead of VS2010.

Hope this helps,

J-S
--
__
Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com
   http://www.cm-labs.com/
http://whitestar02.webhop.org/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] Postbuild error with ot11-OpenThreads??

2010-09-20 Thread Frank Sullivan
Hi,

Sorry to resurrect an old thread, but I am running into a very similar problem:


> 3>file INSTALL cannot find
> 3>
> "C:/Development/OpenSceneGraph-2.8.3/VS2010/bin/Release/../../bin/ot11-OpenThreads.dll".


The OP said that they could find this DLL (and others) in the specific 
directory. It seems that the OP's problem was that VS didn't have the right 
permissions to access the destination directory.

My problem is a bit different. I'm running VS2010 as Administrator, but it 
still doesn't work. When I look at the above folder path, all it has are PDBs. 
In my case, that is not the correct path. The correct path is:

 C:/Development/OpenSceneGraph-2.8.3/VS2010/bin/Release/

All of my DLLs, etc., are in that path. They are not in the folder that the 
cmake install step is looking in.

I don't know how to get them to build into the path that the cmake install step 
is looking for them in (aside from manually editing each project file by hand). 
Does anyone have any advice?

Thank you!

Cheers,
Frank[/quote]

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31875#31875





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


Re: [osg-users] [build] Postbuild error with, ot11-OpenThreads??

2009-04-14 Thread Chris 'Xenon' Hanson

> Hah! Thanks Ismail, That was the problem.
> 
> 1>INSTALL - 0 error(s), 0 warning(s)
> == Build: 1 succeeded, 0 failed, 195 up-to-date, 0 skipped ==
> 
> I'm a happy bunny  :D
> 
> 
> 8)
> John Montgomery, Glassel, Scotland.


  I had that problem too, under Vista, and noted it in the OSG build how-to on 
the wiki.

-- 
Chris 'Xenon' Hanson, omo sanza lettere  Xenon AlphaPixel.com
PixelSense Landsat processing now available! http://www.alphapixel.com/demos/
"There is no Truth. There is only Perception. To Perceive is to Exist." - Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] [build] Postbuild error with ot11-OpenThreads??

2009-04-14 Thread John Montgomery
Hah! Thanks Ismail, That was the problem.

1>INSTALL - 0 error(s), 0 warning(s)
== Build: 1 succeeded, 0 failed, 195 up-to-date, 0 skipped ==

I'm a happy bunny  :D


8)
John Montgomery, Glassel, Scotland.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10189#10189





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


Re: [osg-users] [build] Postbuild error with ot11-OpenThreads??

2009-04-14 Thread Ismail Pazarbasi
Hi John,

could it be a permission problem? Can you see other files written into
that folder? On Vista, one may need adminisrative priviliges to write
into program files folder.

You may try to run Visual C++ as Administrator. I am using Vista
Business with VC9 on my secondary laptop as well, but never tried to
*install* osg!

HTH
Ismail

On Tue, Apr 14, 2009 at 11:43 AM, John Montgomery
 wrote:
> Hello All,
>
> I am trying to compile the plain vanilla OSG with MSVC++ 9 (2008) on Vista 
> (Home)
> It all appears to compile fine until I build 'INSTALL', then I get the 
> following output, and the Installer halts without having installed the files:
>
>>-- Build started: Project: INSTALL, Configuration: Release Win32 --
> 1>
> 1>Performing Post-Build Event...
> 1>-- Install configuration: "Release"
> 1>-- Up-to-date: C:/Program 
> Files/OpenSceneGraph/lib/pkgconfig/openscenegraph.pc
> 1>-- Up-to-date: C:/Program Files/OpenSceneGraph/lib/pkgconfig/openthreads.pc
> 1>-- Up-to-date: C:/Program Files/OpenSceneGraph/lib/OpenThreads.lib
> 1>-- Installing: C:/Program Files/OpenSceneGraph/bin/ot11-OpenThreads.dll
> 1>CMake Error at src/OpenThreads/win32/cmake_install.cmake:50 (FILE):
> 1>  file INSTALL cannot copy file
> 1>  "D:/OSG/OpenSceneGraph/build/bin/Release/../../bin/ot11-OpenThreads.dll" 
> to
> 1>  "C:/Program Files/OpenSceneGraph/bin/ot11-OpenThreads.dll".
> 1>Call Stack (most recent call first):
> 1>  src/OpenThreads/cmake_install.cmake:36 (INCLUDE)
> 1>  src/cmake_install.cmake:32 (INCLUDE)
> 1>  cmake_install.cmake:36 (INCLUDE)
> 1>Project : error PRJ0019: A tool returned an error code from "Performing 
> Post-Build Event..."
> 1>Build log was saved at 
> "file://d:\OSG\OpenSceneGraph\build\INSTALL.dir\Release\BuildLog.htm"
> 1>INSTALL - 1 error(s), 0 warning(s)
> == Build: 0 succeeded, 1 failed, 195 up-to-date, 0 skipped ==
>
> The file 
> D:/OSG/OpenSceneGraph/build/bin/Release/../../bin/ot11-OpenThreads.dll
> exists in the path
> D:\OSG\OpenSceneGraph\build\bin
>
> ...the convoluted path is theoretically pointing to the correct location.
> ( I have UAC swtiched on still - would that become an issue? )
>
> Can anyone point me in the right direction for fixing this please?  I have 
> searched for similar problems, but either get None or 1000+ off topic results.
>
> Thanks.
>
> 
> 8)
> John Montgomery, Glassel, Scotland.
>
> --
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=10186#10186
>
>
>
>
>
> ___
> 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] [build] Postbuild error with ot11-OpenThreads??

2009-04-14 Thread John Montgomery
Hello All,

I am trying to compile the plain vanilla OSG with MSVC++ 9 (2008) on Vista 
(Home)
It all appears to compile fine until I build 'INSTALL', then I get the 
following output, and the Installer halts without having installed the files:

>-- Build started: Project: INSTALL, Configuration: Release Win32 --
1> 
1>Performing Post-Build Event...
1>-- Install configuration: "Release"
1>-- Up-to-date: C:/Program Files/OpenSceneGraph/lib/pkgconfig/openscenegraph.pc
1>-- Up-to-date: C:/Program Files/OpenSceneGraph/lib/pkgconfig/openthreads.pc
1>-- Up-to-date: C:/Program Files/OpenSceneGraph/lib/OpenThreads.lib
1>-- Installing: C:/Program Files/OpenSceneGraph/bin/ot11-OpenThreads.dll
1>CMake Error at src/OpenThreads/win32/cmake_install.cmake:50 (FILE):
1>  file INSTALL cannot copy file
1>  "D:/OSG/OpenSceneGraph/build/bin/Release/../../bin/ot11-OpenThreads.dll" to
1>  "C:/Program Files/OpenSceneGraph/bin/ot11-OpenThreads.dll".
1>Call Stack (most recent call first):
1>  src/OpenThreads/cmake_install.cmake:36 (INCLUDE)
1>  src/cmake_install.cmake:32 (INCLUDE)
1>  cmake_install.cmake:36 (INCLUDE)
1>Project : error PRJ0019: A tool returned an error code from "Performing 
Post-Build Event..."
1>Build log was saved at 
"file://d:\OSG\OpenSceneGraph\build\INSTALL.dir\Release\BuildLog.htm"
1>INSTALL - 1 error(s), 0 warning(s)
== Build: 0 succeeded, 1 failed, 195 up-to-date, 0 skipped ==

The file D:/OSG/OpenSceneGraph/build/bin/Release/../../bin/ot11-OpenThreads.dll 
exists in the path
D:\OSG\OpenSceneGraph\build\bin

...the convoluted path is theoretically pointing to the correct location.
( I have UAC swtiched on still - would that become an issue? )

Can anyone point me in the right direction for fixing this please?  I have 
searched for similar problems, but either get None or 1000+ off topic results.

Thanks.


8)
John Montgomery, Glassel, Scotland.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10186#10186





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