interrogate2swig.py

Updates

Not too much further really :confused:

  • building libpanda.dll and libframework.dll separately from the python wrappers,
  • then we link _panda.dll from libpanda.lib and libpanda_module.obj; and we do the same for _framework.dll.

pview.exe runs just fine, so its a little (very) odd that the Python wrapped version crashes. I cant think of anything that could be particularly crashoriphically different between the two.

The crash occurs in the open_window() call within the wrapper, ie on this line:


    cout << "about to call openwindow" << endl;
    result = (WindowFramework *)(arg1)->open_window();
    cout << "Never gets to here" << endl;

where arg1 is:


PandaFramework *arg1 = (PandaFramework *) 0 ;

I’m really hoping I dont have to delve into the code to diagnose this, because libpanda.dll takes around 4-8 minutes to link on my machine, even with all optimizations disabled, and incremental linking activated.

Hugh