[osg-users] Building OSG/Producer/OT 1.2 w/gcc 4.4.5

2 views
Skip to first unread message

Conan Doyle

unread,
Jan 7, 2013, 4:25:21 PM1/7/13
to osg-...@lists.openscenegraph.org
Hi,

I find myself in need of building OSG/Producer/OT 1.2 to support a legacy project. I am using gcc 4.4.5. I am getting numerous compile errors regarding undeclared functions such as memset, memcpy, getenv and so on. These seem easy enough to correct by adding the proper includes to the .cpp files in which the errors are found, but before I continue to do so, I thought I should ask if this was the correct or best approach and if I should expect any issues downstream in doing this or in general with building OSG/Producer/OT with 1.2 w/gcc 4.4.5.


CD
...

Thank you!

Cheers,
Conan

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





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

Jason Daly

unread,
Jan 7, 2013, 5:47:45 PM1/7/13
to osg-...@lists.openscenegraph.org
On 01/07/2013 04:25 PM, Conan Doyle wrote:
> Hi,
>
> I find myself in need of building OSG/Producer/OT 1.2 to support a legacy project. I am using gcc 4.4.5. I am getting numerous compile errors regarding undeclared functions such as memset, memcpy, getenv and so on. These seem easy enough to correct by adding the proper includes to the .cpp files in which the errors are found, but before I continue to do so, I thought I should ask if this was the correct or best approach and if I should expect any issues downstream in doing this or in general with building OSG/Producer/OT with 1.2 w/gcc 4.4.5.
>

Hi, Conan,

I vaguely recall having all kinds of problems with OSG 1.2 compiling
with any version of gcc4. I think we ran into this when we upgraded our
version of Red Hat in the lab, and the new version switched from gcc3 to
4. Our solution at the time was to go ahead and upgrade to OSG 2.0.

The point being, there probably isn't a "right way" to do this.
Whatever works best for you is probably the right way.

--"J"

Conan Doyle

unread,
Jan 9, 2013, 9:55:30 AM1/9/13
to osg-...@lists.openscenegraph.org
Unfortunately upgrading to any later version at this time is absolutely not possible. I'll trudge on...

CD


lyceel wrote:
> On 01/07/2013 04:25 PM, Conan Doyle wrote:
>
> > Hi,
> >
> > I find myself in need of building OSG/Producer/OT 1.2 to support a legacy project. I am using gcc 4.4.5. I am getting numerous compile errors regarding undeclared functions such as memset, memcpy, getenv and so on. These seem easy enough to correct by adding the proper includes to the .cpp files in which the errors are found, but before I continue to do so, I thought I should ask if this was the correct or best approach and if I should expect any issues downstream in doing this or in general with building OSG/Producer/OT with 1.2 w/gcc 4.4.5.
> >
> >
>
> Hi, Conan,
>
> I vaguely recall having all kinds of problems with OSG 1.2 compiling
> with any version of gcc4. I think we ran into this when we upgraded our
> version of Red Hat in the lab, and the new version switched from gcc3 to
> 4. Our solution at the time was to go ahead and upgrade to OSG 2.0.
>
> The point being, there probably isn't a "right way" to do this.
> Whatever works best for you is probably the right way.
>
> --"J"
>
>
> _______________________________________________
> osg-users mailing list
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51852#51852
Reply all
Reply to author
Forward
0 new messages