Problems linking visual 2008 and Panda3D 1.7.2

vs-2008
panda3D-1.7.2
Installed panda,
(1)new project>visual c++>win32>win32 console app,
chose _empty project and console app,add main.cpp
(2)installed panda-everything OK
(3)set project on ‘release mode’ and removed ‘ndebug’
(4)added in tools>project>directories
Executable Files
C:\Panda3D-1.7.0\bin

Include Files
C:\Panda3D-1.7.0\python\include
C:\Panda3D-1.7.0\include

Library Files
C:\Panda3D-1.7.0\python\libs
C:\Panda3D-1.7.0\lib
(5)add libs in >properties>linker>input>dt depens
libp3framework.lib
libpanda.lib
libpandafx.lib
libpandaexpress.lib
libp3dtool.lib
libp3dtoolconfig.lib
libp3pystub.lib
libp3direct.lib

(6)copied_
#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);
}
(7)question—>why errors like***–>?

huh???
no errors…???

well thats funny i tried the same procedure following the manual got lots of errors
decided to post a thread (before the three ***)
restarted process while writing the post …
well now it works without any error…
must have missed one step before…
so hope this post help those who have problems with installation…

:smiley:

Got these warning though
—>
------ Build started: Project: Game Dev1, Configuration: Release Win32 ------
Compiling…
main.cpp
F:\Program Files\Microsoft Visual Studio 9.0\VC\include\vector(439) : warning C4275: non dll-interface class ‘std::_Container_base_aux’ used as base for dll-interface class ‘std::_Container_base_aux_alloc_real<_Alloc>’
with
[
_Alloc=pallocator_arraystd::string
]
F:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility(377) : see declaration of ‘std::_Container_base_aux’
f:\panda3d-1.7.2\include\vector_src.h(64) : see reference to class template instantiation ‘std::vector<_Ty,_Ax>’ being compiled
with
[
_Ty=std::string,
_Ax=pallocator_arraystd::string
]
F:\Program Files\Microsoft Visual Studio 9.0\VC\include\vector(439) : warning C4275: non dll-interface class ‘std::_Container_base_aux’ used as base for dll-interface class ‘std::_Container_base_aux_alloc_real<_Alloc>’
with
[
_Alloc=pallocator_array<TypedWritable *>
]
F:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility(377) : see declaration of ‘std::_Container_base_aux’
f:\panda3d-1.7.2\include\vector_src.h(64) : see reference to class template instantiation ‘std::vector<_Ty,_Ax>’ being compiled
with
[
_Ty=TypedWritable *,
_Ax=pallocator_array<TypedWritable *>
]
F:\Program Files\Microsoft Visual Studio 9.0\VC\include\vector(439) : warning C4275: non dll-interface class ‘std::_Container_base_aux’ used as base for dll-interface class ‘std::_Container_base_aux_alloc_real<_Alloc>’
with
[
_Alloc=pallocator_array
]
F:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility(377) : see declaration of ‘std::_Container_base_aux’
f:\panda3d-1.7.2\include\vector_src.h(64) : see reference to class template instantiation ‘std::vector<_Ty,_Ax>’ being compiled
with
[
_Ty=int,
_Ax=pallocator_array
]
F:\Program Files\Microsoft Visual Studio 9.0\VC\include\vector(439) : warning C4275: non dll-interface class ‘std::_Container_base_aux’ used as base for dll-interface class ‘std::_Container_base_aux_alloc_real<_Alloc>’
with
[
_Alloc=pallocator_array
]
F:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility(377) : see declaration of ‘std::_Container_base_aux’
f:\panda3d-1.7.2\include\vector_src.h(64) : see reference to class template instantiation ‘std::vector<_Ty,_Ax>’ being compiled
with
[
_Ty=unsigned char,
_Ax=pallocator_array
]
F:\Program Files\Microsoft Visual Studio 9.0\VC\include\vector(439) : warning C4275: non dll-interface class ‘std::_Container_base_aux’ used as base for dll-interface class ‘std::_Container_base_aux_alloc_real<_Alloc>’
with
[
_Alloc=pallocator_array
]
F:\Program Files\Microsoft Visual Studio 9.0\VC\include\xutility(377) : see declaration of ‘std::_Container_base_aux’
f:\panda3d-1.7.2\include\vector_src.h(64) : see reference to class template instantiation ‘std::vector<_Ty,_Ax>’ being compiled
with
[
_Ty=GraphicsWindowInputDevice,
_Ax=pallocator_array
]
Linking…
Generating code
Finished generating code
Embedding manifest…
Build log was saved at “file://f:\Documents and Settings\math\Desktop\Panda3D GD\Game dev1\Game dev1\Release\BuildLog.htm”
Game Dev1 - 0 error(s), 5 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Is there any reason to worry?

Those warnings are normal.