Re: Building Terragear, a problem

"Curtis L. Olson" <[email protected]> Wed, 03 Nov 2004 10:46:36 -0600
Newsgroups gmane.games.flightgear.terragear.devel
Message-ID <[email protected]>
[email protected] wrote:

>Missatge citat per "Curtis L. Olson" <[email protected]>:
>
>  
>
>>[email protected] wrote:
>>
>>    
>>
>>>Missatge citat per "Curtis L. Olson" <[email protected]>:
>>>
>>>
>>>
>>>      
>>>
>>>>[email protected] wrote:
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>>>Hello,
>>>>>
>>>>>I have a problem building Terragear, when I run make this error appears :
>>>>>
>>>>>Making all in vpf
>>>>>make[3]: Entering directory `/usr/local/src/TerraGear-0.9.5/src/Lib/vpf'
>>>>>if g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/Include
>>>>>-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
>>>>>-I/usr/local/include -I/opt/gnome/include/glib-1.2
>>>>>-I/opt/gnome/lib/glib/include -I/usr/X11R6/include  -g -O2 -MT
>>>>>          
>>>>>
>>vpf-summary.o
>>    
>>
>>>>>-MD -MP -MF ".deps/vpf-summary.Tpo" -c -o vpf-summary.o vpf-summary.cxx; \
>>>>>then mv -f ".deps/vpf-summary.Tpo" ".deps/vpf-summary.Po"; else rm -f
>>>>>".deps/vpf-summary.Tpo"; exit 1; fi
>>>>>database.hxx: In function `int main(int, char**)':
>>>>>database.hxx:150: error: `VpfDataBase::VpfDataBase(const VpfDataBase&)' es
>>>>>privado
>>>>>vpf-summary.cxx:225: error: desde este contexto
>>>>>make[3]: *** [vpf-summary.o] Error 1
>>>>>make[3]: Leaving directory `/usr/local/src/TerraGear-0.9.5/src/Lib/vpf'
>>>>>make[2]: *** [all-recursive] Error 1
>>>>>make[2]: Leaving directory `/usr/local/src/TerraGear-0.9.5/src/Lib'
>>>>>make[1]: *** [all-recursive] Error 1
>>>>>make[1]: Leaving directory `/usr/local/src/TerraGear-0.9.5/src'
>>>>>make: *** [all-recursive] Error 1
>>>>>
>>>>>
>>>>>Can anybody help me?
>>>>>
>>>>>Thanks.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>          
>>>>>
>>>>Can I ask what version of the C++ compiler you running?  (i.e. run "g++
>>>>        
>>>>
>>-v")
>>    
>>
>>>>Thanks,
>>>>
>>>>Curt.
>>>>
>>>>--
>>>>Curtis Olson        http://www.flightgear.org/~curt
>>>>HumanFIRST Program  http://www.humanfirst.umn.edu/
>>>>FlightGear Project  http://www.flightgear.org
>>>>Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d
>>>>
>>>>
>>>>_______________________________________________
>>>>Terragear-devel mailing list
>>>>[email protected]
>>>>http://mail.flightgear.org/mailman/listinfo/terragear-devel
>>>>2f585eeea02e2c79d7b1d8c4963bae2d
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>Version 3.4.2
>>>
>>>
>>>      
>>>
>>I think I'm running v3.3.3 here ... it could be the v3.4.2 is doing
>>something a bit more strict than 3.3.3.
>>
>>Just as a quick test could you open up
>>../TerraGear/source/src/Lib/vpf/database.h and go to line #146 and
>>change the word "private" to "public".  Does that allow the compile to
>>proceed?
>>
>>Thanks,
>>
>>Curt.
>>
>>--
>>Curtis Olson        http://www.flightgear.org/~curt
>>HumanFIRST Program  http://www.humanfirst.umn.edu/
>>FlightGear Project  http://www.flightgear.org
>>Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d
>>
>>
>>_______________________________________________
>>Terragear-devel mailing list
>>[email protected]
>>http://mail.flightgear.org/mailman/listinfo/terragear-devel
>>2f585eeea02e2c79d7b1d8c4963bae2d
>>
>>    
>>
>
>
>Thanks very much, problem solved, I think everything is right.
>  
>

Ok, cool, talking to the original author of the code, I think we need to 
come up with a better fix for CVS, but this at least get's you (and 
other's with gcc 3.4.x) past this hurdle for now.

Regards,

Curt.

-- 
Curtis Olson        http://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d


_______________________________________________
Terragear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/terragear-devel
2f585eeea02e2c79d7b1d8c4963bae2d