FLTK 1.3.3 VS 2010 Configuration 配置
Download FLTK 1.3.3
Download VS2010
I assume you've already installed VS2010 correctly.
Compile the FLTK:
Go to your FLTK 1.3.3 folder (C:\FLTK\fltk-1.3.3\ide\VisualC2010), open fltk.sln, choose Release mode, right click Solution 'fltk' (79 projects), choose Rebuild.
Wait a long time for make process, have a cup of coffee :)
Now, the configuration is done, enjoy it :)
Create a new empty project,
Project->Project Property->Configuration Properties->VC++Directories ->Include Directories:
C:\FLTK\fltk-1.3.3
Project->Project Property->Configuration Properties->VC++Directories ->Library Directories:
C:\FLTK\fltk-1.3.3\lib
Project->Project Property->Configuration Properties->Linker->Input:
wsock32.lib
comctl32.lib
fltk.lib
fltkforms.lib
fltk_forms.lib
fltkgl.lib
fltk_gl.lib
fltkimages.lib
fltk_images.lib
fltkjpeg.lib
fltk_jpeg.lib
fltkpng.lib
fltk_png.lib
fltkzlib.lib
fltk_zlib.lib
Create a test.cpp file as below:
#define WIN32 #include "FL/Fl.h" #include "FL/Fl_Box.h" #include "FL/Fl_Window.h" int main() { Fl_Window window(500,500, "Test"); Fl_Box box(0,0,500,500,"Hello World!"); window.show(); return Fl::run(); }
相关文章
- 电子书 VS 纸质书
- 将 VS Code 终端设置为始终以管理员权限打开
- visual studio 2019 (vs) 显示右侧缩略图
- [ES6] Extends class in ES6 vs ES5 subclass
- [TypeScript] Typescript Interfaces vs Aliases Union & Intersection Types
- Atitit 数据库 负载均衡 方法总结 目录 1. 对称模型负载均衡 vs 非对称模型2 1.1. 业务分离法2 1.2. App + db分布式分离法2 2. 负载均衡算法2 2.1.
- dhtmlxGantt standard vs dhtmlxGantt pro
- 使用 VS Code 远程调试 Python 程序
- 成功解决Visual Studio 2015安装时,点击vs_community.exe 没有反应
- IDE之VS:利用 Visual Studio中的IDE配置C++语言进行编程
- VS项目出现WINDOWS.H already included. MFC apps must not #include <Windows.h>
- acdream 1431 Sum vs Product
- C语言使用技巧(二十):万能模板【拿走不谢】:VS CODE配置C/C++编译环境
- 如何在VS C++中高亮用户自定义关键字
- 一文吃透 VS Code+Git 操作(vs code中git的相关配置与使用)
- VB.net:VB.net编程语言学习之基于VB.net语言控制VS软件中的窗体(各种控件及其属性代码说明)的简介、案例应用(GUI界面设计代码案例)之详细攻略