Hi john Van Vliet,
I'd like to thank you for the advice. I had put in
in the top of /thirdparty/Eigen/Eigen/src/Core/util/Memory.h like this:
Code: Select all
#include <cstddef>
#ifndef EIGEN_MEMORY_H
#define EIGEN_MEMORY_H
// FreeBSD 6 seems to have 16-byte aligned malloc
// See http://svn.freebsd.org/viewvc/base/stable/6/lib/libc/stdlib/malloc.c?view=markup
// FreeBSD 7 seems to have 16-byte aligned malloc except on ARM and MIPS architectures
// See http://svn.freebsd.org/viewvc/base/stable/7/lib/libc/stdlib/malloc.c?view=markup
#if defined(__FreeBSD__) && !defined(__arm__) && !defined(__mips__)
#define EIGEN_FREEBSD_MALLOC_ALREADY_ALIGNED 1
#else
#define EIGEN_FREEBSD_MALLOC_ALREADY_ALIGNED 0
#endif]
the addition of the code is on line 26 in that file. The full path is: "/trunk/celestia/thirdparty/Eigen/Eigen/src/Core/util/Memory.h"
The compilation got me a lot further than before,but unfortunately,I've hit another snag.
Code: Select all
est -f 'dsodb.cpp' || echo './'`dsodb.cpp
In file included from ../../src/celengine/vertexprog.h:14:0,
from ../../src/celengine/glcontext.h:13,
from ../../src/celengine/deepskyobj.h:18,
from ../../src/celengine/dsoname.h:17,
from ../../src/celengine/dsodb.h:18,
from dsodb.cpp:23:
../../thirdparty/glew/include/GL/glew.h:1606:9: error: ‘ptrdiff_t’ does not name a type
../../thirdparty/glew/include/GL/glew.h:1607:9: error: ‘ptrdiff_t’ does not name a type
../../thirdparty/glew/include/GL/glew.h:1611:65: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:1612:68: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:1612:85: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:1620:71: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:1620:88: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:2548:82: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:2548:99: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:2792:96: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:2792:117: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:2792:139: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:3357:77: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:3357:94: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:3358:73: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:3358:90: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:4283:99: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:4283:116: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:4451:9: error: ‘ptrdiff_t’ does not name a type
../../thirdparty/glew/include/GL/glew.h:4452:9: error: ‘ptrdiff_t’ does not name a type
../../thirdparty/glew/include/GL/glew.h:4455:68: error: ‘GLsizeiptrARB’ has not been declared
../../thirdparty/glew/include/GL/glew.h:4456:71: error: ‘GLintptrARB’ has not been declared
../../thirdparty/glew/include/GL/glew.h:4456:91: error: ‘GLsizeiptrARB’ has not been declared
../../thirdparty/glew/include/GL/glew.h:4461:74: error: ‘GLintptrARB’ has not been declared
../../thirdparty/glew/include/GL/glew.h:4461:94: error: ‘GLsizeiptrARB’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5362:18: error: ISO C++ forbids declaration of ‘GLintptr’ with no type [-fpermissive]
../../thirdparty/glew/include/GL/glew.h:5362:18: error: typedef ‘GLintptr’ is initialized (use decltype instead)
../../thirdparty/glew/include/GL/glew.h:5362:32: error: ‘PFNGLGETUNIFORMOFFSETEXTPROC’ was not declared in this scope
In file included from ../../src/celengine/vertexprog.h:14:0,
from ../../src/celengine/glcontext.h:13,
from ../../src/celengine/deepskyobj.h:18,
from ../../src/celengine/dsoname.h:17,
from ../../src/celengine/dsodb.h:18,
from dsodb.cpp:23:
../../thirdparty/glew/include/GL/glew.h:5705:85: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5705:102: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5732:79: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5732:96: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5755:81: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5755:98: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5800:73: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5801:76: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5801:93: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5802:104: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5802:125: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5802:147: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5874:135: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5875:113: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5876:126: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5877:123: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5878:159: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5879:124: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5880:144: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5881:138: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5882:157: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5883:178: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:5884:136: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:7682:103: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:7683:102: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:7683:119: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:9514:102: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:9515:101: error: ‘GLintptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:9515:118: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:9629:109: error: ‘GLsizeiptr’ has not been declared
../../thirdparty/glew/include/GL/glew.h:11931:17: error: ‘PFNGLGETUNIFORMOFFSETEXTPROC’ does not name a type
make[3]: *** [libcelengine_a-dsodb.o] Error 1
make[3]: Leaving directory `/home/steve/trunk/celestia/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steve/trunk/celestia/src'
make[1]: *** [all-recursive] Error 1
I've had a look at the ./configure options to see if I could direct the compilation to my packaged verion of Mesa,or point it to my git version.
Regards,
NIGHTCAST2,000