Ah, you are quite right! I don't know why that didn't register with  
me. I found a reference online somewhere that older versions of scons  
used to have a problem with that, but that it got fixed in 0.96.91 -  
it appears to be broken again. I inserted a  common_env['SHLINKFLAGS']  
= '$LINKFLAGS -dynamiclib' after the test I found for darwin and it  
worked fine.

Unfortunately, we not out of the woods yet. After clearing that  
hurdle, I got these messages:
Source/System/FieldContainer/Base/OSGThread.cpp: In static member  
function 'static void  
OSG::PThreadBase::setChangelistTo(OSG::ChangeList*)':
Source/System/FieldContainer/Base/OSGThread.cpp:292: error: cannot  
convert 'OSG::ChangeList*' to 'OSG::ChangeList**' in initialization
Source/System/FieldContainer/Base/OSGThread.cpp: In member function  
'virtual void OSG::PThreadBase::shutdown()':
Source/System/FieldContainer/Base/OSGThread.cpp:350: error:  
redeclaration of 'OSG::BitVector* pBitVec'
Source/System/FieldContainer/Base/OSGThread.cpp:342: error:  
'OSG::BitVector* pBitVec' previously declared here
scons: *** [build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
FieldContainer/Base/OSGThread.os] Error 1

These seem like legitimate errors in the source, so I just fixed them.  
However, now it fails building OSGSystem.dylib. It complains about  
undefined symbols. In essence, it looks like every OpenGL function is  
undefined. Indeed, when I look through the link stage, there is no  
link the the OpenGL framework. Anyone have any advice on the best way  
to add it?

[I begin to wonder if maybe I should just stick to 1.8 for a little  
while - but maybe this is helpful to someone...]

