Posts: 61
Threads: 6
Joined: Jan 2005
I'v downloaded TortoiseCVS and MinGW-3.1.0-1, and managed to get TortoiseCVS to download all the fb cvs files, but how and with whitch tools from mingw should I compile the gfxlib2 src?
I'v been searching this forum, but have only found some instructions on how to compile the fb compiler..
Posts: 3,288
Threads: 167
Joined: Nov 2001
Somebody (Dumbledore) should write a sticky regarding this.
Posts: 1,439
Threads: 15
Joined: Apr 2003
To compile the gfxlib2 source on Windows, you just need the standard mingw GNU gcc, binutils, and makeutils; just cd to the directory with the 'makefile' and type 'make'.
Posts: 61
Threads: 6
Joined: Jan 2005
If I type "make" I get a error message saying thers no thing named "make"
I tried this, but still got a error message:
Code:
E:\fbCVS\FreeBASIC\src\gfxlib2>d:\mingw\bin\mingw32-make.exe
gcc -c -O3 -Wall -I . -DTARGET_WIN32 libfb_gfx_access.c -o obj/win32/libfb_gfx_a
ccess.o
gcc: installation problem, cannot exec `cc1': No such file or directory
d:\mingw\bin\mingw32-make.exe: *** [obj/win32/libfb_gfx_access.o] Error 1
Posts: 1,439
Threads: 15
Joined: Apr 2003
Make sure 'make' is in your PATH. For example, if you're using the mingw tools installed with Dev-C++ and you installed Dev-C++ in C:\Dev-Cpp, do 'SET PATH=C:\Dev-Cpp\bin;%PATH%'. Then try make.
Posts: 61
Threads: 6
Joined: Jan 2005
I have not installed dev-cpp, but downloaded "MinGW-3.1.0-1.exe" and installed it to "d:\mingw". In "d:\mingw\bin" you can find lots of exe's, "gcc.exe", "mingw32-gcc.exe", "mingw32-make.exe"..... there's no file called "make.exe" tho..
I tried to add "SET PATH=d:\mingw\bin;%PATH%" in win.ini but that did'nt change anything..
edit: Im using winXP
edit2: managed to compile it, thanx dumbledore!
Posts: 658
Threads: 71
Joined: Sep 2003
also make sure you have directx headers. (if you use dev-cpp then aviable via devpacks)
url]http://fbide.sourceforge.net/[/url]