Re: [Flightgear-devel] SG and FG build breaks on mac os x.3 (10.3)

2005-02-11 Thread Erik Hofman
[EMAIL PROTECTED] wrote:
Various mac os x specific build breaks with Saturday 5 february 2005  
cvs source.

Flightgear:
The src/input Makefile needs:
base_LIBS = -framework IOKit -framework CoreFoundation
to successfully build fgjs and js_demo on mac os x.3 (10.3)
This should be fixed in CVS (make sure you run autogen.sh and configure 
again).
also:
/utils/modeller
g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include
-I/Users/ima/Desktop/FlightGear/fgdev9.8/include  -g -O2 -D_REENTRANT  
-c -o normalmap.o `test -f 'normalmap.cxx' || echo './'`normalmap.cxx
normalmap.cxx: In function `int main(int, char**)':
normalmap.cxx:82: error: `err_str' undeclared (first use this function)
You have to make sure you are using the latest version of SimGear (and 
have it's header files installed). There where some definitions added to 
the SGTexture class.

SimGear:
g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..  
-DGLX_GLXEXT_PROTOTYPES   
-I/Users/ima/Desktop/FlightGear/fgdev9.8/include  -g -O2 -D_REENTRANT  
-c -o RenderTexture.o `test -f 'RenderTexture.cpp' || echo  
'./'`RenderTexture.cpp
I think I've fixed this one also in CVS now.
Erik
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] SG and FG build breaks on mac os x.3 (10.3)

2005-02-06 Thread ima . sudonim
Various mac os x specific build breaks with Saturday 5 february 2005  
cvs source.

Flightgear:
The src/input Makefile needs:
base_LIBS = -framework IOKit -framework CoreFoundation
to successfully build fgjs and js_demo on mac os x.3 (10.3)
also:
/utils/modeller
g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include
-I/Users/ima/Desktop/FlightGear/fgdev9.8/include  -g -O2 -D_REENTRANT  
-c -o normalmap.o `test -f 'normalmap.cxx' || echo './'`normalmap.cxx
normalmap.cxx: In function `int main(int, char**)':
normalmap.cxx:82: error: `err_str' undeclared (first use this function)
normalmap.cxx:82: error: (Each undeclared identifier is reported only  
once for
   each function it appears in.)
normalmap.cxx:98: error: `make_normalmap' undeclared (first use this  
function)
normalmap.cxx:99: error: `write_texture' undeclared (first use this  
function)
make[2]: *** [normalmap.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

SimGear:
g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..  
-DGLX_GLXEXT_PROTOTYPES   
-I/Users/ima/Desktop/FlightGear/fgdev9.8/include  -g -O2 -D_REENTRANT  
-c -o RenderTexture.o `test -f 'RenderTexture.cpp' || echo  
'./'`RenderTexture.cpp
In file included from  
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ 
QD.framework/Headers/QD.h:42,
 from  
/System/Library/Frameworks/ApplicationServices.framework/Headers/ 
ApplicationServices.h:30,
 from  
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24,
 from  
/System/Library/Frameworks/AGL.framework/Headers/agl.h:23,
 from ../../simgear/screen/RenderTexture.h:56,
 from RenderTexture.cpp:58:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ 
QD.framework/Headers/Quickdraw.h:262: error: conflicting
   types for `struct Cursor'
/usr/include/X11/X.h:108: error: previous declaration as `typedef XID  
Cursor'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ 
QD.framework/Headers/Quickdraw.h:267: error: conflicting
   types for `typedef struct Cursor Cursor'
/usr/include/X11/X.h:108: error: previous declaration as `typedef XID  
Cursor'
RenderTexture.cpp: In member function `bool  
RenderTexture::_Invalidate()':
RenderTexture.cpp:582: warning: invalid conversion from `unsigned int*'  
to `
   const GLuint*'
RenderTexture.cpp:588: warning: invalid conversion from `unsigned int*'  
to `
   const GLuint*'
RenderTexture.cpp: In member function `bool RenderTexture::Resize(int,  
int)':
RenderTexture.cpp:729: warning: invalid conversion from `unsigned int*'  
to `
   const GLuint*'
RenderTexture.cpp:731: warning: invalid conversion from `unsigned int*'  
to `
   const GLuint*'
RenderTexture.cpp: In member function `bool
   RenderTexture::_InitializeTextures()':
RenderTexture.cpp:1825: warning: invalid conversion from `unsigned  
int*' to `
   GLuint*'
RenderTexture.cpp:1936: warning: invalid conversion from `unsigned  
int*' to `
   GLuint*'
make[2]: *** [RenderTexture.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1

FYI,
Thank you!
ima
___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d