SourceForge has been redesigned. Learn more.
Close

#10 dllimport function not allowed

open
nobody
None
5
2004-06-25
2004-06-25
Joe Song
No

I'm compiling the latest code using Visual Studio .Net
(MSVC 7.0). I still get eight errors with the header
file "pnlExInferenceEngine.hpp" during the compilation of
the project tests_pnl_c, all the same:

d:\SoftLibs\PNL\c_pgmtk\include\pnlExInferenceEngine.h
pp(324): error
C2491: 'pnl::CExInfEngine<INF_ENGINE,MODEL,,FALLBACK
_ENGINE1,FALLBACK_ENGINE2>::~__dtor' : definition of
dllimport function not allowed

It is much better now because I used to get hundreds
of such errors when I compiled the older version PNL
code. All other projects compiled except test_pnc_l.

I think Intel has fixed this problem, but perhaps
somehow overlooked this "pnlExInferenceEngine.hpp"
file. Can you please fix this file?

Discussion


Log in to post a comment.