Re: [osg-users] cmake errors with 2.9.8

2010-07-31 Thread Robert Osfield
Hi Stephan, I have now merged you removal of the FRAMEWORK keyword, and your previous change for SO_VERSION as well. Changes now checked into svn/trunk. Cheers, Robert. On Sat, Jul 17, 2010 at 4:14 PM, Stephan Huber wrote: > Hi, > > Am 17.07.10 11:12, schrieb Stephan Huber: >> I was wrong, the

Re: [osg-users] cmake errors with 2.9.8

2010-07-17 Thread Stephan Huber
Hi, Am 17.07.10 11:12, schrieb Stephan Huber: > I was wrong, there are two occurances of the FRAMEWORK-keyword. One is > guarded, the other not. AFAIK it is safe to remove the unguarded > FRAMEWORK line completely as it is redundant. > > I'll try it, but recompiling all the stuff needs some time.

Re: [osg-users] cmake errors with 2.9.8

2010-07-17 Thread Stephan Huber
Hi, Am 16.07.10 16:43, schrieb Jean-Sébastien Guay: > But if what Stephan says is true, then it means that even if guarded by > an IF(APPLE) the parser will choke on the FRAMEWORK keyword so it won't > work... I was wrong, there are two occurances of the FRAMEWORK-keyword. One is guarded, the oth

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread Jean-Sébastien Guay
Hi John, I hope you're not asking me! 8^) Nah, it was more kind of a general question aimed at the universe :-) I'm not sure how to do that myself. I'll let Stephan and Robert see if they can come up with any ideas, I was just thinking out loud... Sorry I can't help more, J-S -- _

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread John Kelso
On Fri, 16 Jul 2010, Jean-Sébastien Guay wrote: Perhaps we could have that function in a separate file which would only be loaded IF(APPLE)? Would that work? J-S I hope you're not asking me! 8^) But, send me something I'd be happy to try it out. Thanks, John__

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread Jean-Sébastien Guay
Hi John, As a quick test I deleted the line FRAMEWORK DESTINATION /Library/Frameworks in CMakeModules/ModuleInstall.cmake, and everything builds and installs just fine. Yes, that's great news. I tried this: INSTALL( TARGETS ${LIB_NAME} RUNTIME DESTINATION ${INSTALL_BINDIR} COMPONENT libop

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread John Kelso
Same thing. Parse error. Function missing ending ")". Instead found left paren with text "(". CMake Error: Error in cmake code at /usr/local/HEV-beta/apps/osg/osg-2.9.8/OpenSceneGraph/CMakeModules/ModuleInstall.cmake:33: Line 33 is the "IF(APPLE)" line. Just to be sure, this is what I have (r

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread Robert Osfield
Hi Johm, Try ENDIF() rather than ENDIF. Robert. On Fri, Jul 16, 2010 at 3:13 PM, John Kelso wrote: > Good news! > > As a quick test I deleted the line > >    FRAMEWORK DESTINATION /Library/Frameworks > > in CMakeModules/ModuleInstall.cmake, and everything builds and installs just > fine. > > I

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread John Kelso
Good news! As a quick test I deleted the line FRAMEWORK DESTINATION /Library/Frameworks in CMakeModules/ModuleInstall.cmake, and everything builds and installs just fine. I tried this: INSTALL( TARGETS ${LIB_NAME} RUNTIME DESTINATION ${INSTALL_BINDIR} COMPONENT libopenscenegraph

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread Stephan Huber
Hi, Am 16.07.10 11:03, schrieb Robert Osfield: > Guarding the FRAMEWORK keyword sounds like the sensible thing to do, > it's a bit of pain, but it would allow those using cmake out of the > box on older OS spins to keep working. what I don't understand is: AFAIK the FRAMEWORK is guarded by the O

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread John Kelso
Hi, Yes, I'm very willing to do this, but realisticaly won't have a chance to do it until August. But, I'll take a look at the effort involved right now, and if it isn't too messy I'll see if I can fit into the interstisal spaces of my schedule and knock it out. Thanks, John On Fri, 16 Jul 20

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread Robert Osfield
Hi John, On Fri, Jul 16, 2010 at 1:21 PM, John Kelso wrote: > I'm glad to hear it's something simple.  Unfortunately for me, given the > nature of the system I work on, it's not something I can change.  I'll just > have to > wait until a newer version of cmake gets installed before I can update

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread Jean-Sébastien Guay
Hi Robert, John, Guarding the FRAMEWORK keyword sounds like the sensible thing to do, it's a bit of pain, but it would allow those using cmake out of the box on older OS spins to keep working. Yes, but who will do it? It would need to be someone who runs into the problem... John, do you have

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread John Kelso
Hi, I'm glad to hear it's something simple. Unfortunately for me, given the nature of the system I work on, it's not something I can change. I'll just have to wait until a newer version of cmake gets installed before I can update our version of OSG. BTW, the README.txt, and the link it refere

Re: [osg-users] cmake errors with 2.9.8

2010-07-16 Thread Robert Osfield
Hi JS, Chuck, John et. al. On Thu, Jul 15, 2010 at 9:48 PM, Jean-Sébastien Guay wrote: > But that means that on Win32 and anything other than APPLE, it will accept > old versions of CMake, and the FRAMEWORK keyword is not guarded to be used > only on APPLE everywhere it's used, so there's the pro

Re: [osg-users] cmake errors with 2.9.8

2010-07-15 Thread Jean-Sébastien Guay
Hi Chuck, John, There have been a lot of OSX-specific updates to cmake between your version and the latest. 2.4.7 is so old that it doesn't even recognize the FRAMEWORK argument, let alone do the right thing with it (ignore in your case). Upgrading cmake will solve your problems. When the

Re: [osg-users] cmake errors with 2.9.8

2010-07-15 Thread Chuck Seberino
John, There have been a lot of OSX-specific updates to cmake between your version and the latest. 2.4.7 is so old that it doesn't even recognize the FRAMEWORK argument, let alone do the right thing with it (ignore in your case). Upgrading cmake will solve your problems. Chuck On Jul 15, 20

[osg-users] cmake errors with 2.9.8

2010-07-15 Thread John Kelso
Hi all, I just tried build OSG 2.9.8 on our CentOS system, using cmake 2.4.7. My cmake command gave me errors. The main thing I see are lines like this: CMake Error: Error in cmake code at .../OpenSceneGraph-2.9.8/CMakeModules/ModuleInstall.cmake:28: INSTALL TARGETS given unknown argument "FR