English 中文(简体)
如何固定视力演播室联系器的挫折感
原标题:How to fix Visual Studio linker frustration

我在撰写我自己的法典时有相当的经验,但在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:

  1. Added additional /LIBPATH path under Properties ->Linker->General
  2. Added explicit lib references under Properties->Linker->Input
  3. Added all the paths containing LEDA header files and libraries to every path location I can find, like include path, reference path, library path.
  4. Copied the DLLs and LIBs to the release folder as well as the base folder of the project.
  5. Added a #pragma comment( lib, "leda" )

Still no joy.

这种做法非常糟糕,因为没有一个习俗类型错误被承认为气球错误,达到646个错误。

If anyone is kind enough to offer assistance, thank you.

最佳回答

我不能保证这样做,而是努力采取下列步骤(利用它预设的道路,而不是建立你自己的道路):

(1) 制成Windows/System32或/和(在我的头目中对X64和x32缺省检查有一些混淆) Windows/SysWOW64。

2) 拷贝 *h 档案输入X:Path ToVC2010include

页: 1

问题回答

暂无回答




相关问题
how to reliable capture display setting changed

static void Main() { // Set the SystemEvents class to receive event notification when a user // when display settings change. SystemEvents.DisplaySettingsChanged += new ...

Why use CComBSTR instead of just passing a WCHAR*?

I m new to COM. What exactly is the advantage of replacing: L"String" with CComBSTR(L"String") I can see a changelist in the COM part of my .NET application where all strings are replaced in this ...

COM Basic links

folks can you provide me the tutorial link or .pdf for learning basic COM?. i do google it.. still i recommend answers of stackoverflow so please pass me.. Thanks

Statically linking Winsock?

I m using Winsock 1.1 in my project. I include wsock32.lib in "Additional Dependencies". I m looking at the DLL project using depends.exe and notice that the DLL depends on wsock32.dll. How can I ...

热门标签