简体   繁体   English

如何在Visual Studio Express上运行AuBio(开源C程序)

[英]How to run AuBio (an Open Source C program) on Visual Studio Express

I am trying to get an open source software called AuBio ( Source ) to run on Visual studio express but I am having a lot of problems getting it to build. 我正在尝试获取一个名为AuBioSource )的开源软件以在Visual Studio Express上运行,但是在构建它时遇到了很多问题。

What I've Done: 我所做的:

I opened a new C/C++ solution on VS Express then copied all the header files in the source folder (SRC) into the "Header Files" filter of my project then copied all the C files in the SRC folder into the "Source Files" filter of my project. 我在VS Express上打开了一个新的C / C ++解决方案,然后将源文件夹(SRC)中的所有头文件复制到项目的“头文件”过滤器中,然后将SRC文件夹中的所有C文件复制到“源文件”中我的项目的过滤器。 I have also downloaded all the 3 dependencies required to run AuBio but I do not know where to put them because the "External Dependencies" filter of my project does not seem to want accept them. 我还下载了运行AuBio所需的所有3个依赖关系 ,但我不知道将它们放在哪里,因为我项目的“外部依赖关系”过滤器似乎不想接受它们。

Can someone please guide me on how I can go about about building this program? 有人可以指导我如何构建此程序吗?

Addition : The dependencies are other open source projects; 另外 :依赖关系是其他开源项目。 the build instructions for AuBio ( which are HERE ) tell me that I need to install the dependencies before I use AuBio but I have no clue how I can do that. AuBio的构建说明(在此处 )告诉我在使用AuBio之前需要安装依赖项,但是我不知道如何做到这一点。

AuBio also provides a pre-compiled version of it's software (it's cross compiled on MingGW32, and is here ) which consists of exe files for each major class and dll files for both AuBio and all it's dependencies, but I have no idea how to use these too, when I download and try to run the exe's they refuse to run. AuBio还提供了该软件的预编译版本(在MingGW32上交叉编译,位于此处 ),其中包含每个主要类的exe文件和AuBio及其所有依赖项的dll文件,但是我不知道如何使用这些也是,当我下载并尝试运行exe时,他们拒绝运行。

I am really stuck on this can someone help? 我真的很坚持,有人可以帮忙吗?

It's not clear what you mean by filter. 不清楚您所说的过滤器是什么意思。 Do the header files and source files appear in 'Solution View' of the project? 头文件和源文件是否出现在项目的“解决方案视图”中? If not you need to add them to the project using the Project, Add Existing Item menu command. 如果不是,则需要使用“项目”将它们添加到项目中,添加现有项目菜单命令。

Dependencies: If they are .lib files then add a line like this to your source files: 依赖关系:如果它们是.lib文件,则将这样的行添加到源文件中:

#pragma comment (lib,"libname.lib")

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM