Re: [osg-users] Build error on OS X in examples_osgviewerCocoa

2010-09-24 Thread Robert Osfield
Hi Eduardo,

I don't have an OSX box, nor expertise with Cocoa, so can't directly
help fix the problem.

One thing I can raise as a possible solution is to remove this
example.  osgViewer now directly supports Cocoa so a stand alone
example is possibly not required anymore.

Thoughts OSX users?

Robert.

On Fri, Sep 24, 2010 at 2:10 AM, Eduardo Poyart poy...@gmail.com wrote:
 Hello,
 I've sent this e-mail to osg-users@lists.openscenegraph.org but I didn't
 receive it on the list. I'm re-sending it just in case.
 Here is my problem:
 When building OpenSceneGraph on OS X 10.6.4 and creating application
 bundles, I have the error below, on the examples_osgviewerCocoa target. It
 happened on OSG 2.9.8 and it's still happening on 2.9.9.
 This only happens when I set cmake to build application bundles, and only
 on examples_osgviewerCocoa. A Copy Files step is set up with a path of ../.,
 which Xcode doesn't like.
 I think recreating the examples_osgviewerCocoa target should fix it for me,
 but there must be a way to fix it in the cmake configuration files... or is
 no one else getting this?
 Thanks
 Eduardo
 --
 PBXCp
 /Users/epoyart/OpenSceneGraph-2.9.9-build/bin/Debug/osgviewerCocoad.app/Contents/MacOS/.././Info.plist
 examples/osgviewerCocoa/Info.plist

 cd /Users/epoyart/OpenSceneGraph-2.9.9

 /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp
 -exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols
 -resolve-src-symlinks
 /Users/epoyart/OpenSceneGraph-2.9.9/examples/osgviewerCocoa/Info.plist
 /Users/epoyart/OpenSceneGraph-2.9.9-build/bin/Debug/osgviewerCocoad.app/Contents/MacOS/../.

 pbxcp: error: open():
 /Users/epoyart/OpenSceneGraph-2.9.9-build/bin/Debug/osgviewerCocoad.app/Contents/MacOS/.././Info.plist
 [/SourceCache/pbx_tools/pbx_tools-1706/pbxcp/file_utils.m:420]: No such file
 or directory

 Command
 /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp
 failed with exit code 1
 -


 ___
 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] Build error on OS X in examples_osgviewerCocoa

2010-09-24 Thread Stephan Maximilian Huber
Hi,

Am 24.09.10 09:57, schrieb Robert Osfield:

 One thing I can raise as a possible solution is to remove this
 example.  osgViewer now directly supports Cocoa so a stand alone
 example is possibly not required anymore.
 
 Thoughts OSX users?

I think this example should be refactored to show the new usage-pattern
to include osgViewer::GraphicsWindowCocoa with an existing Cocoa
application similar to the MFC/Qt examples.

Unfortunately I have no spare time coding this.

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


Re: [osg-users] Build error on OS X in examples_osgviewerCocoa

2010-09-24 Thread Robert Osfield
Hi Stephan,

On Fri, Sep 24, 2010 at 9:29 AM, Stephan Maximilian Huber
ratzf...@digitalmind.de wrote:
 I think this example should be refactored to show the new usage-pattern
 to include osgViewer::GraphicsWindowCocoa with an existing Cocoa
 application similar to the MFC/Qt examples.

 Unfortunately I have no spare time coding this.

If no one has time to rewrite it right now, would it be appropriate to
moved the osgviewerCocoa example to deprecated section of the svn
repository, then when someone has the time for them to write a new
Cocoa example?

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


[osg-users] Build error on OS X in examples_osgviewerCocoa

2010-09-23 Thread Eduardo Poyart
Hello,

I've sent this e-mail to osg-users@lists.openscenegraph.org but I didn't
receive it on the list. I'm re-sending it just in case.

Here is my problem:

When building OpenSceneGraph on OS X 10.6.4 and creating application
bundles, I have the error below, on the examples_osgviewerCocoa target. It
happened on OSG 2.9.8 and it's still happening on 2.9.9.

This only happens when I set cmake to build application bundles, and only
on examples_osgviewerCocoa. A Copy Files step is set up with a path of ../.,
which Xcode doesn't like.

I think recreating the examples_osgviewerCocoa target should fix it for me,
but there must be a way to fix it in the cmake configuration files... or is
no one else getting this?

Thanks
Eduardo

--

PBXCp
/Users/epoyart/OpenSceneGraph-2.9.9-build/bin/Debug/osgviewerCocoad.app/Contents/MacOS/.././Info.plist
examples/osgviewerCocoa/Info.plist

cd /Users/epoyart/OpenSceneGraph-2.9.9

/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp
-exclude .DS_Store -exclude CVS -exclude .svn -strip-debug-symbols
-resolve-src-symlinks
/Users/epoyart/OpenSceneGraph-2.9.9/examples/osgviewerCocoa/Info.plist
/Users/epoyart/OpenSceneGraph-2.9.9-build/bin/Debug/osgviewerCocoad.app/Contents/MacOS/../.

pbxcp: error: open():
/Users/epoyart/OpenSceneGraph-2.9.9-build/bin/Debug/osgviewerCocoad.app/Contents/MacOS/.././Info.plist
[/SourceCache/pbx_tools/pbx_tools-1706/pbxcp/file_utils.m:420]: No such file
or directory

Command
/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp
failed with exit code 1

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