Re: Unresolved External Symbol when Compiling ccplot
CloudSat and CALIPSO plotting tool
Brought to you by:
peterkuma
From: Peter K. <pet...@wa...> - 2014-11-27 12:36:26
|
On 11/26/2014 10:04 PM, ANDREW HITCHNER (RIT Student) wrote: > Hello, > > I am trying to build ccplot, but I get an error "Unresolved external > symbol referenced in function"In fct this happens 3 times, and seems to > be . hdf.obj build. An example would be "unresolved external symbol > VSinquire referenced in function _pyx_pf_6ccplot_3hdf_3HDF_32_read_vdata > > I am using a 64 bit Windows 7 machine with Python 2.7. > > Thank you for your help. > > Andrew Hi Andrew, When building on Windows, you should make sure you have the HDF4 and HDFEOS2 libraries installed. Right now the paths to the libraries are hard-coded in setup.py to: C:\Program Files (x86)\HDF_Group\HDF\4.2.9 C:\Program Files (x86)\hdfeos2.18 If you use different versions, just update the paths in setup.py. I think you need the "static" win32 version of HDF4. The windows build on the ccplot.org website was made with Visual C++ 2008 Express Edition. If I remember right, it was because python2.7 itself is compiled with this version of VS, so it was necessary. ccplot can be built with the command: python setup.py bdist_wininst If everything goes well, it produces the installer executable in dist. If it doesn't work for you, please let me know, I have to try myself, as it has been a long time since I was making the build. Good luck! Peter |