Waldemar Schultz escribió:
Go to the src subdir and execute "make -f makefile.w32"
O.K.
Go to the test subdir and execute "make -f makefile.w32"
#66:W98 E:\DJGPP\CONTRIB\grx24\test>make -f makefile.w32 gcc -o arctest.exe arctest.o ../lib/win32/libgrx20.a -lm -mwindows arctest.o(.text+0x17):arctest.c: undefined reference to `mcount' arctest.o(.text+0x549):arctest.c: undefined reference to `mcount' arctest.o(.text+0x73a):arctest.c: undefined reference to `mcount' arctest.o(.text+0xab5):arctest.c: undefined reference to `mcount' ../lib/win32/libgrx20.a(fillell2.o)(.text+0x13):fillell2.c: undefined reference to `mcount' ../lib/win32/libgrx20.a(w32keys.o)(.text+0x11):w32keys.c: more undefined referen ces to `mcount' follow E:\MINGW\BIN\MAKE.EXE: *** [arctest.exe] Error 1
It sounds like you have edited makedefs.gnu and defined the PROFILE macro, it is?
Mariano Alvarez Fernandez schrieb:
../lib/win32/libgrx20.a(w32keys.o)(.text+0x11):w32keys.c: more undefined referen ces to `mcount' follow E:\MINGW\BIN\MAKE.EXE: *** [arctest.exe] Error 1
It sounds like you have edited makedefs.gnu and defined the PROFILE macro, it is?
no, but there was set an environment variable named PROFILE=... from an other of my projects.
thanks
BTW why didn't you suggest just to go to the GRX24 directory and execute "make -f makefile.w32" ?
report for my w32 installation WIN98 SE / MATROX G 450: some of the test progams behave very different with respect to the DJ2 installation:
most are very slow and have only resolution 640x480. Keys (input window != output window) CircTest (too fast) MouseTest (bad colors, unreadable text, wrong mouse mode, visible mouse tracks) maybe an xor problem TextPatt (bad background)
Waldemar Schultz escribió:
BTW why didn't you suggest just to go to the GRX24 directory and execute "make -f makefile.w32" ?
I simple didn't changed the instructions of previous releases, and I think you have better control about what you are doing in this way.
report for my w32 installation WIN98 SE / MATROX G 450: some of the test progams behave very different with respect to the DJ2 installation:
Thanks, for your report, but note that te win32 version is in alpha stage an is very slow, it needs work.
most are very slow and have only resolution 640x480.
What says modetest about?, You can set the GRX20DRV in the usual way.
Keys (input window != output window)
Spected, because the text mode doesn't work perfectly.
CircTest (too fast)
This is because the sleep function in Win32 accept milisecond resolution, and only seconds in DJ. A new API routine in 2.4.1 'GrSleep' will fix that.
MouseTest (bad colors, unreadable text, wrong mouse mode, visible mouse
tracks) maybe an xor problem TextPatt (bad background)
This is because logical operations for 8 bpp are wrong implemented (the 24bpp works well), they must operate over color indices.
M.Alvarez
Mariano Alvarez Fernandez schrieb:
This is because logical operations for 8 bpp are wrong implemented (the 24bpp works well), they must operate over color indices.
I tried mousetst 640 480 16M doesn't work either :(
Thanks for your smart work helping me.
So I dare to ask for an installation guide for using DJGPP+GRX under LINUX. What version/implementation of LINUX do you propose. What do I need to compile my projects (DOSEMU ?) ? I didn't work on LINUX platforms yet, but they told me I have to for the future...
Waldemar Schultz escribió:
I tried mousetst 640 480 16M doesn't work either :(
Sorry, it works but with the 2.4.1 (not released yet)
Thanks for your smart work helping me.
So I dare to ask for an installation guide for using DJGPP+GRX under LINUX. What version/implementation of LINUX do you propose. What do I need to compile my projects (DOSEMU ?) ? I didn't work on LINUX platforms yet, but they told me I have to for the future...
No, you don't need Dosemu (except if you want to make the dos version on linux). Really yo don't need nothing. Most linux distributions comes with all required software.
M.Alvarez
Mariano Alvarez Fernandez wrote:
What do I need to compile my projects (DOSEMU ?) ? I didn't work on LINUX platforms yet, but they told me I have to for the future...
No, you don't need Dosemu (except if you want to make the dos version on linux). Really yo don't need nothing. Most linux distributions comes with all required software.
In fact you do not need DOSemu even if you are developing for MS-DOS. I am regularily cross compiling my MS-DOS programs using GRX from Linux.
Peter
A question about Mingw: Where can I learn more about compiler options like -mwindows or -mconsole? I didn't find in the Mingw docs. Thanks for advice.
when compiling MINGW/GRX/BGI programs I have noticed that if you use setwritemode(XOR_PUT) once, setwritemode(COPY_PUT) does not switch back to normal write mod but stays in xor-mode. This effect does not occur in DJGPP/GRX/BGI environment. Does anyone know a workaround ? Thanks for attention.
can anyone please tell me why getch() doesn't work in a console window ? and what about thet kbhit(9 flushing in modetest.c ?
Thanks for explanation.