Here is the full link command:
/FieldContainer/Attachments/OSGStringAttributeMapBase.os build.darwin.g 
++/type-optimized--arch-ia32/Source/System/FieldContainer/Attachments/ 
OSGVoidPAttachment.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FieldContainer/Base/OSGAttachment.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/FieldContainer/Base/ 
OSGAttachmentContainer.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FieldContainer/Base/OSGChangeList.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/FieldContainer/Base/ 
OSGContainerIdMapper.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FieldContainer/Base/OSGFieldContainer.os build.darwin.g+ 
+/type-optimized--arch-ia32/Source/System/FieldContainer/Base/ 
OSGFieldContainerFactory.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FieldContainer/Base/OSGFieldContainerType.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
FieldContainer/Base/OSGFieldDescriptionBase.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/FieldContainer/Base/ 
OSGReflexiveContainer.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FieldContainer/Base/OSGReflexiveContainerType.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
FieldContainer/Base/OSGReflexiveContainerTypePredicates.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
FieldContainer/Base/OSGSystemDef.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/FieldContainer/Base/OSGThread.os build.darwin.g 
++/type-optimized--arch-ia32/Source/System/FieldContainer/Fields/ 
OSGAttachmentMapFields.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FieldContainer/Fields/OSGChangedFunctorFields.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
FieldContainer/Fields/OSGContainerTypeInst.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/FieldContainer/Fields/ 
OSGFieldContainerFields.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FieldContainer/Fields/PointerFields/ 
OSGPointerMFieldBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FieldContainer/Fields/PointerFields/ 
OSGPointerSFieldBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FieldContainer/Misc/OSGContainerCollection.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
FieldContainer/Misc/OSGContainerCollectionBase.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/FieldContainer/Node/OSGNode.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
FieldContainer/Node/OSGNodeCore.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/FileIO/Base/OSGIOFileTypeBase.os build.darwin.g 
++/type-optimized--arch-ia32/Source/System/FileIO/Base/ 
OSGSceneFileHandler.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FileIO/Base/OSGSceneFileType.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/FileIO/OSG/OSGOSGLoader.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/FileIO/OSG/ 
OSGOSGSceneFileType.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FileIO/OSG/OSGOSGWriter.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/FileIO/ScanParseSkel/ 
OSGScanParseLexer.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/FileIO/ScanParseSkel/OSGScanParseSkel.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/FileIO/ScanParseSkel/ 
OSGXMLScanParseSkel.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/FileIO/ScanParseSkel/prebuild/OSGScanParseSkelParser.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/FileIO/ 
ScanParseSkel/prebuild/OSGScanParseSkelScanner.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/GraphOp/Base/OSGGraphOp.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/GraphOp/Base/ 
OSGGraphOpFactory.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/GraphOp/Base/OSGGraphOpSeq.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/Image/OSGImageFileHandler.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/Image/OSGImageFileType.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Image/ 
OSGImageFunctions.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/Image/OSGImageGenericAtt.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/Image/WS/OSGImage.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Image/WS/OSGImageBase.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Material/Base/ 
OSGChunkMaterial.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/Material/Base/OSGChunkMaterialBase.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Material/Base/OSGMaterial.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Material/Base/ 
OSGMaterialBase.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/Material/Base/OSGMultiPassMaterial.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Material/Base/ 
OSGMultiPassMaterialBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Material/Base/OSGSimpleMaterial.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Material/Base/ 
OSGSimpleMaterialBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Material/Base/OSGSwitchMaterial.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Material/Base/ 
OSGSwitchMaterialBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/NodeCores/Drawables/Base/OSGDrawable.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/NodeCores/Drawables/Base/ 
OSGDrawableBase.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/NodeCores/Drawables/Base/OSGDrawableStatsAttachment.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/NodeCores/ 
Drawables/Base/OSGDrawableStatsAttachmentBase.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/NodeCores/Drawables/Base/ 
OSGMaterialDrawable.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/NodeCores/Drawables/Base/OSGMaterialDrawableBase.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/NodeCores/ 
Drawables/Base/OSGStatsAttachment.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/NodeCores/Drawables/Base/ 
OSGStatsAttachmentBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/NodeCores/Drawables/Base/OSGVolumeDraw.os build.darwin.g+ 
+/type-optimized--arch-ia32/Source/System/NodeCores/Groups/Base/ 
OSGChunkOverrideGroup.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/NodeCores/Groups/Base/OSGChunkOverrideGroupBase.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/NodeCores/ 
Groups/Base/OSGGroup.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/NodeCores/Groups/Base/OSGGroupBase.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/NodeCores/Groups/Base/ 
OSGLight.os build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
NodeCores/Groups/Base/OSGLightBase.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/NodeCores/Groups/Base/OSGLightEngine.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/NodeCores/ 
Groups/Base/OSGLightEngineBase.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/NodeCores/Groups/Base/OSGLightEnv.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/NodeCores/ 
Groups/Base/OSGLightEnvBase.os build.darwin.g++/type-optimized--arch- 
ia32/Source/System/NodeCores/Groups/Base/OSGMaterialGroup.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/NodeCores/ 
Groups/Base/OSGMaterialGroupBase.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/RenderingBackend/OSGDataSlotPool.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
RenderingBackend/OSGDrawEnv.os build.darwin.g++/type-optimized--arch- 
ia32/Source/System/RenderingBackend/OSGHashSorter.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/RenderingBackend/ 
OSGOcclusionCullingTreeBuilder.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/RenderingBackend/OSGPassMaskPool.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
RenderingBackend/OSGRenderTreeNode.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/RenderingBackend/OSGScalarSortTreeBuilder.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
RenderingBackend/OSGStageIdPool.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/RenderingBackend/OSGStageValidator.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
RenderingBackend/OSGStateSorter.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/RenderingBackend/OSGStateSortTreeBuilder.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
RenderingBackend/OSGTreeBuilderBase.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/State/Base/OSGBlendChunk.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/State/Base/ 
OSGBlendChunkBase.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/State/Base/OSGColorMaskChunk.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/State/Base/OSGColorMaskChunkBase.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/State/Base/ 
OSGDepthChunk.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/State/Base/OSGDepthChunkBase.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/State/Base/OSGLightChunk.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/State/Base/ 
OSGLightChunkBase.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/State/Base/OSGMaterialChunk.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/State/Base/OSGMaterialChunkBase.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/State/Base/ 
OSGPolygonChunk.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/State/Base/OSGPolygonChunkBase.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/State/Base/OSGState.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/State/Base/ 
OSGStateBase.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/State/Base/OSGStateChunk.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/State/Base/OSGStateChunkBase.os build.darwin.g+ 
+/type-optimized--arch-ia32/Source/System/State/Base/ 
OSGStateOverride.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/State/Base/OSGTextureBaseChunk.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/State/Base/ 
OSGTextureBaseChunkBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/State/Base/WS/OSGTextureObjChunk.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/State/Base/WS/ 
OSGTextureObjChunkBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Statistics/Base/OSGStatCollector.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/Statistics/Base/OSGStatElem.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Statistics/ 
Base/OSGStatElemDesc.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Statistics/Base/OSGStatIntElem.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Statistics/Base/ 
OSGStatIntOnceElem.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Statistics/Base/OSGStatisticsForeground.os build.darwin.g 
++/type-optimized--arch-ia32/Source/System/Statistics/Base/ 
OSGStatisticsForegroundBase.os build.darwin.g++/type-optimized--arch- 
ia32/Source/System/Statistics/Base/OSGStatRealElem.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/Statistics/Base/ 
OSGStatStringElem.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/Statistics/Base/OSGStatTimeElem.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Statistics/Base/ 
OSGStatTimeStampElem.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Window/Base/OSGBackground.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Window/Base/OSGBackgroundBase.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Window/Base/ 
OSGCamera.os build.darwin.g++/type-optimized--arch-ia32/Source/System/ 
Window/Base/OSGCameraBase.os build.darwin.g++/type-optimized--arch- 
ia32/Source/System/Window/Base/OSGCameraDecorator.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/Window/Base/ 
OSGCameraDecoratorBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Window/Base/OSGForeground.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Window/Base/OSGForegroundBase.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Window/Base/ 
OSGMatrixCamera.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/Window/Base/OSGMatrixCameraBase.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Window/Base/OSGPassiveWindow.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Window/Base/ 
OSGPassiveWindowBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Window/Base/OSGRenderOptions.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Window/Base/OSGRenderOptionsBase.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Window/Base/ 
OSGStereoCameraDecorator.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Window/Base/OSGStereoCameraDecoratorBase.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Window/Base/ 
OSGViewport.os build.darwin.g++/type-optimized--arch-ia32/Source/ 
System/Window/Base/OSGViewportBase.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/Window/Base/OSGWindow.os build.darwin.g++/type- 
optimized--arch-ia32/Source/System/Window/Base/OSGWindowBase.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Window/ 
FrameBufferObjects/OSGFBOViewport.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/Window/FrameBufferObjects/ 
OSGFBOViewportBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Window/FrameBufferObjects/OSGFrameBufferAttachment.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Window/ 
FrameBufferObjects/OSGFrameBufferAttachmentBase.os build.darwin.g++/ 
type-optimized--arch-ia32/Source/System/Window/FrameBufferObjects/ 
OSGFrameBufferObject.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Window/FrameBufferObjects/OSGFrameBufferObjectBase.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Window/ 
FrameBufferObjects/OSGRenderBuffer.os build.darwin.g++/type-optimized-- 
arch-ia32/Source/System/Window/FrameBufferObjects/ 
OSGRenderBufferBase.os build.darwin.g++/type-optimized--arch-ia32/ 
Source/System/Window/FrameBufferObjects/OSGTextureBuffer.os  
build.darwin.g++/type-optimized--arch-ia32/Source/System/Window/ 
FrameBufferObjects/OSGTextureBufferBase.os -L/usr/local/lib - 
Lbuild.darwin.g++/instlinks/lib/opt -lboost_system-1_35 - 
lboost_filesystem-1_35 -lOSGBase -lz



