图形库配置信息

关于ACLLib

在Win7上正常安装的Dev C++,无论是用的MinGW编译器还是TDM

编译器都是可以正常使用ACLLib的,大多数人的问题可能是:

    在新建项目的时候没有选择Windows Application类型,以及;

    在配置项目的时候,没有加入下面全部8个.a文件:

"C:/Program Files/Dev-Cpp/MinGW32/lib/libwinmm.a"

"C:/Program Files/Dev-Cpp/MinGW32/lib/libmsimg32.a"

"C:/Program Files/Dev-Cpp/MinGW32/lib/libkernel32.a"

"C:/Program Files/Dev-Cpp/MinGW32/lib/libuser32.a"

"C:/Program Files/Dev-Cpp/MinGW32/lib/libgdi32.a"

"C:/Program Files/Dev-Cpp/MinGW32/lib/libole32.a"

"C:/Program Files/Dev-Cpp/MinGW32/lib/liboleaut32.a"

"C:/Program Files/Dev-Cpp/MinGW32/lib/libuuid.a"

    这些.a文件在不同的Dev C++版本下会位于不同的目录,比如配了

TDM编译器的,这些文件就在比较深的目录下,但是简单找一下还是能

在Dev C++安装目录下的mingw32下的某个地方找到的。



../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libwinmm.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libmsimg32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libkernel32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libuser32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libgdi32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libole32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/liboleaut32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libuuid.a










graphics.h的配置信息


-lgraphics -lgdi32 -limm32 -lmsimg32 -lole32 -loleaut32 -lwinmm -luuid -mwindows


../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libgraphics.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libwinmm.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libmsimg32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libkernel32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libuser32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libgdi32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libole32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/liboleaut32.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libuuid.a
../Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libimm32.a

你可能感兴趣的:(图形库配置信息)