william-zhangs-computer:~/opengl/cs415-ass4 infinitesecond$ make
g++ -lglut -lGLU -lGL -Wall -o output cs415-ass4.cpp
/usr/include/gmtl/Math.h:82: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'double gmtl::Math::abs(double)':
/usr/include/gmtl/Math.h:89: error: declaration of C function 'double gmtl::Math::abs(double)' conflicts with
/usr/include/gmtl/Math.h:87: error: previous declaration 'float gmtl::Math::abs(float)' here
/usr/include/gmtl/Math.h: In function 'int gmtl::Math::abs(int)':
/usr/include/gmtl/Math.h:91: error: declaration of C function 'int gmtl::Math::abs(int)' conflicts with
/usr/include/gmtl/Math.h:89: error: previous declaration 'double gmtl::Math::abs(double)' here
/usr/include/gmtl/Math.h: In function 'long int gmtl::Math::abs(long int)':
/usr/include/gmtl/Math.h:93: error: declaration of C function 'long int gmtl::Math::abs(long int)' conflicts with
/usr/include/gmtl/Math.h:91: error: previous declaration 'int gmtl::Math::abs(int)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:98: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'double gmtl::Math::ceil(double)':
/usr/include/gmtl/Math.h:107: error: declaration of C function 'double gmtl::Math::ceil(double)' conflicts with
/usr/include/gmtl/Math.h:99: error: previous declaration 'float gmtl::Math::ceil(float)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:113: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'double gmtl::Math::floor(double)':
/usr/include/gmtl/Math.h:122: error: declaration of C function 'double gmtl::Math::floor(double)' conflicts with
/usr/include/gmtl/Math.h:114: error: previous declaration 'float gmtl::Math::floor(float)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:128: error: template with C linkage
/usr/include/gmtl/Math.h:156: error: template with C linkage
/usr/include/gmtl/Math.h:166: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'double gmtl::Math::aCos(double)':
/usr/include/gmtl/Math.h:187: error: declaration of C function 'double gmtl::Math::aCos(double)' conflicts with
/usr/include/gmtl/Math.h:167: error: previous declaration 'float gmtl::Math::aCos(float)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:203: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'double gmtl::Math::aSin(double)':
/usr/include/gmtl/Math.h:224: error: declaration of C function 'double gmtl::Math::aSin(double)' conflicts with
/usr/include/gmtl/Math.h:204: error: previous declaration 'float gmtl::Math::aSin(float)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:240: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'float gmtl::Math::aTan(float)':
/usr/include/gmtl/Math.h:245: error: declaration of C function 'float gmtl::Math::aTan(float)' conflicts with
/usr/include/gmtl/Math.h:241: error: previous declaration 'double gmtl::Math::aTan(double)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:255: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'double gmtl::Math::aTan2(double, double)':
/usr/include/gmtl/Math.h:264: error: declaration of C function 'double gmtl::Math::aTan2(double, double)' conflicts with
/usr/include/gmtl/Math.h:256: error: previous declaration 'float gmtl::Math::aTan2(float, float)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:270: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'double gmtl::Math::cos(double)':
/usr/include/gmtl/Math.h:279: error: declaration of C function 'double gmtl::Math::cos(double)' conflicts with
/usr/include/gmtl/Math.h:271: error: previous declaration 'float gmtl::Math::cos(float)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:285: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'double gmtl::Math::exp(double)':
/usr/include/gmtl/Math.h:294: error: declaration of C function 'double gmtl::Math::exp(double)' conflicts with
/usr/include/gmtl/Math.h:286: error: previous declaration 'float gmtl::Math::exp(float)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:300: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'float gmtl::Math::log(float)':
/usr/include/gmtl/Math.h:305: error: declaration of C function 'float gmtl::Math::log(float)' conflicts with
/usr/include/gmtl/Math.h:301: error: previous declaration 'double gmtl::Math::log(double)' here
/usr/include/gmtl/Math.h: In function 'float gmtl::Math:
ow(float, float)':
/usr/include/gmtl/Math.h:318: error: declaration of C function 'float gmtl::Math:
ow(float, float)' conflicts with
/usr/include/gmtl/Math.h:314: error: previous declaration 'double gmtl::Math:
ow(double, double)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:328: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'float gmtl::Math::sin(float)':
/usr/include/gmtl/Math.h:333: error: declaration of C function 'float gmtl::Math::sin(float)' conflicts with
/usr/include/gmtl/Math.h:329: error: previous declaration 'double gmtl::Math::sin(double)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:343: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'float gmtl::Math::tan(float)':
/usr/include/gmtl/Math.h:348: error: declaration of C function 'float gmtl::Math::tan(float)' conflicts with
/usr/include/gmtl/Math.h:344: error: previous declaration 'double gmtl::Math::tan(double)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:358: error: template with C linkage
/usr/include/gmtl/Math.h:364: error: template with C linkage
/usr/include/gmtl/Math.h: In function 'double gmtl::Math::deg2Rad(double)':
/usr/include/gmtl/Math.h:454: error: declaration of C function 'double gmtl::Math::deg2Rad(double)' conflicts with
/usr/include/gmtl/Math.h:450: error: previous declaration 'float gmtl::Math::deg2Rad(float)' here
/usr/include/gmtl/Math.h: In function 'double gmtl::Math::rad2Deg(double)':
/usr/include/gmtl/Math.h:463: error: declaration of C function 'double gmtl::Math::rad2Deg(double)' conflicts with
/usr/include/gmtl/Math.h:459: error: previous declaration 'float gmtl::Math::rad2Deg(float)' here
/usr/include/gmtl/Math.h: At global scope:
/usr/include/gmtl/Math.h:474: error: template with C linkage
/usr/include/gmtl/Math.h:482: error: template with C linkage
/usr/include/gmtl/Math.h:488: error: template with C linkage
/usr/include/gmtl/Math.h:495: error: template with C linkage
/usr/include/gmtl/Math.h:501: error: template with C linkage
/usr/include/gmtl/Math.h:507: error: template with C linkage
/usr/include/gmtl/Math.h:514: error: template with C linkage
/usr/include/gmtl/Math.h:520: error: template with C linkage
/usr/include/gmtl/Math.h:526: error: template with C linkage
/usr/include/gmtl/Math.h:537: error: template with C linkage
/usr/include/gmtl/Math.h:554: error: template with C linkage
/usr/include/gmtl/Math.h:571: error: template with C linkage
/usr/include/gmtl/Math.h:591: error: template with C linkage
/usr/include/gmtl/Util/StaticAssert.h:14: error: template with C linkage
/usr/include/gmtl/Util/Meta.h:76: error: template with C linkage
/usr/include/gmtl/Util/Meta.h:85: error: template with C linkage
/usr/include/gmtl/Util/Meta.h:99: error: template with C linkage
/usr/include/gmtl/Util/Meta.h:109: error: template with C linkage
/usr/include/gmtl/Util/Meta.h:117: error: template with C linkage
/usr/include/gmtl/Util/Meta.h:127: error: template with C linkage
/usr/include/gmtl/VecBase.h:69: error: template with C linkage
/usr/include/gmtl/VecBase.h:123: error: template with C linkage
/usr/include/gmtl/VecBase.h:173: error: template with C linkage
/usr/include/gmtl/VecBase.h:291: error: template with C linkage
/usr/include/gmtl/Vec.h:62: error: template with C linkage
/usr/include/gmtl/Vec.h:106: error: template with C linkage
/usr/include/gmtl/Vec.h:143: error: template with C linkage
/usr/include/gmtl/Point.h:59: error: template with C linkage
/usr/include/gmtl/Point.h:94: error: template with C linkage
/usr/include/gmtl/Point.h:140: error: template with C linkage
/usr/include/gmtl/AABox.h:51: error: template with C linkage
/usr/include/gmtl/VecOpsMeta.h:51: error: template with C linkage
/usr/include/gmtl/VecOpsMeta.h:59: error: template with C linkage
/usr/include/gmtl/VecOpsMeta.h:67: error: template with C linkage
/usr/include/gmtl/VecOpsMeta.h:75: error: template with C linkage
/usr/include/gmtl/VecOpsMeta.h:83: error: template with C linkage
/usr/include/gmtl/VecOpsMeta.h:91: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:67: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:79: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:88: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:94: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:100: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:112: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:128: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:144: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:152: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:159: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:166: error: template with C linkage
/usr/include/gmtl/VecExprMeta.h:174: error: template with C linkage
/usr/include/gmtl/VecOps.h:77: error: template with C linkage
/usr/include/gmtl/VecOps.h:101: error: template with C linkage
/usr/include/gmtl/VecOps.h:132: error: template with C linkage
/usr/include/gmtl/VecOps.h:159: error: template with C linkage
/usr/include/gmtl/VecOps.h:190: error: template with C linkage
/usr/include/gmtl/VecOps.h:212: error: template with C linkage
/usr/include/gmtl/VecOps.h:245: error: template with C linkage
/usr/include/gmtl/VecOps.h:261: error: template with C linkage
/usr/include/gmtl/VecOps.h:306: error: template with C linkage
/usr/include/gmtl/VecOps.h:338: error: template with C linkage
/usr/include/gmtl/VecOps.h:380: error: template with C linkage
/usr/include/gmtl/VecOps.h:396: error: template with C linkage
/usr/include/gmtl/VecOps.h:415: error: template with C linkage
/usr/include/gmtl/VecOps.h:442: error: template with C linkage
/usr/include/gmtl/VecOps.h:468: error: template with C linkage
/usr/include/gmtl/VecOps.h:490: error: template with C linkage
/usr/include/gmtl/VecOps.h:522: error: template with C linkage
/usr/include/gmtl/VecOps.h:552: error: template with C linkage
/usr/include/gmtl/VecOps.h:581: error: template with C linkage
/usr/include/gmtl/VecOps.h:614: error: template with C linkage
/usr/include/gmtl/VecOps.h:633: error: template with C linkage
/usr/include/gmtl/AABoxOps.h:59: error: template with C linkage
/usr/include/gmtl/AABoxOps.h:76: error: template with C linkage
/usr/include/gmtl/AABoxOps.h:93: error: template with C linkage
/usr/include/gmtl/AxisAngle.h:64: error: template with C linkage
/usr/include/gmtl/AxisAngleOps.h:59: error: template with C linkage
/usr/include/gmtl/AxisAngleOps.h:79: error: template with C linkage
/usr/include/gmtl/AxisAngleOps.h:99: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:76: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:148: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:258: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:316: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:677: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:761: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:783: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:796: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:807: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:817: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:835: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:845: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:856: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:862: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:876: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:886: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:897: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:903: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:928: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:945: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:952: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:958: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:964: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:970: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_vector.h:976: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h: In function 'std::_Bit_const_iterator std:
perator+(ptrdiff_t, const std::_Bit_const_iterator&)':
/usr/include/c++/4.0.0/bits/stl_bvector.h:351: error: declaration of C function 'std::_Bit_const_iterator std:
perator+(ptrdiff_t, const std::_Bit_const_iterator&)' conflicts with
/usr/include/c++/4.0.0/bits/stl_bvector.h:265: error: previous declaration 'std::_Bit_iterator std:
perator+(ptrdiff_t, const std::_Bit_iterator&)' here
/usr/include/c++/4.0.0/bits/stl_bvector.h: At global scope:
/usr/include/c++/4.0.0/bits/stl_bvector.h:355: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:423: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:489: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:501: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:511: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:523: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:657: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:667: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:673: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:725: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:733: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:739: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:745: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:759: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:850: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:857: error: template with C linkage
/usr/include/c++/4.0.0/bits/stl_bvector.h:864: error: template with C linkage
/usr/include/gmtl/Sphere.h:50: error: template with C linkage
/usr/include/gmtl/Containment.h:69: error: template with C linkage
/usr/include/gmtl/Containment.h:89: error: template with C linkage
/usr/include/gmtl/Containment.h:107: error: template with C linkage
/usr/include/gmtl/Containment.h:140: error: template with C linkage
/usr/include/gmtl/Containment.h:178: error: template with C linkage
/usr/include/gmtl/Containment.h:290: error: template with C linkage
/usr/include/gmtl/Containment.h:309: error: template with C linkage
/usr/include/gmtl/Containment.h:333: error: template with C linkage
/usr/include/gmtl/Containment.h:362: error: template with C linkage
/usr/include/gmtl/Containment.h:393: error: template with C linkage
/usr/include/gmtl/Containment.h:422: error: template with C linkage
/usr/include/gmtl/Containment.h:473: error: template with C linkage
/usr/include/gmtl/Containment.h:498: error: template with C linkage
/usr/include/gmtl/EulerAngle.h:67: error: template with C linkage
/usr/include/gmtl/Quat.h:76: error: template with C linkage
/usr/include/gmtl/Coord.h:66: error: template with C linkage
/usr/include/gmtl/CoordOps.h:54: error: template with C linkage
/usr/include/gmtl/CoordOps.h:67: error: template with C linkage
/usr/include/gmtl/CoordOps.h:81: error: template with C linkage
/usr/include/gmtl/EulerAngleOps.h:58: error: template with C linkage
/usr/include/gmtl/EulerAngleOps.h:77: error: template with C linkage
/usr/include/gmtl/EulerAngleOps.h:97: error: template with C linkage
/usr/include/gmtl/QuatOps.h:55: error: template with C linkage
/usr/include/gmtl/QuatOps.h:104: error: template with C linkage
/usr/include/gmtl/QuatOps.h:120: error: template with C linkage
/usr/include/gmtl/QuatOps.h:131: error: template with C linkage
/usr/include/gmtl/QuatOps.h:146: error: template with C linkage
/usr/include/gmtl/QuatOps.h:156: error: template with C linkage
/usr/include/gmtl/QuatOps.h:170: error: template with C linkage
/usr/include/gmtl/QuatOps.h:181: error: template with C linkage
/usr/include/gmtl/QuatOps.h:191: error: template with C linkage
/usr/include/gmtl/QuatOps.h:202: error: template with C linkage
/usr/include/gmtl/QuatOps.h:212: error: template with C linkage
/usr/include/gmtl/QuatOps.h:222: error: template with C linkage
/usr/include/gmtl/QuatOps.h:236: error: template with C linkage
/usr/include/gmtl/QuatOps.h:247: error: template with C linkage
/usr/include/gmtl/QuatOps.h:256: error: template with C linkage
/usr/include/gmtl/QuatOps.h:270: error: template with C linkage
/usr/include/gmtl/QuatOps.h:281: error: template with C linkage
/usr/include/gmtl/QuatOps.h:290: error: template with C linkage
/usr/include/gmtl/QuatOps.h:304: error: template with C linkage
/usr/include/gmtl/QuatOps.h:315: error: template with C linkage
/usr/include/gmtl/QuatOps.h:327: error: template with C linkage
/usr/include/gmtl/QuatOps.h:343: error: template with C linkage
/usr/include/gmtl/QuatOps.h:355: error: template with C linkage
/usr/include/gmtl/QuatOps.h:366: error: template with C linkage
/usr/include/gmtl/QuatOps.h:393: error: template with C linkage
/usr/include/gmtl/QuatOps.h:405: error: template with C linkage
/usr/include/gmtl/QuatOps.h:419: error: template with C linkage
/usr/include/gmtl/QuatOps.h:444: error: template with C linkage
/usr/include/gmtl/QuatOps.h:469: error: template with C linkage
/usr/include/gmtl/QuatOps.h:492: error: template with C linkage
/usr/include/gmtl/QuatOps.h:499: error: template with C linkage
/usr/include/gmtl/QuatOps.h:526: error: template with C linkage
/usr/include/gmtl/QuatOps.h:583: error: template with C linkage
/usr/include/gmtl/QuatOps.h:628: error: template with C linkage
/usr/include/gmtl/QuatOps.h:640: error: template with C linkage
/usr/include/gmtl/QuatOps.h:648: error: template with C linkage
/usr/include/gmtl/QuatOps.h:662: error: template with C linkage
/usr/include/gmtl/Matrix.h:136: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:57: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:82: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:111: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:136: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:150: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:172: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:192: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:203: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:215: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:225: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:238: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:250: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:260: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:275: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:301: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:323: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:352: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:435: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:541: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:655: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:671: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:697: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:716: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:742: error: template with C linkage
/usr/include/gmtl/MatrixOps.h:755: error: template with C linkage
/usr/include/gmtl/Ray.h:55: error: template with C linkage
/usr/include/gmtl/LineSeg.h:57: error: template with C linkage
/usr/include/gmtl/Xforms.h:69: error: template with C linkage
/usr/include/gmtl/Xforms.h:103: error: template with C linkage
/usr/include/gmtl/Xforms.h:117: error: template with C linkage
/usr/include/gmtl/Xforms.h:142: error: template with C linkage
/usr/include/gmtl/Xforms.h:168: error: template with C linkage
/usr/include/gmtl/Xforms.h:187: error: template with C linkage
/usr/include/gmtl/Xforms.h:228: error: template with C linkage
/usr/include/gmtl/Xforms.h:251: error: template with C linkage
/usr/include/gmtl/Xforms.h:274: error: template with C linkage
/usr/include/gmtl/Xforms.h:293: error: template with C linkage
/usr/include/gmtl/Xforms.h:334: error: template with C linkage
/usr/include/gmtl/Xforms.h:348: error: template with C linkage
/usr/include/gmtl/Xforms.h:363: error: template with C linkage
/usr/include/gmtl/Xforms.h:378: error: template with C linkage
/usr/include/gmtl/Xforms.h:396: error: template with C linkage
/usr/include/gmtl/Xforms.h:413: error: template with C linkage
/usr/include/gmtl/Xforms.h:428: error: template with C linkage
/usr/include/gmtl/Xforms.h:443: error: template with C linkage
/usr/include/gmtl/Xforms.h:460: error: template with C linkage
/usr/include/gmtl/Xforms.h:475: error: template with C linkage
/usr/include/gmtl/Generate.h:66: error: template with C linkage
/usr/include/gmtl/Generate.h:74: error: template with C linkage
/usr/include/gmtl/Generate.h:94: error: template with C linkage
/usr/include/gmtl/Generate.h:111: error: template with C linkage
/usr/include/gmtl/Generate.h:154: error: template with C linkage
/usr/include/gmtl/Generate.h:167: error: template with C linkage
/usr/include/gmtl/Generate.h:177: error: template with C linkage
/usr/include/gmtl/Generate.h:190: error: template with C linkage
/usr/include/gmtl/Generate.h:202: error: template with C linkage
/usr/include/gmtl/Generate.h:213: error: template with C linkage
/usr/include/gmtl/Generate.h:234: error: template with C linkage
/usr/include/gmtl/Generate.h:244: error: template with C linkage
/usr/include/gmtl/Generate.h:298: error: template with C linkage
/usr/include/gmtl/Generate.h:308: error: template with C linkage
/usr/include/gmtl/Generate.h:370: error: template with C linkage
/usr/include/gmtl/Generate.h:392: error: template with C linkage
/usr/include/gmtl/Generate.h:437: error: template with C linkage
/usr/include/gmtl/Generate.h:444: error: template with C linkage
/usr/include/gmtl/Generate.h:467: error: template with C linkage
/usr/include/gmtl/Generate.h:629: error: template with C linkage
/usr/include/gmtl/Generate.h:646: error: template with C linkage
/usr/include/gmtl/Generate.h:682: error: template with C linkage
/usr/include/gmtl/Generate.h:718: error: template with C linkage
/usr/include/gmtl/Generate.h:762: error: template with C linkage
/usr/include/gmtl/Generate.h:799: error: template with C linkage
/usr/include/gmtl/Generate.h:815: error: template with C linkage
/usr/include/gmtl/Generate.h:833: error: template with C linkage
/usr/include/gmtl/Generate.h:846: error: template with C linkage
/usr/include/gmtl/Generate.h:881: error: template with C linkage
/usr/include/gmtl/Generate.h:936: error: template with C linkage
/usr/include/gmtl/Generate.h:946: error: template with C linkage
/usr/include/gmtl/Generate.h:957: error: template with C linkage
/usr/include/gmtl/Generate.h:990: error: template with C linkage
/usr/include/gmtl/Generate.h:1023: error: template with C linkage
/usr/include/gmtl/Generate.h:1067: error: template with C linkage
/usr/include/gmtl/Generate.h:1103: error: template with C linkage
/usr/include/gmtl/Generate.h:1137: error: template with C linkage
/usr/include/gmtl/Generate.h:1149: error: template with C linkage
/usr/include/gmtl/Generate.h:1163: error: template with C linkage
/usr/include/gmtl/Generate.h:1173: error: template with C linkage
/usr/include/gmtl/Generate.h:1217: error: template with C linkage
/usr/include/gmtl/Generate.h:1238: error: template with C linkage
/usr/include/gmtl/Generate.h:1272: error: template with C linkage
/usr/include/gmtl/Generate.h:1283: error: template with C linkage
/usr/include/gmtl/Generate.h:1306: error: template with C linkage
/usr/include/gmtl/Generate.h:1319: error: template with C linkage
/usr/include/gmtl/Generate.h:1344: error: template with C linkage
/usr/include/gmtl/Generate.h:1368: error: template with C linkage
/usr/include/gmtl/Generate.h:1381: error: template with C linkage
/usr/include/gmtl/Generate.h:1393: error: template with C linkage
/usr/include/gmtl/Generate.h:1442: error: template with C linkage
/usr/include/gmtl/Generate.h:1459: error: template with C linkage
/usr/include/gmtl/Generate.h:1474: error: template with C linkage
/usr/include/gmtl/Generate.h:1491: error: template with C linkage
/usr/include/gmtl/Plane.h:65: error: template with C linkage
/usr/include/gmtl/Tri.h:52: error: template with C linkage
/usr/include/gmtl/PlaneOps.h:59: error: template with C linkage
/usr/include/gmtl/PlaneOps.h:76: error: template with C linkage
/usr/include/gmtl/PlaneOps.h:102: error: template with C linkage
/usr/include/gmtl/PlaneOps.h:127: error: template with C linkage
/usr/include/gmtl/PlaneOps.h:144: error: template with C linkage
/usr/include/gmtl/PlaneOps.h:168: error: template with C linkage
/usr/include/gmtl/PlaneOps.h:183: error: template with C linkage
/usr/include/gmtl/PlaneOps.h:201: error: template with C linkage
/usr/include/gmtl/Intersection.h:64: error: template with C linkage
/usr/include/gmtl/Intersection.h:89: error: template with C linkage
/usr/include/gmtl/Intersection.h:121: error: template with C linkage
/usr/include/gmtl/Intersection.h:195: error: template with C linkage
/usr/include/gmtl/Intersection.h:314: error: template with C linkage
/usr/include/gmtl/Intersection.h:358: error: template with C linkage
/usr/include/gmtl/Intersection.h:373: error: template with C linkage
/usr/include/gmtl/Intersection.h:406: error: template with C linkage
/usr/include/gmtl/Intersection.h:428: error: template with C linkage
/usr/include/gmtl/Intersection.h:484: error: template with C linkage
/usr/include/gmtl/Intersection.h:516: error: template with C linkage
/usr/include/gmtl/Intersection.h:528: error: template with C linkage
/usr/include/gmtl/Intersection.h:548: error: template with C linkage
/usr/include/gmtl/Intersection.h:616: error: template with C linkage
/usr/include/gmtl/Intersection.h:649: error: template with C linkage
/usr/include/gmtl/Intersection.h:706: error: template with C linkage
/usr/include/gmtl/Intersection.h:745: error: template with C linkage
/usr/include/gmtl/Intersection.h:776: error: template with C linkage
/usr/include/gmtl/Intersection.h:796: error: template with C linkage
/usr/include/gmtl/Intersection.h:856: error: template with C linkage
/usr/include/gmtl/RayOps.h:52: error: template with C linkage
/usr/include/gmtl/RayOps.h:67: error: template with C linkage
/usr/include/gmtl/RayOps.h:87: error: template with C linkage
/usr/include/gmtl/LineSegOps.h:53: error: template with C linkage
/usr/include/gmtl/LineSegOps.h:70: error: template with C linkage
/usr/include/gmtl/LineSegOps.h:85: error: template with C linkage
/usr/include/gmtl/Output.h:59: error: template with C linkage
/usr/include/gmtl/Output.h:70: error: template with C linkage
/usr/include/gmtl/Output.h:122: error: template with C linkage
/usr/include/gmtl/Output.h:139: error: template with C linkage
/usr/include/gmtl/Output.h:162: error: template with C linkage
/usr/include/gmtl/Output.h:187: error: template with C linkage
/usr/include/gmtl/Output.h:209: error: template with C linkage
/usr/include/gmtl/Output.h:230: error: template with C linkage
/usr/include/gmtl/Output.h:251: error: template with C linkage
/usr/include/gmtl/Output.h:272: error: template with C linkage
/usr/include/gmtl/Output.h:294: error: template with C linkage
/usr/include/gmtl/Output.h:315: error: template with C linkage
/usr/include/gmtl/Output.h:322: error: template with C linkage
/usr/include/gmtl/SphereOps.h:59: error: template with C linkage
/usr/include/gmtl/SphereOps.h:73: error: template with C linkage
/usr/include/gmtl/SphereOps.h:90: error: template with C linkage
/usr/include/gmtl/TriOps.h:57: error: template with C linkage
/usr/include/gmtl/TriOps.h:71: error: template with C linkage
/usr/include/gmtl/TriOps.h:93: error: template with C linkage
/usr/include/gmtl/TriOps.h:109: error: template with C linkage
/usr/include/gmtl/TriOps.h:127: error: template with C linkage
cs415-ass4.cpp: In function 'int getShadow(int, gmtl:
oint3f)':
cs415-ass4.cpp:67: warning: unused variable 'avg'
cs415-ass4.cpp:68: warning: unused variable 'datapoints'
cs415-ass4.cpp: In function 'void scan()':
cs415-ass4.cpp:215: warning: unused variable 'loadtenpercent'
cs415-ass4.cpp:216: warning: unused variable 'loadcurr'
make: *** [all] Error 1
william-zhangs-computer:~/opengl/cs415-ass4 infinitesecond$