error compiling 1.6.2

I’m compiling with Microsoft Visual C++
Problem is that the file ‘pandaFramework.h’ exist,but compiler do not find it.Ther is the script and the error message:

Script:

#include “pandaFramework.h”
#include “pandaSystem.h”
PandaFramework framework;
int main(int argc, char *argv[]) {
//open a new window framework
framework.open_framework(argc, argv);
//set the window title to My Panda3D Window
framework.set_window_title(“My Panda3D Window”);
//open the window
WindowFramework *window = framework.open_window();

//here is room for your own code

//do the main loop, equal to run() in python
framework.main_loop();
//close the window framework
framework.close_framework();
return (0);
}

Error:

fatal error C1083 Cannot open include file: ‘pandaFramework.h’ : No such file or directory

Can you help me?

Add C:\Panda3D-1.6.2\include to the compiler’s include path (in project properties probably).

Like this? #include C:\Panda3D-1.6.2. …

No.
Alt-F7 > Config Props > C/C++

c:\panda3d-1.6.2\include\pandafilestreambuf.h(32) : warning C4275: non dll-interface class ‘std::basic_streambuf<char,struct std::char_traits >’ used as base for dll-interface class ‘PandaFileStreamBuf’
c:\panda3d-1.6.2\include\pandafilestreambuf.h(32) : see declaration of ‘PandaFileStreamBuf’
c:\panda3d-1.6.2\include\pandafilestream.h(33) : warning C4275: non dll-interface class ‘std::basic_istream<char,struct std::char_traits >’ used as base for dll-interface class ‘IFileStream’
c:\panda3d-1.6.2\include\pandafilestream.h(33) : see declaration of ‘IFileStream’
c:\panda3d-1.6.2\include\pandafilestream.h(55) : warning C4275: non dll-interface class ‘std::basic_ostream<char,struct std::char_traits >’ used as base for dll-interface class ‘OFileStream’
c:\panda3d-1.6.2\include\pandafilestream.h(55) : see declaration of ‘OFileStream’
c:\panda3d-1.6.2\include\pandafilestream.h(77) : warning C4275: non dll-interface class ‘std::basic_iostream<char,struct std::char_traits >’ used as base for dll-interface class ‘FileStream’
c:\panda3d-1.6.2\include\pandafilestream.h(77) : see declaration of ‘FileStream’
c:\panda3d-1.6.2\include\notifycategory.i(42) : warning C4273: ‘get_severity’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\typedreferencecount.i(26) : error C2385: ‘TypedReferenceCount::delete’ is ambiguous
c:\panda3d-1.6.2\include\typedreferencecount.i(26) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of class ‘TypedReferenceCount’
c:\panda3d-1.6.2\include\typedreferencecount.i(26) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of class ‘TypedReferenceCount’
c:\panda3d-1.6.2\include\threadsimpleimpl.h(31) : fatal error C1083: Cannot open include file: ‘Python.h’: No such file or directory

how to repair that?

Oh, I forgot. You also have to append the C:\Panda3D-1.6.2\python\include path to the include path.

I can include only one,this: C:\Panda3D-1.6.2\include or this: C:\Panda3D-1.6.2\python\include but not them both.How to include them both? Plz tel me step by step :frowning:

Put a semicolon in between, I think.

Like:

C:\Panda3D-1.6.2\include;C:\Panda3D-1.6.2\python\include

another big error :frowning: very big error :frowning:

