I import pandaframework.h.
The first few lines of the error message:
In file included from /usr/include/panda3d/atomicAdjustDummyImpl.h:25,
from /usr/include/panda3d/atomicAdjust.h:27,
from /usr/include/panda3d/deletedChain.h:25,
from /usr/include/panda3d/pallocator.h:24,
from /usr/include/panda3d/pvector.h:25,
from /usr/include/panda3d/typeRegistry.h:25,
from /usr/include/panda3d/typeHandle.h:23,
from /usr/include/panda3d/cycleData.h:23,
from /usr/include/panda3d/pandaNode.h:24,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:4:
/usr/include/panda3d/numeric_types.h:35:21: error: prtypes.h: No such file or directory
In file included from /usr/include/panda3d/connection.h:24,
from /usr/include/panda3d/netDatagram.h:24,
from /usr/include/panda3d/connectionManager.h:24,
from /usr/include/panda3d/pStatClientImpl.h:28,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:4:
/usr/include/panda3d/netAddress.h:25:18: error: prio.h: No such file or directory
In file included from /usr/include/panda3d/netDatagram.h:24,
from /usr/include/panda3d/connectionManager.h:24,
from /usr/include/panda3d/pStatClientImpl.h:28,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:4:
/usr/include/panda3d/connection.h:27:20: error: prlock.h: No such file or directory
/usr/include/panda3d/connection.h:28:21: error: prerror.h: No such file or directory
In file included from /usr/include/panda3d/queuedConnectionReader.h:24,
from /usr/include/panda3d/pStatClientImpl.h:29,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:4:
/usr/include/panda3d/connectionReader.h:29:22: error: prthread.h: No such file or directory
In file included from /usr/include/panda3d/connectionWriter.h:24,
from /usr/include/panda3d/pStatClientImpl.h:30,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:4:
/usr/include/panda3d/datagramQueue.h:27:20: error: prcvar.h: No such file or directory
In file included from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:4:
/usr/include/panda3d/pandaNode.h:54:20: error: Python.h: No such file or directory
pro-rsoft@REINIER:~/docs/Programmeren/Programs/pandacpp$ g++ -I/usr/include/panda3d/ main.cpp
main.cpp: In function ‘int main(int, char**)’:
main.cpp:6: error: ‘WindowFramework’ was not declared in this scope
main.cpp:6: error: ‘window’ was not declared in this scope
main.cpp:6: error: ‘framework’ was not declared in this scope
pro-rsoft@REINIER:~/docs/Programmeren/Programs/pandacpp$ g++ -I/usr/include/panda3d/ main.cpp
main.cpp: In function ‘int main(int, char**)’:
main.cpp:6: error: ‘framework’ was not declared in this scope
main.cpp:8: error: ‘WindowFramework’ was not declared in this scope
main.cpp:8: error: ‘window’ was not declared in this scope
pro-rsoft@REINIER:~/docs/Programmeren/Programs/pandacpp$ g++ -I/usr/include/panda3d/ main.cpp
main.cpp:3: error: ‘PandaFramework’ does not name a type
main.cpp: In function ‘int main(int, char**)’:
main.cpp:6: error: ‘framework’ was not declared in this scope
main.cpp:8: error: ‘WindowFramework’ was not declared in this scope
main.cpp:8: error: ‘window’ was not declared in this scope
pro-rsoft@REINIER:~/docs/Programmeren/Programs/pandacpp$ g++ -I/usr/include/panda3d/ main.cpp
main.cpp:1:26: error: pandaFramework: No such file or directory
main.cpp:4: error: ‘PandaFramework’ does not name a type
main.cpp: In function ‘int main(int, char**)’:
main.cpp:7: error: ‘framework’ was not declared in this scope
main.cpp:9: error: ‘WindowFramework’ was not declared in this scope
main.cpp:9: error: ‘window’ was not declared in this scope
pro-rsoft@REINIER:~/docs/Programmeren/Programs/pandacpp$ g++ -I/usr/include/panda3d/ main.cpp
main.cpp:3: error: ‘PandaFramework’ does not name a type
main.cpp: In function ‘int main(int, char**)’:
main.cpp:6: error: ‘framework’ was not declared in this scope
main.cpp:8: error: ‘WindowFramework’ was not declared in this scope
main.cpp:8: error: ‘window’ was not declared in this scope
pro-rsoft@REINIER:~/docs/Programmeren/Programs/pandacpp$ g++ -I/usr/include/panda3d/ main.cpp
In file included from /usr/include/panda3d/atomicAdjustDummyImpl.h:25,
from /usr/include/panda3d/atomicAdjust.h:27,
from /usr/include/panda3d/deletedChain.h:25,
from /usr/include/panda3d/pallocator.h:24,
from /usr/include/panda3d/pvector.h:25,
from /usr/include/panda3d/typeRegistry.h:25,
from /usr/include/panda3d/typeHandle.h:23,
from /usr/include/panda3d/cycleData.h:23,
from /usr/include/panda3d/pandaNode.h:24,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:2:
/usr/include/panda3d/numeric_types.h:35:21: error: prtypes.h: No such file or directory
In file included from /usr/include/panda3d/connection.h:24,
from /usr/include/panda3d/netDatagram.h:24,
from /usr/include/panda3d/connectionManager.h:24,
from /usr/include/panda3d/pStatClientImpl.h:28,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:2:
/usr/include/panda3d/netAddress.h:25:18: error: prio.h: No such file or directory
In file included from /usr/include/panda3d/netDatagram.h:24,
from /usr/include/panda3d/connectionManager.h:24,
from /usr/include/panda3d/pStatClientImpl.h:28,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:2:
/usr/include/panda3d/connection.h:27:20: error: prlock.h: No such file or directory
/usr/include/panda3d/connection.h:28:21: error: prerror.h: No such file or directory
In file included from /usr/include/panda3d/queuedConnectionReader.h:24,
from /usr/include/panda3d/pStatClientImpl.h:29,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:2:
/usr/include/panda3d/connectionReader.h:29:22: error: prthread.h: No such file or directory
In file included from /usr/include/panda3d/connectionWriter.h:24,
from /usr/include/panda3d/pStatClientImpl.h:30,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:2:
/usr/include/panda3d/datagramQueue.h:27:20: error: prcvar.h: No such file or directory
In file included from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:2:
/usr/include/panda3d/pandaNode.h:54:20: error: Python.h: No such file or directory
pro-rsoft@REINIER:~/docs/Programmeren/Programs/pandacpp$ g++ -I/usr/include/panda3d/ main.cpp
In file included from /usr/include/panda3d/atomicAdjustDummyImpl.h:25,
from /usr/include/panda3d/atomicAdjust.h:27,
from /usr/include/panda3d/deletedChain.h:25,
from /usr/include/panda3d/pallocator.h:24,
from /usr/include/panda3d/pvector.h:25,
from /usr/include/panda3d/typeRegistry.h:25,
from /usr/include/panda3d/typeHandle.h:23,
from /usr/include/panda3d/cycleData.h:23,
from /usr/include/panda3d/pandaNode.h:24,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:2:
/usr/include/panda3d/numeric_types.h:35:21: error: prtypes.h: No such file or directory
In file included from /usr/include/panda3d/connection.h:24,
from /usr/include/panda3d/netDatagram.h:24,
from /usr/include/panda3d/connectionManager.h:24,
from /usr/include/panda3d/pStatClientImpl.h:28,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:2:
/usr/include/panda3d/netAddress.h:25:18: error: prio.h: No such file or directory
In file included from /usr/include/panda3d/netDatagram.h:24,
from /usr/include/panda3d/connectionManager.h:24,
from /usr/include/panda3d/pStatClientImpl.h:28,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:2:
/usr/include/panda3d/connection.h:27:20: error: prlock.h: No such file or directory
/usr/include/panda3d/connection.h:28:21: error: prerror.h: No such file or directory
In file included from /usr/include/panda3d/queuedConnectionReader.h:24,
from /usr/include/panda3d/pStatClientImpl.h:29,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:2:
/usr/include/panda3d/connectionReader.h:29:22: error: prthread.h: No such file or directory
In file included from /usr/include/panda3d/connectionWriter.h:24,
from /usr/include/panda3d/pStatClientImpl.h:30,
from /usr/include/panda3d/pStatClient.h:25,
from /usr/include/panda3d/pStatThread.h:24,
from /usr/include/panda3d/pStatCollector.h:24,
from /usr/include/panda3d/renderState.h:29,
from /usr/include/panda3d/pandaNode.h:31,
from /usr/include/panda3d/nodePath.h:24,
from /usr/include/panda3d/windowFramework.h:23,
from /usr/include/panda3d/pandaFramework.h:24,
from main.cpp:2:
/usr/include/panda3d/datagramQueue.h:27:20: error: prcvar.h: No such file or directory
I get two million more.