VS2010中配置Openframework
首先去官网下载Openframework,下载后好解压到C盘根目录下(不然会出现各种问题,我也不知道怎么解决),随便打开其中的例程,然后右击该工程,选择属性,如下图:
接着在C\C++常规选项里面添加“附加包含目录”,把openframework文件夹下的lib文件夹下的include文件夹都包含进去
接着再添加“链接器”里面“常规”-附加库目录的内容,把openframework含有lib的文件夹包含进去
*后把输出清单文件全“否”掉
这样就大功告成了,编译一下就OK了。
为了方便,把刚刚头文件需要包含的目录和库文件需要包含的目录复制下来,以后直接复制进去就好了。(下面的貌似没显示全,不知道为什么)
C:\openframework\libs\videoInput\include;C:\openframework\libs\tess2\include;
C:\openframework\libs\rtAudio\include;
C:\openframework\libs\quicktime\include;
C:\openframework\libs\portaudio\include;
C:\openframework\libs\poco\include;
C:\openframework\libs\kiss\include;
C:\openframework\libs\glu\include;
C:\openframework\libs\glew\include;
C:\openframework\libs\glut\include;
C:\openframework\libs\FreeImage\include;
C:\openframework\libs\fmodex\include;
C:\openframework\libs\cairo\include;
C:\openframework\libs\assimp\include;
C:\openframework\libs\openFrameworks\video;
C:\openframework\libs\openFrameworks\utils;
C:\openframework\libs\openFrameworks\types;
C:\openframework\libs\openFrameworks\sound;
C:\openframework\libs\openFrameworks\math;
C:\openframework\libs\openFrameworks\graphics;
:\openframework\libs\openFrameworks\gl;
C:\openframework\libs\openFrameworks\events;
C:\openframework\libs\openFrameworks\communication;
C:\openframework\libs\openFrameworks\app;
C:\openframework\libs\openFrameworks\3d;
C:\openframework\libs\openFrameworks;
C:\openframework\addons;%(AdditionalIncludeDirectories);src
C:\openframework\libs\openFrameworksCompiled\lib\vs2010;
%(AdditionalLibraryDirectories)
- 上一篇:VS2015 快捷键速查 2018/5/5
- 下一篇:Unity3d Rigidbody 碰撞穿透 2018/4/25