srinivas440 (1) [Avatar] Offline
#1
I working on MSVC++ wxWidgets-3.0 application with embedded wxPython-3.0.

Though my system already had Python 2.7 & wxPython -3.0 installed i've done the following : (Since we need to have same build configuration for wxWidgets app , Python and wxPython)

I have downloaded and built wxWidgets as DLL-Debug in 64 bit , then I ran sample minimal project with DLL-Debug mode (64 bit) sucessfully.

I downloaded Python2.7 source and bulit it in Debug(64 bit) , then i copied debug dlls & libs to python installation folder (DLLs & libs).

I downloaded wxPython3.0 source and bulit it in DLL-Debug mode(64 bit) , then i Copied debug dlls & libs to python installed folder (Libsite-packageswx-3.0-mswwx).

I got embedded.cpp from wxPython embedded samples and i copied the code from embedded.cpp to minimal.cpp of my wxWidgets samples minimal app.

project property setting:

c/c++:

General -- Additional include directories

Csmilieython27include

.....libvc_dllmswud

.....include
Linker:

General -- Additional library directories

Csmilieython27libs

D:Nuvsoft27
ewpywxWidgets-3.0.0libvc_dll


Input -- Additional dependncies

wxmsw30ud_core.lib
.
.
.
Python27_d.lib
system environment variables.

PATH -- D:Nuvsoft27
ewpywxWidgets-3.0.0libvc_dll

PYTHONPATH -- Csmilieython27
Issue:

it is failing in wxPyCoreAPI_IMPORT() function , its returning false.

Could you please help me out of this , am i doing anything wrong.