| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #1885
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Test Framework |
Summary: | Sudoku test program crashes, and make clean doesn't work on Linux |
Version: | 1.1-current |
Created By: | AlbrechtS |
Assigned To: | matt |
Fix Version: | 1.1-current (SVN: v6053) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | AlbrechtS 10:10 Feb 26, 2008 |
| FLTK 1.1.8rc1 (svn -r 6052):
One more small bug:
The sudoku test program crashes, if you choose "Update Helpers" from the menu. Verified on Linux (Segmentation fault) and Windows (crash with request to send message to MS).
And "make clean" doesn't work on Linux:
/tmp/fltk-1.1.8-rc1-6052> make clean === cleaning src === rm: cannot remove `../lib/': Is a directory === cleaning fluid === === cleaning test === === cleaning documentation ===
/tmp/fltk-1.1.8-rc1-6052> ls lib README.lib
Albrecht | |
|
#2 | matt 12:39 Feb 26, 2008 |
| I fixed the Sudoku bug.
The Make environment issue however I could not duplicate. Did you do "make distclean" before running "autoconf" and "configure"?
I will leave this issue pending for now. | |
|
#3 | AlbrechtS 13:32 Feb 26, 2008 |
| (1) Thanks for fixing the sudoku bug :-)
(2) There seems to be another one in blocks :-( [I'm adding this here to avoid creating another STR]. Obviously, the timer doesn't get reset correctly when starting a new game. You can easily test it if you type "+" several times to increase the level (Matt, you know that feature, right? ;-) After finishing the game and starting a new one, the speed seems to be the same like before in level 4, 5 or whatever it was. I looked into the code, but didn't find it in a short time. Maybe you or Mike will find it.
(3) I found the "make clean" problem. The cause is (or seems to be) that I don't have GL/glut or something like that configured.
In fltk/makeinclude, GLLIBNAME is an empty string:
# program to make the archive: LIBNAME = ../lib/libfltk.a FLLIBNAME = ../lib/libfltk_forms.a GLLIBNAME = IMGLIBNAME = ../lib/libfltk_images.a
In fltk/src/Makefile, "../lib/$(GLLIBNAME) therfore becomes "../lib/", and make clean tries to $(RM) a directory file:
clean: -$(RM) *.o *.dll.a core.* *~ *.bck *.bck -$(RM) $(DSONAME) $(FLDSONAME) $(GLDSONAME) $(IMGDSONAME) \ ../lib/$(LIBNAME) ../lib/$(FLLIBNAME) ../lib/$(GLLIBNAME) \ ../lib/$(IMGLIBNAME) \ libfltk.so ...
Albrecht | |
|
#4 | matt 14:05 Feb 26, 2008 |
| 2: Yeah, the + button makes this game exciting :-P . But I can't see the issues you are having. I tried level 15, let it crash, and when I click "Play" again, it starts at level one with the original 0.1 seconds interval. A crash sets the interval to -1, which then causes the Play button to call init(), setting interval back to 0.1 - tested on OS X. Maybe there is a certain timer condition which resets interval_ to a positive value?
3: I believe that the "../lib/" prefix in the RM line is plain wrong anyways because LIBNAME etc. does already contain ../lib/ in its path. So actually it is only coincidence that the concatenated path still points at the right file. This would also solve the GLUT path issue.
Mike? | |
|
#5 | matt 14:06 Feb 26, 2008 |
| PS: don't worry about opening as many STRs as there are bugs or irregularities. It makes it easier to link SVN cahnges to STRs. | |
|
#6 | matt 07:01 Feb 27, 2008 |
| 6052: fixed '../lib/' prefix in src/Makefile | |
[ Return to Bugs & Features ]
|
| |