c:\panda3d-1.6.2\include\pandafilestreambuf.h(32) : warning C4275: non dll-interface class ‘std::basic_streambuf<char,struct std::char_traits >’ used as base for dll-interface class ‘PandaFileStreamBuf’
c:\panda3d-1.6.2\include\pandafilestreambuf.h(32) : see declaration of ‘PandaFileStreamBuf’
c:\panda3d-1.6.2\include\pandafilestream.h(33) : warning C4275: non dll-interface class ‘std::basic_istream<char,struct std::char_traits >’ used as base for dll-interface class ‘IFileStream’
c:\panda3d-1.6.2\include\pandafilestream.h(33) : see declaration of ‘IFileStream’
c:\panda3d-1.6.2\include\pandafilestream.h(55) : warning C4275: non dll-interface class ‘std::basic_ostream<char,struct std::char_traits >’ used as base for dll-interface class ‘OFileStream’
c:\panda3d-1.6.2\include\pandafilestream.h(55) : see declaration of ‘OFileStream’
c:\panda3d-1.6.2\include\pandafilestream.h(77) : warning C4275: non dll-interface class ‘std::basic_iostream<char,struct std::char_traits >’ used as base for dll-interface class ‘FileStream’
c:\panda3d-1.6.2\include\pandafilestream.h(77) : see declaration of ‘FileStream’
c:\panda3d-1.6.2\include\notifycategory.i(42) : warning C4273: ‘get_severity’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\typedreferencecount.i(26) : error C2385: ‘TypedReferenceCount::delete’ is ambiguous
c:\panda3d-1.6.2\include\typedreferencecount.i(26) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of class ‘TypedReferenceCount’
c:\panda3d-1.6.2\include\typedreferencecount.i(26) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of class ‘TypedReferenceCount’
c:\panda3d-1.6.2\python\include\pyconfig.h(51) : warning C4005: ‘HAVE_IO_H’ : macro redefinition
c:\panda3d-1.6.2\include\dtool_config.h(56) : see previous definition of ‘HAVE_IO_H’
c:\panda3d-1.6.2\python\include\setobject.h(81) : error C2955: ‘set’ : use of class template requires template argument list
c:\program files\microsoft visual studio\vc98\include\set(124) : see declaration of ‘set’
c:\panda3d-1.6.2\python\include\setobject.h(83) : error C2955: ‘set’ : use of class template requires template argument list
c:\program files\microsoft visual studio\vc98\include\set(124) : see declaration of ‘set’
c:\panda3d-1.6.2\python\include\setobject.h(84) : error C2955: ‘set’ : use of class template requires template argument list
c:\program files\microsoft visual studio\vc98\include\set(124) : see declaration of ‘set’
c:\panda3d-1.6.2\python\include\setobject.h(85) : error C2955: ‘set’ : use of class template requires template argument list
c:\program files\microsoft visual studio\vc98\include\set(124) : see declaration of ‘set’
c:\panda3d-1.6.2\python\include\setobject.h(86) : error C2955: ‘set’ : use of class template requires template argument list
c:\program files\microsoft visual studio\vc98\include\set(124) : see declaration of ‘set’
c:\panda3d-1.6.2\python\include\setobject.h(87) : error C2955: ‘set’ : use of class template requires template argument list
c:\program files\microsoft visual studio\vc98\include\set(124) : see declaration of ‘set’
c:\panda3d-1.6.2\python\include\setobject.h(88) : error C2955: ‘set’ : use of class template requires template argument list
c:\program files\microsoft visual studio\vc98\include\set(124) : see declaration of ‘set’
c:\panda3d-1.6.2\include\threadsimpleimpl.i(132) : warning C4273: ‘write_status’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\pipelinecyclertrivialimpl.i(213) : warning C4273: ‘write_upstream’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\socket_portable.h(128) : error C2632: ‘int’ followed by ‘int’ is illegal
c:\panda3d-1.6.2\include\socket_portable.h(128) : warning C4091: 'typedef ’ : ignored on left of ‘int’ when no variable is declared
c:\panda3d-1.6.2\include\pointertoarray.h(99) : warning C4275: non dll-interface class ‘PointerToArrayBase’ used as base for dll-interface class ‘PointerToArray’
c:\panda3d-1.6.2\include\pta_uchar.h(34) : see reference to class template instantiation ‘PointerToArray’ being compiled
c:\panda3d-1.6.2\include\pointertoarray.h(247) : warning C4275: non dll-interface class ‘PointerToArrayBase’ used as base for dll-interface class ‘ConstPointerToArray’
c:\panda3d-1.6.2\include\pta_uchar.h(35) : see reference to class template instantiation ‘ConstPointerToArray’ being compiled
c:\panda3d-1.6.2\include\socket_ip.h(172) : warning C4273: ‘SetRecvBufferSize’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\conditionvarfulldirect.i(119) : warning C4273: ‘wait’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\bitarray.i(409) : warning C4273: ‘clear’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\conditionvardirect.i(119) : warning C4273: ‘wait’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\copyonwritepointer.i(180) : warning C4273: ‘is_null’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\copyonwritepointer.i(190) : warning C4273: ‘clear’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\internalname.i(69) : error C2385: ‘InternalName::new’ is ambiguous
c:\panda3d-1.6.2\include\internalname.i(69) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘InternalName’
c:\panda3d-1.6.2\include\internalname.i(69) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘InternalName’
c:\panda3d-1.6.2\include\internalname.i(69) : error C2385: ‘InternalName::delete’ is ambiguous
c:\panda3d-1.6.2\include\internalname.i(69) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘InternalName’
c:\panda3d-1.6.2\include\internalname.i(69) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘InternalName’
c:\panda3d-1.6.2\include\geomvertexformat.i(63) : error C2385: ‘GeomVertexFormat::new’ is ambiguous
c:\panda3d-1.6.2\include\geomvertexformat.i(63) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexFormat’
c:\panda3d-1.6.2\include\geomvertexformat.i(63) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexFormat’
c:\panda3d-1.6.2\include\geomvertexformat.i(63) : error C2385: ‘GeomVertexFormat::delete’ is ambiguous
c:\panda3d-1.6.2\include\geomvertexformat.i(63) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexFormat’
c:\panda3d-1.6.2\include\geomvertexformat.i(63) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexFormat’
c:\panda3d-1.6.2\include\geomvertexformat.i(555) : error C2385: ‘GeomVertexFormat::new’ is ambiguous
c:\panda3d-1.6.2\include\geomvertexformat.i(555) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexFormat’
c:\panda3d-1.6.2\include\geomvertexformat.i(555) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexFormat’
c:\panda3d-1.6.2\include\geomvertexformat.i(555) : error C2385: ‘GeomVertexFormat::delete’ is ambiguous
c:\panda3d-1.6.2\include\geomvertexformat.i(555) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexFormat’
c:\panda3d-1.6.2\include\geomvertexformat.i(555) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexFormat’
c:\panda3d-1.6.2\include\simpleallocator.i(41) : warning C4273: ‘alloc’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\simpleallocator.i(118) : error C2446: ‘==’ : no conversion from 'const class SimpleAllocator *const ’ to 'class LinkedListNode *const ’
Conversion loses qualifiers
c:\panda3d-1.6.2\include\simpleallocator.i(118) : error C2230: ‘==’ : indirection to different types
c:\panda3d-1.6.2\include\simpleallocator.i(131) : error C2446: ‘==’ : no conversion from 'const class SimpleAllocator *const ’ to 'class LinkedListNode *const ’
Conversion loses qualifiers
c:\panda3d-1.6.2\include\simpleallocator.i(131) : error C2230: ‘==’ : indirection to different types
c:\panda3d-1.6.2\include\vertexdatapage.h(187) : error C2248: ‘deflate_page_size’ : cannot access private enumerator declared in class ‘VertexDataPage’
c:\panda3d-1.6.2\include\vertexdatapage.h(175) : see declaration of ‘deflate_page_size’
c:\panda3d-1.6.2\include\geomvertexarraydata.i(117) : error C2562: ‘clear_rows’ : ‘void’ function returning a value
c:\panda3d-1.6.2\include\geomvertexarraydata.h(90) : see declaration of ‘clear_rows’
c:\panda3d-1.6.2\include\geomvertexarraydata.i(516) : warning C4273: ‘mark_used’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\transformblend.i(274) : error C2955: ‘vector’ : use of class template requires template argument list
c:\program files\microsoft visual studio\vc98\include\vector(244) : see declaration of ‘vector’
c:\panda3d-1.6.2\include\sparsearray.i(261) : warning C4273: ‘is_all_on’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\sparsearray.i(307) : error C2562: ‘set_range’ : ‘void’ function returning a value
c:\panda3d-1.6.2\include\sparsearray.h(78) : see declaration of ‘set_range’
c:\panda3d-1.6.2\include\sparsearray.i(309) : error C2562: ‘set_range’ : ‘void’ function returning a value
c:\panda3d-1.6.2\include\sparsearray.h(78) : see declaration of ‘set_range’
c:\panda3d-1.6.2\include\sparsearray.i(321) : error C2562: ‘clear_range’ : ‘void’ function returning a value
c:\panda3d-1.6.2\include\sparsearray.h(79) : see declaration of ‘clear_range’
c:\panda3d-1.6.2\include\sparsearray.i(323) : error C2562: ‘clear_range’ : ‘void’ function returning a value
c:\panda3d-1.6.2\include\sparsearray.h(79) : see declaration of ‘clear_range’
c:\panda3d-1.6.2\include\sparsearray.i(348) : warning C4273: ‘invert_in_place’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\sparsearray.i(358) : warning C4273: ‘clear’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\sparsearray.i(476) : warning C4273: ‘<<=’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\sparsearray.i(488) : warning C4273: ‘>>=’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\pointertoarray.h(99) : warning C4275: non dll-interface class ‘PointerToArrayBase’ used as base for dll-interface class ‘PointerToArray’
c:\panda3d-1.6.2\include\pta_int.h(34) : see reference to class template instantiation ‘PointerToArray’ being compiled
c:\panda3d-1.6.2\include\pointertoarray.h(247) : warning C4275: non dll-interface class ‘PointerToArrayBase’ used as base for dll-interface class ‘ConstPointerToArray’
c:\panda3d-1.6.2\include\pta_int.h(35) : see reference to class template instantiation ‘ConstPointerToArray’ being compiled
c:\panda3d-1.6.2\include\geomprimitive.i(402) : error C2385: ‘GeomVertexArrayFormat::new’ is ambiguous
c:\panda3d-1.6.2\include\geomprimitive.i(402) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexArrayFormat’
c:\panda3d-1.6.2\include\geomprimitive.i(402) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexArrayFormat’
c:\panda3d-1.6.2\include\geomprimitive.i(402) : error C2385: ‘GeomVertexArrayFormat::delete’ is ambiguous
c:\panda3d-1.6.2\include\geomprimitive.i(402) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexArrayFormat’
c:\panda3d-1.6.2\include\geomprimitive.i(402) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘GeomVertexArrayFormat’
c:\panda3d-1.6.2\include\texturestage.i(665) : error C2385: ‘TextureStage::new’ is ambiguous
c:\panda3d-1.6.2\include\texturestage.i(665) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘TextureStage’
c:\panda3d-1.6.2\include\texturestage.i(665) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘TextureStage’
c:\panda3d-1.6.2\include\texturestage.i(665) : error C2385: ‘TextureStage::delete’ is ambiguous
c:\panda3d-1.6.2\include\texturestage.i(665) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘TextureStage’
c:\panda3d-1.6.2\include\texturestage.i(665) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘TextureStage’
c:\panda3d-1.6.2\include\eventparameter.i(62) : error C2385: ‘EventStoreTypedRefCount::new’ is ambiguous
c:\panda3d-1.6.2\include\eventparameter.i(62) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreTypedRefCoun
t’
c:\panda3d-1.6.2\include\eventparameter.i(62) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreTypedRefCount’
c:\panda3d-1.6.2\include\eventparameter.i(62) : error C2385: ‘EventStoreTypedRefCount::delete’ is ambiguous
c:\panda3d-1.6.2\include\eventparameter.i(62) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreTypedRefC
ount’
c:\panda3d-1.6.2\include\eventparameter.i(62) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreTypedRefCount’
c:\panda3d-1.6.2\include\eventparameter.i(72) : error C2385: ‘EventStoreValue::new’ is ambiguous
c:\panda3d-1.6.2\include\eventparameter.i(72) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue’
c:\panda3d-1.6.2\include\eventparameter.i(72) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue’
c:\panda3d-1.6.2\include\eventparameter.i(72) : error C2385: ‘EventStoreValue::delete’ is ambiguous
c:\panda3d-1.6.2\include\eventparameter.i(72) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class 'EventStoreValue<int


