我在撰写我自己的法典时有相当的经验,但在C++则没有这样做。 我是用来补充的。 NET组装参考资料,我想使用C++。
I downloaded a VC++ 6 project presenting a graph algorithm, opened it in Visual Studio 2010 Ultimate and downloaded the required libraries (LEDA .NET assemblies) however, they came with both DLLs and LIB so I thought I would have no problems with the .NET and C++ connection. Also, the LEDA project comes with C++ style .header files, and static libraries, yet frustration persists.
我将我的LA负责人的档案放在该项目的名录上,因为我可以“确定”所有照样的LA数据类型,并且看到这些数据在LEDA中的定义包括档案。
But, I can not compile/link these data types in. The VS finds their very existence repulsive, and refuses to acknowledge they could possibly be found in leda.lib.
Steps I have already taken:
- Added additional /LIBPATH path under Properties ->Linker->General
- Added explicit lib references under Properties->Linker->Input
- Added all the paths containing LEDA header files and libraries to every path location I can find, like include path, reference path, library path.
- Copied the DLLs and LIBs to the release folder as well as the base folder of the project.
- Added a #pragma comment( lib, "leda" )
Still no joy.
这种做法非常糟糕,因为没有一个习俗类型错误被承认为气球错误,达到646个错误。
If anyone is kind enough to offer assistance, thank you.