On May 22, 2008, at 10:21 PM, Patrick Hartling wrote:

> It just occurred to me that the option for building a shared library  
> on Mac OS X is -dynamiclib rather than -shared. Try running the link  
> command manually again and replace -shared with -dynamiclib. If that  
> works, then this may well be a bug in SCons.
>
> -Patrick
>
> On May 22, 2008, at 11:27 AM, Black wrote:
>
>> I'm using the latest stable release of scons: 0.98.4. On a whim, I
>> reinstalled scons and grabbed a fresh copy of the opensg2 source, but
>> I still get the same error. I also tried running the final link by
>> hand, but got the same result.
>>
>> I went over the whole build process and didn't see any errors. The
>> only vaguely suspicious thing in the output is a bunch of warnings:
>>
>> build.darwin.g++/instlinks/include/OpenSG/OSGBaseFunctions.inl: In
>> function 'TypeT OSG::osgNextPower2(TypeT) [with TypeT = size_t]':
>> build.darwin.g++/instlinks/include/OpenSG/OSGBaseFunctions.inl:2488:
>> warning: right shift count >= width of type
>>
>> But that shouldn't affect the build process.
>>
>>
>>
>> On May 22, 2008, at 12:04 PM, Patrick Hartling wrote:
>>
>>> That's very strange. I am not having any problems building on Mac OS
>>> X 10.5 (Intel and PowerPC). I have, however, been working on a
>>> branch of the OpenSG 2.0 SVN repository for nearly a year now and
>>> have not built the trunk in quite some time. What version of SCons
>>> are you using? I am using 0.97 and have not done much testing with
>>> 0.98.x yet.
>>>
>>> -Patrick
>>>
>>> On May 22, 2008, at 9:28 AM, Black wrote:
>>>
>>>> Your suggestion did indeed remove the spare -lboost_system-1_35 and
>>>> group it properly, but otherwise nothing changed - same error.
>>>>
>>>> On May 22, 2008, at 10:15 AM, Patrick Hartling wrote:
>>>>
>>>>> On May 21, 2008, at 6:00 PM, Black wrote:
>>>>>
>>>>>> Here is the full build step that failed:
>>>>>> g++ -o build.darwin.g++/type-optimized--arch-ia32/Source/
>>>>>> libOSGBase.dylib -lboost_system-1_35 -arch i386 -shared
>>>>>
>>>>> [...]
>>>>>
>>>>>> Undefined symbols:
>>>>>> "_main", referenced from:
>>>>>>  start in crt1.10.5.o
>>>>>> ld: symbol(s) not found
>>>>>> collect2: ld returned 1 exit status
>>>>>
>>>>> Well, that looks fairly correct. The -shared option is in there,  
>>>>> and
>>>>> that's what I was hoping to see. Having the -lboost_system-1_35
>>>>> option where it is doesn't seem like it should be a problem, but  
>>>>> how
>>>>> about if you replace your addition to the SConstruct file with the
>>>>> following:
>>>>>
>>>>> common_env.AppendUnique(LIBS=['boost_system-1_35'])
>>>>>
>>>>> I noticed that your link line had two -lboost_system-1_35 options,
>>>>> and that seems odd. The above will make sure that it is not added
>>>>> unnecessarily and that it is grouped with the other -l options.
>>>>>
>>>>> -Patrick
>>>>>
>>>>>> On May 21, 2008, at 5:08 PM, Patrick Hartling wrote:
>>>>>>
>>>>>>>
>>>>>>> On May 21, 2008, at 1:07 PM, Black wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> On May 21, 2008, at 12:19 PM, Patrick Hartling wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>> If you look at sconf.log_darwin_g++, you will see the errors
>>>>>>>>> reported by the compiler or the linker when trying to find
>>>>>>>>> Boost.Filesystem. My guess is that the new dependency on
>>>>>>>>> Boost.System introduced in Boost 1.35 is the source of the
>>>>>>>>> problem.
>>>>>>>>> Some part of the OpenSG build (either the SConstruct file or
>>>>>>>>> something in SConsAddons) needs to be updated to know that -
>>>>>>>>> lboost_system-1_35 must be included when testing for the
>>>>>>>>> availability of Boost.Filesystem.
>>>>>>>>>
>>>>>>>>> -Patrick
>>>>>>>>
>>>>>>>> You nailed it - that was exactly what was going on. After
>>>>>>>> inserting a
>>>>>>>> common_env.Append(LINKFLAGS=['-lboost_system-1_35'])
>>>>>>>> before the process options step it cleared the filesystem  
>>>>>>>> hurdle.
>>>>>>>> Admittedly, not a pretty fix, but like I said this is the first
>>>>>>>> time
>>>>>>>> I've set eyes on scons and I couldn't figure out a more generic
>>>>>>>> solution.
>>>>>>>>
>>>>>>>> Unfortunately, the build still failed. It got all of the way to
>>>>>>>> building libOSGBase.dylib and it failed again with
>>>>>>>>
>>>>>>>> Undefined symbols:
>>>>>>>> "_main", referenced from:
>>>>>>>> start in crt1.10.5.o
>>>>>>>> ld: symbol(s) not found
>>>>>>>> collect2: ld returned 1 exit status
>>>>>>>>
>>>>>>>> Thoughts?
>>>>>>>
>>>>>>>
>>>>>>> It appears that SCons is not linking the code as a shared  
>>>>>>> library.
>>>>>>> Could you post the whole link line that fails?
>>>>>>>
>>>>>>> -Patrick
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Patrick L. Hartling
>>>>>>> Senior Software Engineer, Priority 5
>>>>>>> http://www.priority5.com/
>>>>>>>
>>>>>>> -------------------------------------------------------------------------
>>>>>>> This SF.net email is sponsored by: Microsoft
>>>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
>>>>>>> Opensg-users mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------------------------
>>>>>> This SF.net email is sponsored by: Microsoft
>>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>>>> _______________________________________________
>>>>>> Opensg-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>>>>>
>>>>> --
>>>>> Patrick L. Hartling
>>>>> Senior Software Engineer, Priority 5
>>>>> http://www.priority5.com/
>>>>>
>>>>> -------------------------------------------------------------------------
>>>>> This SF.net email is sponsored by: Microsoft
>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
>>>>> Opensg-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.net email is sponsored by: Microsoft
>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>> _______________________________________________
>>>> Opensg-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>>>
>>> --
>>> Patrick L. Hartling
>>> Senior Software Engineer, Priority 5
>>> http://www.priority5.com/
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
>>> Opensg-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Opensg-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>
> --
> Patrick L. Hartling
> Senior Software Engineer, Priority 5
> http://www.priority5.com/
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
> Opensg-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensg-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to