c:\panda3d-1.6.2\include\eventparameter.i(72) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue’
c:\panda3d-1.6.2\include\eventparameter.i(82) : error C2385: ‘EventStoreValue::new’ is ambiguous
c:\panda3d-1.6.2\include\eventparameter.i(82) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class 'EventStoreValue<double

c:\panda3d-1.6.2\include\eventparameter.i(82) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue’
c:\panda3d-1.6.2\include\eventparameter.i(82) : error C2385: ‘EventStoreValue::delete’ is ambiguous
c:\panda3d-1.6.2\include\eventparameter.i(82) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue’
c:\panda3d-1.6.2\include\eventparameter.i(82) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue’
c:\panda3d-1.6.2\include\eventparameter.i(91) : error C2385: ‘EventStoreValue<class std::basic_string<char,struct std::char_traits,class std::allocator > >::new’ is ambiguous
c:\panda3d-1.6.2\include\eventparameter.i(91) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue<class
std::basic_string<char,struct std::char_traits,class std::allocator > >’
c:\panda3d-1.6.2\include\eventparameter.i(91) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue<class std::basic_string<char,stru
ct std::char_traits,class std::allocator > >’
c:\panda3d-1.6.2\include\eventparameter.i(91) : error C2385: ‘EventStoreValue<class std::basic_string<char,struct std::char_traits,class std::allocator > >::delete’ is ambiguous
c:\panda3d-1.6.2\include\eventparameter.i(91) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue<cla
ss std::basic_string<char,struct std::char_traits,class std::allocator > >’
c:\panda3d-1.6.2\include\eventparameter.i(91) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue<class std::basic_string<char,s
truct std::char_traits,class std::allocator > >’
c:\panda3d-1.6.2\include\eventparameter.i(99) : error C2385: ‘EventStoreValue<class std::basic_string<unsigned short,struct std::char_traits,class std::allocator > >::new’ is ambiguous
c:\panda3d-1.6.2\include\eventparameter.i(99) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue<class
std::basic_string<unsigned short,struct std::char_traits,class std::allocator > >’
c:\panda3d-1.6.2\include\eventparameter.i(99) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue<class std::basic_string<unsigned
short,struct std::char_traits,class std::allocator > >’
c:\panda3d-1.6.2\include\eventparameter.i(99) : error C2385: ‘EventStoreValue<class std::basic_string<unsigned short,struct std::char_traits,class std::allocator > >::delete’ is ambiguous
c:\panda3d-1.6.2\include\eventparameter.i(99) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue<cla
ss std::basic_string<unsigned short,struct std::char_traits,class std::allocator > >’
c:\panda3d-1.6.2\include\eventparameter.i(99) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of base ‘EventStoreValueBase’ of class ‘EventStoreValue<class std::basic_string<unsign
ed short,struct std::char_traits,class std::allocator > >’
c:\panda3d-1.6.2\include\pandanode.i(410) : warning C4273: ‘get_prev_transform’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\pandanode.i(641) : warning C4273: ‘is_bounds_stale’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\pandanode.i(1699) : warning C4273: ‘get_prev_transform’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\nodepath.i(39) : error C2385: ‘PandaNode::new’ is ambiguous
c:\panda3d-1.6.2\include\nodepath.i(39) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of class ‘PandaNode’
c:\panda3d-1.6.2\include\nodepath.i(39) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of class ‘PandaNode’
c:\panda3d-1.6.2\include\nodepath.i(39) : error C2385: ‘PandaNode::delete’ is ambiguous
c:\panda3d-1.6.2\include\nodepath.i(39) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of class ‘PandaNode’
c:\panda3d-1.6.2\include\nodepath.i(39) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of class ‘PandaNode’
c:\panda3d-1.6.2\include\nodepath.i(448) : error C2385: ‘PandaNode::new’ is ambiguous
c:\panda3d-1.6.2\include\nodepath.i(448) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of class ‘PandaNode’
c:\panda3d-1.6.2\include\nodepath.i(448) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of class ‘PandaNode’
c:\panda3d-1.6.2\include\nodepath.i(448) : error C2385: ‘PandaNode::delete’ is ambiguous
c:\panda3d-1.6.2\include\nodepath.i(448) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of class ‘PandaNode’
c:\panda3d-1.6.2\include\nodepath.i(448) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of class ‘PandaNode’
c:\panda3d-1.6.2\include\geomnode.i(247) : error C2248: ‘GeomList’ : cannot access private typedef declared in class ‘GeomNode’
c:\panda3d-1.6.2\include\geomnode.h(123) : see declaration of ‘GeomList’
c:\panda3d-1.6.2\include\geomnode.i(247) : error C2248: ‘GeomList’ : cannot access private typedef declared in class ‘GeomNode’
c:\panda3d-1.6.2\include\geomnode.h(123) : see declaration of ‘GeomList’
c:\panda3d-1.6.2\include\textureattrib.h(109) : error C2027: use of undefined type ‘TextureAttrib’
c:\panda3d-1.6.2\include\textureattrib.h(33) : see declaration of ‘TextureAttrib’
c:\panda3d-1.6.2\include\textureattrib.h(109) : error C2027: use of undefined type ‘TextureAttrib’
c:\panda3d-1.6.2\include\textureattrib.h(33) : see declaration of ‘TextureAttrib’
c:\panda3d-1.6.2\include\textureattrib.h(114) : error C2027: use of undefined type ‘TextureAttrib’
c:\panda3d-1.6.2\include\textureattrib.h(33) : see declaration of ‘TextureAttrib’
c:\panda3d-1.6.2\include\textureattrib.h(114) : error C2027: use of undefined type ‘TextureAttrib’
c:\panda3d-1.6.2\include\textureattrib.h(33) : see declaration of ‘TextureAttrib’
c:\panda3d-1.6.2\include\textureattrib.h(119) : error C2027: use of undefined type ‘TextureAttrib’
c:\panda3d-1.6.2\include\textureattrib.h(33) : see declaration of ‘TextureAttrib’
c:\panda3d-1.6.2\include\textureattrib.h(119) : error C2027: use of undefined type ‘TextureAttrib’
c:\panda3d-1.6.2\include\textureattrib.h(33) : see declaration of ‘TextureAttrib’
c:\panda3d-1.6.2\include\graphicsstateguardian.i(731) : error C2385: ‘TextureStage::new’ is ambiguous
c:\panda3d-1.6.2\include\graphicsstateguardian.i(731) : warning C4385: could be the ‘new’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘TextureStage’
c:\panda3d-1.6.2\include\graphicsstateguardian.i(731) : warning C4385: or the ‘new’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘TextureStage’
c:\panda3d-1.6.2\include\graphicsstateguardian.i(731) : error C2385: ‘TextureStage::delete’ is ambiguous
c:\panda3d-1.6.2\include\graphicsstateguardian.i(731) : warning C4385: could be the ‘delete’ in base ‘MemoryBase’ of base ‘TypedObject’ of base ‘TypedWritable’ of base ‘TypedWritableReferenceCount’ of class ‘TextureStage’
c:\panda3d-1.6.2\include\graphicsstateguardian.i(731) : warning C4385: or the ‘delete’ in base ‘MemoryBase’ of base ‘ReferenceCount’ of base ‘TypedWritableReferenceCount’ of class ‘TextureStage’
c:\panda3d-1.6.2\include\geomvertexreader.i(336) : error C2226: syntax error : unexpected type ‘GeomVertexReader’
c:\panda3d-1.6.2\include\geomvertexwriter.i(298) : error C2226: syntax error : unexpected type ‘GeomVertexWriter’
c:\panda3d-1.6.2\include\textassembler.i(151) : warning C4273: ‘calc_r’ : inconsistent dll linkage. dllexport assumed.
c:\panda3d-1.6.2\include\textassembler.i(172) : warning C4273: ‘calc_c’ : inconsistent dll linkage. dllexport assumed.
Error executing cl.exe.

