Created
February 3, 2015 12:22
-
-
Save paulklemm/61b2825333c70e5fc3ca to your computer and use it in GitHub Desktop.
xshade 1.1 make error. OSX 10.102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xshade-1.1/ make | |
mkdir OBJ.Darwin64 | |
Compiling xshade-main.cc | |
clang: warning: argument unused during compilation: '-fopenmp' | |
In file included from xshade-main.cc:12: | |
./xsh.h:18:17: error: unknown type name 'vec'; did you mean 'trimesh::vec'? | |
vector< vector<vec> > snormals; | |
^~~ | |
trimesh::vec | |
../trimesh2/include/Vec.h:420:22: note: 'trimesh::vec' declared here | |
typedef Vec<3,float> vec; | |
^ | |
In file included from xshade-main.cc:12: | |
./xsh.h:19:17: error: unknown type name 'vec'; did you mean 'trimesh::vec'? | |
vector< vector<vec> > spdir; | |
^~~ | |
trimesh::vec | |
../trimesh2/include/Vec.h:420:22: note: 'trimesh::vec' declared here | |
typedef Vec<3,float> vec; | |
^ | |
In file included from xshade-main.cc:12: | |
./xsh.h:23:37: error: unknown type name 'TriMesh'; did you mean 'trimesh::TriMesh'? | |
bool xsh_read(const char *filename, TriMesh *mesh, XSHdata *data); | |
^~~~~~~ | |
trimesh::TriMesh | |
../trimesh2/include/TriMesh.h:23:7: note: 'trimesh::TriMesh' declared here | |
class TriMesh { | |
^ | |
In file included from xshade-main.cc:12: | |
./xsh.h:24:38: error: unknown type name 'TriMesh'; did you mean 'trimesh::TriMesh'? | |
void xsh_write(const char *filename, TriMesh *mesh, XSHdata *data); | |
^~~~~~~ | |
trimesh::TriMesh | |
../trimesh2/include/TriMesh.h:23:7: note: 'trimesh::TriMesh' declared here | |
class TriMesh { | |
^ | |
In file included from xshade-main.cc:13: | |
./shade.h:13:32: error: unknown type name 'vec'; did you mean 'trimesh::vec'? | |
void shade_cosine(const vector<vec> &normals, const vec &lightdir, | |
^~~ | |
trimesh::vec | |
../trimesh2/include/Vec.h:420:22: note: 'trimesh::vec' declared here | |
typedef Vec<3,float> vec; | |
^ | |
In file included from xshade-main.cc:13: | |
./shade.h:13:53: error: unknown type name 'vec'; did you mean 'trimesh::vec'? | |
void shade_cosine(const vector<vec> &normals, const vec &lightdir, | |
^~~ | |
trimesh::vec | |
../trimesh2/include/Vec.h:420:22: note: 'trimesh::vec' declared here | |
typedef Vec<3,float> vec; | |
^ | |
In file included from xshade-main.cc:13: | |
./shade.h:16:30: error: unknown type name 'vec'; did you mean 'trimesh::vec'? | |
void shade_cntr(const vector<vec> &normals, const vec &viewdir, float strength, | |
^~~ | |
trimesh::vec | |
../trimesh2/include/Vec.h:420:22: note: 'trimesh::vec' declared here | |
typedef Vec<3,float> vec; | |
^ | |
In file included from xshade-main.cc:13: | |
./shade.h:16:51: error: unknown type name 'vec'; did you mean 'trimesh::vec'? | |
void shade_cntr(const vector<vec> &normals, const vec &viewdir, float strength, | |
^~~ | |
trimesh::vec | |
../trimesh2/include/Vec.h:420:22: note: 'trimesh::vec' declared here | |
typedef Vec<3,float> vec; | |
^ | |
In file included from xshade-main.cc:13: | |
./shade.h:18:30: error: unknown type name 'TriMesh'; did you mean 'trimesh::TriMesh'? | |
void shade_exaggerated(const TriMesh *mesh, const XSHdata *data, | |
^~~~~~~ | |
trimesh::TriMesh | |
../trimesh2/include/TriMesh.h:23:7: note: 'trimesh::TriMesh' declared here | |
class TriMesh { | |
^ | |
In file included from xshade-main.cc:13: | |
./shade.h:19:16: error: unknown type name 'vec'; did you mean 'trimesh::vec'? | |
const vec &lightdir, int use_pdir, | |
^~~ | |
trimesh::vec | |
../trimesh2/include/Vec.h:420:22: note: 'trimesh::vec' declared here | |
typedef Vec<3,float> vec; | |
^ | |
In file included from xshade-main.cc:13: | |
./shade.h:21:16: error: unknown type name 'point'; did you mean 'trimesh::point'? | |
const point &attention, float attention_r, | |
^~~~~ | |
trimesh::point | |
../trimesh2/include/Vec.h:421:22: note: 'trimesh::point' declared here | |
typedef Vec<3,float> point; | |
^ | |
In file included from xshade-main.cc:13: | |
./shade.h:23:27: error: unknown type name 'TriMesh'; did you mean 'trimesh::TriMesh'? | |
void shade_meancurv(const TriMesh *mesh, const XSHdata *data, | |
^~~~~~~ | |
trimesh::TriMesh | |
../trimesh2/include/TriMesh.h:23:7: note: 'trimesh::TriMesh' declared here | |
class TriMesh { | |
^ | |
In file included from xshade-main.cc:13: | |
./shade.h:26:13: error: unknown type name 'point'; did you mean 'trimesh::point'? | |
const point &attention, float attention_r, | |
^~~~~ | |
trimesh::point | |
../trimesh2/include/Vec.h:421:22: note: 'trimesh::point' declared here | |
typedef Vec<3,float> point; | |
^ | |
In file included from xshade-main.cc:16: | |
./GLee.h:765:14: error: typedef redefinition with different types ('int' vs 'void *') | |
typedef int GLhandleARB; | |
^ | |
/System/Library/Frameworks/OpenGL.framework/Headers/gltypes.h:28:18: note: previous definition is here | |
typedef void *GLhandleARB; | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:469:46: warning: 'glutDisplayFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
void set_glutDisplayFunc(void (*f)(void)) {glutDisplayFunc(f);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:505:22: note: 'glutDisplayFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutDisplayFunc(void (*func)(void)) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:471:9: warning: 'glutTimerFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
{ ::glutTimerFunc(millis,f,value);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:514:22: note: 'glutTimerFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutTimerFunc(unsigned int millis, void (*func)(int value), int value) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:472:51: warning: 'glutOverlayDisplayFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
void set_glutOverlayDisplayFunc(void(*f)(void)){glutOverlayDisplayFunc(f);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:527:22: note: 'glutOverlayDisplayFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutOverlayDisplayFunc(void (*func)(void)) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:473:49: warning: 'glutSpaceballMotionFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
void set_glutSpaceballMotionFunc(Int3_CB f) {glutSpaceballMotionFunc(f);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:518:22: note: 'glutSpaceballMotionFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutSpaceballMotionFunc(void (*func)(int x, int y, int z)) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:474:49: warning: 'glutSpaceballRotateFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
void set_glutSpaceballRotateFunc(Int3_CB f) {glutSpaceballRotateFunc(f);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:519:22: note: 'glutSpaceballRotateFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutSpaceballRotateFunc(void (*func)(int x, int y, int z)) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:475:49: warning: 'glutSpaceballButtonFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
void set_glutSpaceballButtonFunc(Int2_CB f) {glutSpaceballButtonFunc(f);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:520:22: note: 'glutSpaceballButtonFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutSpaceballButtonFunc(void (*func)(int button, int state)) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:476:52: warning: 'glutTabletMotionFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
void set_glutTabletMotionFunc(Int2_CB f) {glutTabletMotionFunc(f);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:523:22: note: 'glutTabletMotionFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutTabletMotionFunc(void (*func)(int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:477:52: warning: 'glutTabletButtonFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
void set_glutTabletButtonFunc(Int4_CB f) {glutTabletButtonFunc(f);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:524:22: note: 'glutTabletButtonFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutTabletButtonFunc(void (*func)(int button, int state, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:479:54: warning: 'glutMenuStatusFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
void set_glutMenuStatusFunc(Int3_CB f) {glutMenuStatusFunc(f);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:526:22: note: 'glutMenuStatusFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutMenuStatusFunc(void (*func)(int status, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:480:55: warning: 'glutMenuStateFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
void set_glutMenuStateFunc(Int1_CB f) {glutMenuStateFunc(f);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:515:22: note: 'glutMenuStateFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutMenuStateFunc(void (*func)(int state)) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:481:55: warning: 'glutButtonBoxFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
void set_glutButtonBoxFunc(Int2_CB f) {glutButtonBoxFunc(f);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:521:22: note: 'glutButtonBoxFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutButtonBoxFunc(void (*func)(int button, int state)) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:482:59: warning: 'glutDialsFunc' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
void set_glutDialsFunc(Int2_CB f) {glutDialsFunc(f);}; | |
^ | |
/System/Library/Frameworks/GLUT.framework/Headers/glut.h:522:22: note: 'glutDialsFunc' has been explicitly marked deprecated here | |
extern void APIENTRY glutDialsFunc(void (*func)(int dial, int value)) OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:646:37: warning: unused parameter 'x' [-Wunused-parameter] | |
void adjust_glut_xy( int &x, int &y ) { y = h-y; }; | |
^ | |
../trimesh2/include/GL/glui.h:725:39: warning: unused parameter 'local_x' [-Wunused-parameter] | |
virtual int mouse_down_handler( int local_x, int local_y ) | |
^ | |
../trimesh2/include/GL/glui.h:725:52: warning: unused parameter 'local_y' [-Wunused-parameter] | |
virtual int mouse_down_handler( int local_x, int local_y ) | |
^ | |
../trimesh2/include/GL/glui.h:727:37: warning: unused parameter 'local_x' [-Wunused-parameter] | |
virtual int mouse_up_handler( int local_x, int local_y, int inside ) | |
^ | |
../trimesh2/include/GL/glui.h:727:50: warning: unused parameter 'local_y' [-Wunused-parameter] | |
virtual int mouse_up_handler( int local_x, int local_y, int inside ) | |
^ | |
../trimesh2/include/GL/glui.h:727:63: warning: unused parameter 'inside' [-Wunused-parameter] | |
virtual int mouse_up_handler( int local_x, int local_y, int inside ) | |
^ | |
../trimesh2/include/GL/glui.h:729:44: warning: unused parameter 'local_x' [-Wunused-parameter] | |
virtual int mouse_held_down_handler( int local_x, int local_y, int inside) | |
^ | |
../trimesh2/include/GL/glui.h:729:57: warning: unused parameter 'local_y' [-Wunused-parameter] | |
virtual int mouse_held_down_handler( int local_x, int local_y, int inside) | |
^ | |
../trimesh2/include/GL/glui.h:729:70: warning: unused parameter 'inside' [-Wunused-parameter] | |
virtual int mouse_held_down_handler( int local_x, int local_y, int inside) | |
^ | |
../trimesh2/include/GL/glui.h:731:42: warning: unused parameter 'key' [-Wunused-parameter] | |
virtual int key_handler( unsigned char key, int modifiers ) | |
^ | |
../trimesh2/include/GL/glui.h:731:51: warning: unused parameter 'modifiers' [-Wunused-parameter] | |
virtual int key_handler( unsigned char key, int modifiers ) | |
^ | |
../trimesh2/include/GL/glui.h:733:36: warning: unused parameter 'key' [-Wunused-parameter] | |
virtual int special_handler( int key,int modifiers ) | |
^ | |
../trimesh2/include/GL/glui.h:733:44: warning: unused parameter 'modifiers' [-Wunused-parameter] | |
virtual int special_handler( int key,int modifiers ) | |
^ | |
../trimesh2/include/GL/glui.h:738:32: warning: unused parameter 'state' [-Wunused-parameter] | |
virtual int mouse_over( int state, int x, int y ) { return false; }; | |
^ | |
../trimesh2/include/GL/glui.h:738:43: warning: unused parameter 'x' [-Wunused-parameter] | |
virtual int mouse_over( int state, int x, int y ) { return false; }; | |
^ | |
../trimesh2/include/GL/glui.h:738:50: warning: unused parameter 'y' [-Wunused-parameter] | |
virtual int mouse_over( int state, int x, int y ) { return false; }; | |
^ | |
../trimesh2/include/GL/glui.h:742:30: warning: unused parameter 'how' [-Wunused-parameter] | |
virtual void activate( int how ) { active = true; }; | |
^ | |
../trimesh2/include/GL/glui.h:783:38: warning: unused parameter 't' [-Wunused-parameter] | |
virtual void set_text( const char *t ) {}; | |
^ | |
../trimesh2/include/GL/glui.h:1570:3: warning: 'GLUquadricObj' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
GLUquadricObj *quadObj; | |
^ | |
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:224:26: note: 'GLUquadricObj' has been explicitly marked deprecated here | |
typedef class GLUquadric GLUquadricObj OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:18: | |
../trimesh2/include/GL/glui.h:1620:3: warning: 'GLUquadricObj' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations] | |
GLUquadricObj *quadObj; | |
^ | |
/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:224:26: note: 'GLUquadricObj' has been explicitly marked deprecated here | |
typedef class GLUquadric GLUquadricObj OPENGL_DEPRECATED(10_0, 10_9); | |
^ | |
In file included from xshade-main.cc:19: | |
./Im.h:36:14: error: unknown type name 'Color'; did you mean 'trimesh::Color'? | |
std::vector<Color> pix; | |
^~~~~ | |
trimesh::Color | |
../trimesh2/include/Color.h:32:7: note: 'trimesh::Color' declared here | |
class Color : public Vec<3,float> { | |
^ | |
In file included from xshade-main.cc:19: | |
./Im.h:47:27: error: unknown type name 'Color'; did you mean 'trimesh::Color'? | |
Im(int w_, int h_, const Color &col) : pix(w_*h_, col), | |
^~~~~ | |
trimesh::Color | |
../trimesh2/include/Color.h:32:7: note: 'trimesh::Color' declared here | |
class Color : public Vec<3,float> { | |
^ | |
In file included from xshade-main.cc:19: | |
./Im.h:74:8: error: unknown type name 'Color'; did you mean 'trimesh::Color'? | |
const Color &operator [] (int i) const | |
^~~~~ | |
trimesh::Color | |
../trimesh2/include/Color.h:32:7: note: 'trimesh::Color' declared here | |
class Color : public Vec<3,float> { | |
^ | |
In file included from xshade-main.cc:19: | |
./Im.h:76:2: error: unknown type name 'Color'; did you mean 'trimesh::Color'? | |
Color &operator [] (int i) | |
^~~~~ | |
trimesh::Color | |
../trimesh2/include/Color.h:32:7: note: 'trimesh::Color' declared here | |
class Color : public Vec<3,float> { | |
^ | |
In file included from xshade-main.cc:19: | |
./Im.h:80:8: error: unknown type name 'Color'; did you mean 'trimesh::Color'? | |
const Color &operator () (int x, int y) const | |
^~~~~ | |
trimesh::Color | |
../trimesh2/include/Color.h:32:7: note: 'trimesh::Color' declared here | |
class Color : public Vec<3,float> { | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
32 warnings and 20 errors generated. | |
make: *** [OBJ.Darwin64/xshade-main.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment