Hey all, I’m trying to get panda on my Fedora 9 box and having a little bit of trouble.
I originally had some problems and found the fix for the first ones here: discourse.panda3d.org/viewtopic.php?t=4502
Now I ran into a few more which I don’t understand:
Generating dependencies...
bison -y -d -obuilt/tmp/cppBison.yxx.c -p cppyy dtool/src/cppparser/cppBison.yxx
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/cppParser_cppBison.o -I"/usr/include/python2.5" -I"built/tmp" -I"built/include" -Idtool/src/cppparser -O2 built/tmp/cppBison.yxx.cxx
CAUTION: file dependencies changed: ['built/include/cppBison.h']
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/cppParser_composite.o -I"/usr/include/python2.5" -I"built/tmp" -I"built/include" -Idtool/src/cppparser -O2 dtool/src/cppparser/cppParser_composite.cxx
ar cru built/tmp/libcppParser.a built/tmp/cppParser_composite.o built/tmp/cppParser_cppBison.o
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/prc_composite.o -I"/usr/include/python2.5" -I"built/tmp" -I"built/include" -Idtool/src/prc -O2 -DBUILDING_DTOOLCONFIG dtool/src/prc/prc_composite.cxx
In file included from dtool/src/prc/configPage.cxx:23,
from dtool/src/prc/prc_composite1.cxx:4,
from dtool/src/prc/prc_composite.cxx:1:
dtool/src/prc/prcKeyRegistry.h:31:25: error: openssl/evp.h: No such file or directory
In file included from dtool/src/prc/prc_composite2.cxx:4,
from dtool/src/prc/prc_composite.cxx:2:
dtool/src/prc/encryptStreamBuf.cxx:28:26: error: openssl/rand.h: No such file or directory
In file included from dtool/src/prc/prc_composite2.cxx:11,
from dtool/src/prc/prc_composite.cxx:2:
dtool/src/prc/prcKeyRegistry.cxx:28:25: error: openssl/pem.h: No such file or directory
In file included from dtool/src/prc/configPage.cxx:23,
from dtool/src/prc/prc_composite1.cxx:4,
from dtool/src/prc/prc_composite.cxx:1:
dtool/src/prc/prcKeyRegistry.h:60: error: ‘EVP_PKEY’ has not been declared
dtool/src/prc/prcKeyRegistry.h:63: error: ISO C++ forbids declaration of ‘EVP_PKEY’ with no type
dtool/src/prc/prcKeyRegistry.h:63: error: expected ‘;’ before ‘*’ token
dtool/src/prc/prcKeyRegistry.h:73: error: ISO C++ forbids declaration of ‘EVP_PKEY’ with no type
dtool/src/prc/prcKeyRegistry.h:73: error: expected ‘;’ before ‘*’ token
In file included from dtool/src/prc/encryptStream.h:27,
from dtool/src/prc/configPage.cxx:25,
from dtool/src/prc/prc_composite1.cxx:4,
from dtool/src/prc/prc_composite.cxx:1:
dtool/src/prc/encryptStreamBuf.h:75: error: ‘EVP_CIPHER_CTX’ does not name a type
dtool/src/prc/encryptStreamBuf.h:81: error: ‘EVP_CIPHER_CTX’ does not name a type
In file included from dtool/src/prc/prc_composite1.cxx:4,
from dtool/src/prc/prc_composite.cxx:1:
dtool/src/prc/configPage.cxx: In member function ‘bool ConfigPage::read_prc(std::istream&)’:
dtool/src/prc/configPage.cxx:143: error: expected type-specifier before ‘EVP_MD_CTX’
dtool/src/prc/configPage.cxx:143: error: expected `;' before ‘EVP_MD_CTX’
dtool/src/prc/configPage.cxx:145: error: ‘EVP_MD_CTX’ was not declared in this scope
dtool/src/prc/configPage.cxx:145: error: expected primary-expression before ‘)’ token
dtool/src/prc/configPage.cxx:145: error: ‘EVP_sha1’ was not declared in this scope
dtool/src/prc/configPage.cxx:145: error: ‘EVP_VerifyInit’ was not declared in this scope
dtool/src/prc/configPage.cxx:204: error: ‘EVP_PKEY’ was not declared in this scope
dtool/src/prc/configPage.cxx:204: error: ‘pkey’ was not declared in this scope
dtool/src/prc/configPage.cxx:204: error: ‘class PrcKeyRegistry’ has no member named ‘get_key’
dtool/src/prc/configPage.cxx:205: error: expected primary-expression before ‘)’ token
dtool/src/prc/configPage.cxx:205: error: expected `)' before ‘__null’
dtool/src/prc/configPage.cxx:207: error: expected primary-expression before ‘)’ token
dtool/src/prc/configPage.cxx:209: error: ‘EVP_VerifyFinal’ was not declared in this scope
dtool/src/prc/configPage.cxx:223: error: expected primary-expression before ‘)’ token
dtool/src/prc/configPage.cxx:223: error: expected `;' before ‘_md_ctx’
dtool/src/prc/configPage.cxx: In member function ‘void ConfigPage::read_prc_line(const std::string&)’:
dtool/src/prc/configPage.cxx:405: error: ‘EVP_MD_CTX’ was not declared in this scope
dtool/src/prc/configPage.cxx:405: error: expected primary-expression before ‘)’ token
dtool/src/prc/configPage.cxx:405: error: ‘EVP_VerifyUpdate’ was not declared in this scope
In file included from dtool/src/prc/prc_composite2.cxx:4,
from dtool/src/prc/prc_composite.cxx:2:
dtool/src/prc/encryptStreamBuf.cxx: In member function ‘void EncryptStreamBuf::open_read(std::istream*, bool, const std::string&)’:
dtool/src/prc/encryptStreamBuf.cxx:121: error: ‘OpenSSL_add_all_algorithms’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:133: error: expected initializer before ‘*’ token
dtool/src/prc/encryptStreamBuf.cxx:135: error: ‘cipher’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:141: error: ‘OBJ_nid2sn’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:153: error: ‘cipher’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:153: error: ‘EVP_CIPHER_iv_length’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:154: error: ‘EVP_CIPHER_block_size’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:160: error: ‘_read_ctx’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:160: error: ‘EVP_DecryptInit’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:163: error: ‘EVP_CIPHER_CTX_set_key_length’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:168: error: ‘EVP_CIPHER_CTX_cleanup’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:178: error: ‘PKCS5_PBKDF2_HMAC_SHA1’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx: In member function ‘void EncryptStreamBuf::close_read()’:
dtool/src/prc/encryptStreamBuf.cxx:200: error: ‘_read_ctx’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:200: error: ‘EVP_CIPHER_CTX_cleanup’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx: In member function ‘void EncryptStreamBuf::open_write(std::ostream*, bool, const std::string&)’:
dtool/src/prc/encryptStreamBuf.cxx:225: error: ‘OpenSSL_add_all_algorithms’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:232: error: expected initializer before ‘*’ token
dtool/src/prc/encryptStreamBuf.cxx:235: error: ‘cipher’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:241: error: ‘cipher’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:241: error: ‘EVP_CIPHER_nid’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:243: error: ‘EVP_CIPHER_iv_length’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:244: error: ‘EVP_CIPHER_block_size’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:250: error: ‘RAND_pseudo_bytes’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:253: error: ‘_write_ctx’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:253: error: ‘EVP_EncryptInit’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:259: error: ‘EVP_CIPHER_key_length’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:261: error: ‘EVP_CIPHER_CTX_set_key_length’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:265: error: ‘OBJ_nid2sn’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:266: error: ‘EVP_CIPHER_CTX_cleanup’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:274: error: ‘OBJ_nid2sn’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:286: error: ‘PKCS5_PBKDF2_HMAC_SHA1’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx: In member function ‘void EncryptStreamBuf::close_write()’:
dtool/src/prc/encryptStreamBuf.cxx:322: error: ‘_write_ctx’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:322: error: ‘EVP_EncryptFinal’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx: In member function ‘size_t EncryptStreamBuf::read_chars(char*, size_t)’:
dtool/src/prc/encryptStreamBuf.cxx:453: error: ‘_read_ctx’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:454: error: ‘EVP_DecryptUpdate’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:457: error: ‘_read_ctx’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:457: error: ‘EVP_DecryptFinal’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:465: error: ‘_read_ctx’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:465: error: ‘EVP_CIPHER_CTX_cleanup’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx: In member function ‘void EncryptStreamBuf::write_chars(const char*, size_t)’:
dtool/src/prc/encryptStreamBuf.cxx:505: error: ‘_write_ctx’ was not declared in this scope
dtool/src/prc/encryptStreamBuf.cxx:506: error: ‘EVP_EncryptUpdate’ was not declared in this scope
In file included from dtool/src/prc/prc_composite2.cxx:11,
from dtool/src/prc/prc_composite.cxx:2:
dtool/src/prc/prcKeyRegistry.cxx: In member function ‘void PrcKeyRegistry::record_keys(const PrcKeyRegistry::KeyDef*, int)’:
dtool/src/prc/prcKeyRegistry.cxx:74: error: ‘class PrcKeyRegistry::Key’ has no member named ‘_pkey’
dtool/src/prc/prcKeyRegistry.cxx:79: error: ‘class PrcKeyRegistry::Key’ has no member named ‘_pkey’
dtool/src/prc/prcKeyRegistry.cxx:79: error: ‘EVP_PKEY’ was not declared in this scope
dtool/src/prc/prcKeyRegistry.cxx:79: error: expected primary-expression before ‘)’ token
dtool/src/prc/prcKeyRegistry.cxx:79: error: expected `)' before ‘__null’
dtool/src/prc/prcKeyRegistry.cxx:80: error: ‘class PrcKeyRegistry::Key’ has no member named ‘_pkey’
dtool/src/prc/prcKeyRegistry.cxx:80: error: ‘EVP_PKEY_free’ was not declared in this scope
dtool/src/prc/prcKeyRegistry.cxx:81: error: ‘class PrcKeyRegistry::Key’ has no member named ‘_pkey’
dtool/src/prc/prcKeyRegistry.cxx: At global scope:
dtool/src/prc/prcKeyRegistry.cxx:100: error: ‘EVP_PKEY’ has not been declared
dtool/src/prc/prcKeyRegistry.cxx: In member function ‘void PrcKeyRegistry::set_key(int, int*, time_t)’:
dtool/src/prc/prcKeyRegistry.cxx:105: error: ‘class PrcKeyRegistry::Key’ has no member named ‘_pkey’
dtool/src/prc/prcKeyRegistry.cxx:110: error: ‘class PrcKeyRegistry::Key’ has no member named ‘_pkey’
dtool/src/prc/prcKeyRegistry.cxx:110: error: ‘EVP_PKEY’ was not declared in this scope
dtool/src/prc/prcKeyRegistry.cxx:110: error: expected primary-expression before ‘)’ token
dtool/src/prc/prcKeyRegistry.cxx:110: error: expected `)' before ‘__null’
dtool/src/prc/prcKeyRegistry.cxx:111: error: ‘class PrcKeyRegistry::Key’ has no member named ‘_pkey’
dtool/src/prc/prcKeyRegistry.cxx:111: error: ‘EVP_PKEY_free’ was not declared in this scope
dtool/src/prc/prcKeyRegistry.cxx:112: error: ‘class PrcKeyRegistry::Key’ has no member named ‘_pkey’
dtool/src/prc/prcKeyRegistry.cxx:114: error: ‘class PrcKeyRegistry::Key’ has no member named ‘_pkey’
dtool/src/prc/prcKeyRegistry.cxx: At global scope:
dtool/src/prc/prcKeyRegistry.cxx:137: error: expected constructor, destructor, or type conversion before ‘*’ token
Storing dependency cache.
Elapsed Time: 24 sec
Thank you for helping me with this, what about this one?
Generating dependencies...
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/prc_composite.o -I"/usr/include/python2.5" -I"built/tmp" -I"built/include" -Idtool/src/prc -O2 -DBUILDING_DTOOLCONFIG dtool/src/prc/prc_composite.cxx
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/dconfig_composite.o -I"/usr/include/python2.5" -I"built/tmp" -I"built/include" -Idtool/src/dconfig -O2 -DBUILDING_DTOOLCONFIG dtool/src/dconfig/dconfig_composite.cxx
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/interrogatedb_composite.o -I"/usr/include/python2.5" -I"built/tmp" -I"built/include" -Idtool/src/interrogatedb -O2 -DBUILDING_DTOOLCONFIG dtool/src/interrogatedb/interrogatedb_composite.cxx
In file included from dtool/src/interrogatedb/dtool_super_base.cxx:19,
from dtool/src/interrogatedb/interrogatedb_composite1.cxx:2,
from dtool/src/interrogatedb/interrogatedb_composite.cxx:1:
dtool/src/interrogatedb/py_panda.h:56:20: error: Python.h: No such file or directory
dtool/src/interrogatedb/py_panda.h:57:26: error: structmember.h: No such file or directory
In file included from dtool/src/interrogatedb/dtool_super_base.cxx:19,
from dtool/src/interrogatedb/interrogatedb_composite1.cxx:2,
from dtool/src/interrogatedb/interrogatedb_composite.cxx:1:
dtool/src/interrogatedb/py_panda.h:90: error: typedef ‘ConvertFunctionType’ is initialized (use __typeof__ instead)
dtool/src/interrogatedb/py_panda.h:90: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:90: error: expected primary-expression before ‘,’ token
dtool/src/interrogatedb/py_panda.h:90: error: expected primary-expression before ‘*’ token
dtool/src/interrogatedb/py_panda.h:90: error: expected primary-expression before ‘)’ token
dtool/src/interrogatedb/py_panda.h:92: error: typedef ‘FreeFunction’ is initialized (use __typeof__ instead)
dtool/src/interrogatedb/py_panda.h:92: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:92: error: expected primary-expression before ‘)’ token
dtool/src/interrogatedb/py_panda.h:93: error: typedef ‘PyModuleClassInit’ is initialized (use __typeof__ instead)
dtool/src/interrogatedb/py_panda.h:93: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:93: error: ‘module’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:95: error: variable or field ‘Dtool_Deallocate_General’ declared void
dtool/src/interrogatedb/py_panda.h:95: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:95: error: ‘self’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:105: error: ISO C++ forbids declaration of ‘PyObject_HEAD’ with no type
dtool/src/interrogatedb/py_panda.h:106: error: expected ‘;’ before ‘void’
dtool/src/interrogatedb/py_panda.h:129: error: ‘PyMemberDef’ does not name a type
dtool/src/interrogatedb/py_panda.h:136: error: ‘PyTypeObject’ does not name a type
dtool/src/interrogatedb/py_panda.h:141: error: ‘ConvertFunctionType’ does not name a type
dtool/src/interrogatedb/py_panda.h:143: error: ‘FreeFunction’ does not name a type
dtool/src/interrogatedb/py_panda.h:144: error: ‘PyModuleClassInit’ does not name a type
dtool/src/interrogatedb/py_panda.h:147: error: ISO C++ forbids declaration of ‘PyTypeObject’ with no type
dtool/src/interrogatedb/py_panda.h:147: error: ‘PyTypeObject’ declared as an ‘inline’ field
dtool/src/interrogatedb/py_panda.h:147: error: expected ‘;’ before ‘&’ token
dtool/src/interrogatedb/py_panda.h:148: error: ISO C++ forbids declaration of ‘PyObject’ with no type
dtool/src/interrogatedb/py_panda.h:148: error: ‘PyObject’ declared as an ‘inline’ field
dtool/src/interrogatedb/py_panda.h:148: error: expected ‘;’ before ‘&’ token
dtool/src/interrogatedb/py_panda.h:256: error: variable or field ‘Dtool_Deallocate_General’ declared void
dtool/src/interrogatedb/py_panda.h:256: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:256: error: ‘self’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:320: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:320: error: ‘self’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:330: error: variable or field ‘DTOOL_Call_ExtractThisPointerForType’ declared void
dtool/src/interrogatedb/py_panda.h:330: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:330: error: ‘self’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:330: error: expected primary-expression before ‘*’ token
dtool/src/interrogatedb/py_panda.h:330: error: ‘classdef’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:330: error: expected primary-expression before ‘void’
dtool/src/interrogatedb/py_panda.h:333: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:333: error: ‘self’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:333: error: expected primary-expression before ‘*’ token
dtool/src/interrogatedb/py_panda.h:333: error: ‘classdef’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:333: error: expected primary-expression before ‘int’
dtool/src/interrogatedb/py_panda.h:333: error: expected primary-expression before ‘const’
dtool/src/interrogatedb/py_panda.h:333: error: expected primary-expression before ‘bool’
dtool/src/interrogatedb/py_panda.h:333: error: initializer expression list treated as compound expression
dtool/src/interrogatedb/py_panda.h:335: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:335: error: ‘self’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:343: error: expected constructor, destructor, or type conversion before ‘*’ token
dtool/src/interrogatedb/py_panda.h:349: error: expected constructor, destructor, or type conversion before ‘*’ token
dtool/src/interrogatedb/py_panda.h:399: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:399: error: ‘self’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:399: error: expected primary-expression before ‘void’
dtool/src/interrogatedb/py_panda.h:399: error: expected primary-expression before ‘*’ token
dtool/src/interrogatedb/py_panda.h:399: error: ‘type’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:399: error: expected primary-expression before ‘bool’
dtool/src/interrogatedb/py_panda.h:399: error: expected primary-expression before ‘bool’
dtool/src/interrogatedb/py_panda.h:399: error: initializer expression list treated as compound expression
dtool/src/interrogatedb/py_panda.h:406: error: ‘PyMethodDef’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:406: error: template argument 2 is invalid
dtool/src/interrogatedb/py_panda.h:406: error: template argument 4 is invalid
dtool/src/interrogatedb/py_panda.h:406: error: invalid type in declaration before ‘;’ token
dtool/src/interrogatedb/py_panda.h:408: error: variable or field ‘Dtool_Accum_MethDefs’ declared void
dtool/src/interrogatedb/py_panda.h:408: error: ‘PyMethodDef’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:408: error: expected primary-expression before ‘&’ token
dtool/src/interrogatedb/py_panda.h:408: error: ‘themap’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:430: error: ‘PyObject’ has not been declared
dtool/src/interrogatedb/py_panda.h:432: error: ISO C++ forbids declaration of ‘PyMethodDef’ with no type
dtool/src/interrogatedb/py_panda.h:432: error: expected ‘;’ before ‘*’ token
dtool/src/interrogatedb/py_panda.h:447: error: expected constructor, destructor, or type conversion before ‘*’ token
dtool/src/interrogatedb/py_panda.h:452: error: expected constructor, destructor, or type conversion before ‘*’ token
dtool/src/interrogatedb/py_panda.h:498: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:498: error: ‘v1’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:498: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:498: error: ‘v2’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:498: error: initializer expression list treated as compound expression
dtool/src/interrogatedb/py_panda.h:500: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:500: error: ‘v1’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:500: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:500: error: ‘v2’ was not declared in this scope
dtool/src/interrogatedb/py_panda.h:500: error: initializer expression list treated as compound expression
In file included from dtool/src/interrogatedb/interrogatedb_composite1.cxx:2,
from dtool/src/interrogatedb/interrogatedb_composite.cxx:1:
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘self’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘args’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘kwds’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: initializer expression list treated as compound expression
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: expected constructor, destructor, or type conversion before ‘*’ token
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘self’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: expected primary-expression before ‘*’ token
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘requested_type’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: initializer expression list treated as compound expression
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: variable or field ‘Dtool_PyModuleClassInit_DTOOL_SUPPER_BASE’ declared void
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘module’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: expected constructor, destructor, or type conversion before ‘*’ token
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: variable or field ‘Dtool_FreeInstance_DTOOL_SUPPER_BASE’ declared void
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘PyObject’ was not declared in this scope
dtool/src/interrogatedb/dtool_super_base.cxx:26: error: ‘self’ was not declared in this scope
In file included from built/include/filename.h:25,
from built/include/dSearchPath.h:24,
from built/include/configPageManager.h:24,
from built/include/configVariableCore.h:24,
from built/include/configVariableBase.h:24,
from built/include/configVariable.h:23,
from built/include/configVariableEnum.h:23,
from built/include/notifyCategory.h:25,
from built/include/notifyCategoryProxy.h:24,
from dtool/src/interrogatedb/config_interrogatedb.h:23,
from dtool/src/interrogatedb/config_interrogatedb.cxx:19,
from dtool/src/interrogatedb/interrogatedb_composite1.cxx:3,
from dtool/src/interrogatedb/interrogatedb_composite.cxx:1:
built/include/vector_string.h:42: error: expected declaration before end of line
Storing dependency cache.
Elapsed Time: 11 sec
I’m sorry I just can’t see the actual errors. What abut this?
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/pnmtext_composite.o -I"/usr/include/python2.5" -I"/usr/include/freetype2" -I"built/tmp" -I"built/include" -Ipanda/src/pnmtext -O2 -DBUILDING_PANDA panda/src/pnmtext/pnmtext_composite.cxx
In file included from panda/src/pnmtext/freetypeFont.cxx:19,
from panda/src/pnmtext/pnmtext_composite1.cxx:2,
from panda/src/pnmtext/pnmtext_composite.cxx:1:
panda/src/pnmtext/freetypeFont.h:33:22: error: ft2build.h: No such file or directory
panda/src/pnmtext/freetypeFont.h:34:10: error: #include expects "FILENAME" or <FILENAME>
In file included from panda/src/pnmtext/pnmTextMaker.cxx:18,
from panda/src/pnmtext/pnmtext_composite1.cxx:4,
from panda/src/pnmtext/pnmtext_composite.cxx:1:
panda/src/pnmtext/pnmTextMaker.h:28:10: error: #include expects "FILENAME" or <FILENAME>
In file included from panda/src/pnmtext/freetypeFont.cxx:19,
from panda/src/pnmtext/pnmtext_composite1.cxx:2,
from panda/src/pnmtext/pnmtext_composite.cxx:1:
panda/src/pnmtext/freetypeFont.h:80: error: expected ‘,’ or ‘...’ before ‘&’ token
panda/src/pnmtext/freetypeFont.h:80: error: ISO C++ forbids declaration of ‘FT_Bitmap’ with no type
panda/src/pnmtext/freetypeFont.h:100: error: ‘FT_Face’ does not name a type
panda/src/pnmtext/freetypeFont.h:110: error: ‘FT_Library’ does not name a type
In file included from panda/src/pnmtext/pnmtext_composite1.cxx:2,
from panda/src/pnmtext/pnmtext_composite.cxx:1:
panda/src/pnmtext/freetypeFont.cxx:28: error: ‘FT_Library’ does not name a type
panda/src/pnmtext/freetypeFont.cxx: In member function ‘bool FreetypeFont::load_font(const Filename&, int)’:
panda/src/pnmtext/freetypeFont.cxx:91: error: ‘_ft_library’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:92: error: ISO C++ forbids declaration of ‘type name’ with no type
panda/src/pnmtext/freetypeFont.cxx:92: error: ISO C++ forbids declaration of ‘type name’ with no type
panda/src/pnmtext/freetypeFont.cxx:92: error: expected primary-expression before ‘const’
panda/src/pnmtext/freetypeFont.cxx:92: error: expected `)' before ‘const’
panda/src/pnmtext/freetypeFont.cxx:101: error: ‘FT_Err_Unknown_File_Format’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx: In member function ‘bool FreetypeFont::load_font(const char*, int, int)’:
panda/src/pnmtext/freetypeFont.cxx:134: error: ‘_ft_library’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:135: error: ISO C++ forbids declaration of ‘type name’ with no type
panda/src/pnmtext/freetypeFont.cxx:135: error: ISO C++ forbids declaration of ‘type name’ with no type
panda/src/pnmtext/freetypeFont.cxx:135: error: expected primary-expression before ‘const’
panda/src/pnmtext/freetypeFont.cxx:135: error: expected `)' before ‘const’
panda/src/pnmtext/freetypeFont.cxx:138: error: ‘FT_Err_Unknown_File_Format’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx: In member function ‘void FreetypeFont::unload_font()’:
panda/src/pnmtext/freetypeFont.cxx:160: error: ‘_face’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:160: error: ‘FT_Done_Face’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx: In member function ‘bool FreetypeFont::load_glyph(int, bool)’:
panda/src/pnmtext/freetypeFont.cxx:174: error: ‘FT_LOAD_RENDER’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:176: error: ‘FT_LOAD_MONOCHROME’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:185: error: ‘_face’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:185: error: ‘FT_Load_Glyph’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx: At global scope:
panda/src/pnmtext/freetypeFont.cxx:201: error: expected ‘,’ or ‘...’ before ‘&’ token
panda/src/pnmtext/freetypeFont.cxx:201: error: ISO C++ forbids declaration of ‘FT_Bitmap’ with no type
panda/src/pnmtext/freetypeFont.cxx: In member function ‘void FreetypeFont::copy_bitmap_to_pnmimage(int)’:
panda/src/pnmtext/freetypeFont.cxx:202: error: ‘bitmap’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:202: error: ‘ft_pixel_mode_grays’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:203: error: ‘image’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:214: error: ‘ft_pixel_mode_mono’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx: In member function ‘bool FreetypeFont::font_loaded()’:
panda/src/pnmtext/freetypeFont.cxx:264: error: ‘_face’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:300: error: ‘FT_Set_Charmap’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx: In member function ‘bool FreetypeFont::reset_scale()’:
panda/src/pnmtext/freetypeFont.cxx:327: error: ‘_face’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:329: error: ‘FT_Set_Char_Size’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:359: error: ‘FT_Set_Pixel_Sizes’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:385: error: ‘FT_LOAD_DEFAULT’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:385: error: ‘FT_Load_Char’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx: In static member function ‘static void FreetypeFont::initialize_ft_library()’:
panda/src/pnmtext/freetypeFont.cxx:406: error: ‘_ft_library’ was not declared in this scope
panda/src/pnmtext/freetypeFont.cxx:406: error: ‘FT_Init_FreeType’ was not declared in this scope
In file included from panda/src/pnmtext/pnmtext_composite1.cxx:4,
from panda/src/pnmtext/pnmtext_composite.cxx:1:
panda/src/pnmtext/pnmTextMaker.cxx: In member function ‘PNMTextGlyph* PNMTextMaker::get_glyph(int)’:
panda/src/pnmtext/pnmTextMaker.cxx:118: error: ‘_face’ was not declared in this scope
panda/src/pnmtext/pnmTextMaker.cxx:118: error: ‘FT_Get_Char_Index’ was not declared in this scope
panda/src/pnmtext/pnmTextMaker.cxx: In member function ‘PNMTextGlyph* PNMTextMaker::make_glyph(int)’:
panda/src/pnmtext/pnmTextMaker.cxx:157: error: ‘FT_GlyphSlot’ was not declared in this scope
panda/src/pnmtext/pnmTextMaker.cxx:157: error: expected `;' before ‘slot’
panda/src/pnmtext/pnmTextMaker.cxx:158: error: ‘FT_Bitmap’ was not declared in this scope
panda/src/pnmtext/pnmTextMaker.cxx:158: error: ‘bitmap’ was not declared in this scope
panda/src/pnmtext/pnmTextMaker.cxx:158: error: ‘slot’ was not declared in this scope
Storing dependency cache.
Elapsed Time: 15 min 20 sec
No. I really didn’t see that. I don’t know c or c++ anything that is ‘.h’ is a header file?
The errors now are:
panda/src/pnmimagetypes/pnmFileTypeJPG.h:39:17: error: png.h: No such file or directory
panda/src/pnmimagetypes/pnmFileTypeJPG.h:45:21: error: jpeglib.h: No such file or directory
panda/src/pnmimagetypes/pnmFileTypeJPGReader.cxx:51:20: error: jerror.h: No such file or directory
panda/src/pnmimagetypes/pnmFileTypeTIFF.cxx:36:18: error: tiff.h: No such file or directory
panda/src/pnmimagetypes/pnmFileTypeTIFF.cxx:37:20: error: tiffio.h: No such file or directory
Is there a picture header for c i need to install?