You’re using VC2008 (VC9), right? I think that’s the only compiler that will work.

no,I’m using VC6.So I need VC9?

Absolutely, yes.

ok,when I download it,I let you knew if is working perfectly.

ok,I have downloaded VC9,there I can include both of these files: C:\Panda3D-1.6.2\include and C:\Panda3D-1.6.2\python\include but its the same error :frowning:
can you download the VC9 and writhe step by step tutorial how tu compile that script? :frowning: download link: microsoft.com/express/download

1>c:\panda3d-1.6.2\python\include\pyconfig.h(51) : warning C4005: ‘HAVE_IO_H’ : macro redefinition
1> c:\panda3d-1.6.2\include\dtool_config.h(56) : see previous definition of ‘HAVE_IO_H’
1>c:\panda3d-1.6.2\include\socket_address.h(182) : warning C4996: ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of ‘sprintf’
1>c:\panda3d-1.6.2\include\time_clock.h(195) : warning C4996: ‘gmtime’: This function or variable may be unsafe. Consider using gmtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\time.inl(101) : see declaration of ‘gmtime’
1>c:\panda3d-1.6.2\include\time_clock.h(198) : warning C4996: ‘gmtime’: This function or variable may be unsafe. Consider using gmtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\time.inl(101) : see declaration of ‘gmtime’
1>c:\panda3d-1.6.2\include\time_clock.h(212) : warning C4996: ‘localtime’: This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\time.inl(114) : see declaration of ‘localtime’
1>c:\panda3d-1.6.2\include\time_clock.h(218) : warning C4996: ‘localtime’: This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\time.inl(114) : see declaration of ‘localtime’
1>c:\panda3d-1.6.2\include\time_clock.h(250) : warning C4996: ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of ‘sprintf’
1>c:\panda3d-1.6.2\include\time_clock.h(264) : warning C4996: ‘localtime’: This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\time.inl(114) : see declaration of ‘localtime’
1>c:\panda3d-1.6.2\include\time_clock.h(298) : warning C4996: ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of ‘sprintf’
1>c:\panda3d-1.6.2\include\time_clock.h(311) : warning C4996: ‘gmtime’: This function or variable may be unsafe. Consider using gmtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\time.inl(101) : see declaration of ‘gmtime’
1>c:\panda3d-1.6.2\include\time_span.h(372) : warning C4996: ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of ‘sprintf’
1>c:\panda3d-1.6.2\include\time_span.h(375) : warning C4996: ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of ‘sprintf’
1>c:\panda3d-1.6.2\include\time_span.h(378) : warning C4996: ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of ‘sprintf’
1>c:\panda3d-1.6.2\include\time_span.h(381) : warning C4996: ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of ‘sprintf’
1>c:\panda3d-1.6.2\include\time_span.h(384) : warning C4996: ‘sprintf’: This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of ‘sprintf’
1>c:\panda3d-1.6.2\include\time_general.h(161) : warning C4996: ‘sscanf’: This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1> C:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(324) : see declaration of ‘sscanf’
1>c:\panda3d-1.6.2\include\bitArray.I(21) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(31) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(44) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(56) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(56) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(69) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(69) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(81) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(81) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(91) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(91) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(103) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(103) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(116) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(116) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(128) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(145) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(163) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(177) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(194) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(207) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(225) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(245) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(265) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(281) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(294) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(294) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(320) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(348) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(363) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(375) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(375) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(395) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(408) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(419) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(429) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(441) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(451) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(451) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(463) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(463) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(475) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(475) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(487) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(487) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(499) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(499) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(511) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(511) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.I(526) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\bitArray.h(166) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\pStatClient.h(214) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\sparseArray.h(54) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\sparseArray.h(54) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\partGroup.h(111) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\partGroup.h(114) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\animControl.h(46) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\animControl.h(47) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\animControl.h(62) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\animControl.h(102) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\animControl.I(82) : error C2872: ‘BitArray’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\bitArray.h(42) : BitArray’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::Collections::BitArray’
1>c:\panda3d-1.6.2\include\eventHandler.I(23) : error C2872: ‘EventHandler’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\eventHandler.h(41) : EventHandler’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::EventHandler’
1>c:\panda3d-1.6.2\include\eventHandler.I(23) : error C2872: ‘EventHandler’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\eventHandler.h(41) : EventHandler’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::EventHandler’
1>c:\panda3d-1.6.2\include\windowFramework.h(144) : error C2872: ‘EventHandler’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\eventHandler.h(41) : EventHandler’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::EventHandler’
1>C:\Panda3D-1.6.2\include\pandaFramework.h(51) : error C2872: ‘EventHandler’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\eventHandler.h(41) : EventHandler’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::EventHandler’
1>C:\Panda3D-1.6.2\include\pandaFramework.h(58) : error C2872: ‘EventHandler’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\eventHandler.h(41) : EventHandler’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::EventHandler’
1>C:\Panda3D-1.6.2\include\pandaFramework.h(173) : error C2872: ‘EventHandler’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\eventHandler.h(41) : EventHandler’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::EventHandler’
1>c:\panda3d-1.6.2\include\pandaFramework.I(53) : error C2872: ‘EventHandler’ : ambiguous symbol
1> could be ‘c:\panda3d-1.6.2\include\eventHandler.h(41) : EventHandler’
1> or ‘c:\windows\microsoft.net\framework\v2.0.50727\mscorlib.dll : System::EventHandler’

Hmm, no idea. Are you compiling in release or debug mode? If the latter, try release mode.

compiling with Visual Studio 2008 Command Prompt

Did you try compiling in Release mode?

I think no,how to compile in release mode?

I have searched the internet for that problem and I have found how to make pandaFramework.h be included,but the compiler don’t including that file and don’t finding it,allways the same error: no such file or directory :frowning:
maybe you now,how to make it work,so I go to: Tools>Options>Projects and Soliutions>VC++ Directories but when I set all what must to be there if I whant to include that file there,and when I trying to compile again tere pops up the same error,maybe now you now how to help me? :frowning: