Orange Forum • View topic - VC 2008 Express building problem - Network class problem?

VC 2008 Express building problem - Network class problem?

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

VC 2008 Express building problem - Network class problem?

Postby Wojtek » Thu Feb 04, 2010 13:08

1. problem: class 'Network' will not be picklable (after running _pyxtract.bat)

2. Building problem (Visual Studio 2008 Express):

e:\orange\source\orangeom\network.cpp(406) : warning C4700: uninitialized local variable 'node' used

4>Linking...
4> Creating library c:\Python25\lib\site-packages\orange\libs/orangeom_d.lib and object c:\Python25\lib\site-packages\orange\libs/orangeom_d.exp
4>network.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class TGraphAsList * __thiscall GCPtr<class TGraphAsList>::getUnwrappedPtr(void)" (__imp_?getUnwrappedPtr@?$GCPtr@VTGraphAsList@@@@QAEPAVTGraphAsList@@XZ) referenced in function "struct _object * __cdecl Network_new(struct _typeobject *,struct _object *,struct _object *)" (?Network_new@@YAPAU_object@@PAU_typeobject@@PAU1@1@Z)
4>c:\Python25/lib/site-packages/orange/orangeom_d.pyd : fatal error LNK1120: 1 unresolved externals


E:\orange\source\orangeom>_pyxtract.bat

E:\orange\source\orangeom>python ../pyxtract/pyprops.py -l ../orange/ppp/stamp
-l ../orange/ppp/lists -n orangeom

E:\orange\source\orangeom>python ../pyxtract/pyxtract.py -m -n orangeom -l ../or
ange/px/stamp -w OM triangulate.cpp optimizeAnchors.cpp orangeom.cpp mds.cpp net
workoptimization.cpp network.cpp
Parsing triangulate.cpp
Parsing optimizeAnchors.cpp
Parsing orangeom.cpp
Parsing mds.cpp
Parsing networkoptimization.cpp
Parsing network.cpp
Warning: class 'NetworkOptimization' will not be picklable
Warning: class 'Network' will not be picklable

Re: VC 2008 Express building problem - Network class problem

Postby Wojtek » Mon Feb 08, 2010 10:46

the problem is with debug build, release build has succeeded (Visual Studio 2008 Express)


Return to Bugs