Canged country code to languge code.
Hello Christer, I trust that your day is going well! I tried 'make STATICLINK=1' however it hit the error 'no such file or directory', which I don'tunderstand since environment variables MINGDIR, ALLEGRO, and paths are set properly. The Allegro library has worked with other graphics programs without extended delay or any otherproblem when loading. If I had more time available, I would research it further. CGUI dialogslook great and I like how the controls function. However I cannot put any more time...
Hello Joseph. That was good news. Well done! What kind of warnings were there? gcc version 4.8.4 gives no warnings on Linux. You can see the version number by command "gcc --version". Strange with the startup delay. A difference to the Linux system is the handling of dynamic libraries. Have you tried the static linked version? One can do that by running "make clean" and then "make STATICLINK=1". Alternatively you could test to change to a different initialization function in one of the examples,...
Hello Christer,I made the edit to cgui.def and dllsyms.lst that you suggested and it eliminated the undefined reference error for 'InsertIntoWinClip'. During compilation, there was one other error resulting in failure regarding conflicting type for 'strerror_r'. I edited filedial.c and filebuff.c to eliminate the error then cleaned and re-compiled.The compiler produced these files:libcgui.acgui21.dllThere were many warnings reported by the compiler but I did not try to correct those. I just allowed...
Hi OK, you can remove that line, but that will not solve the problem. There is a text file cgui/lib/mingw32/cgui.def. Line 114 should look like this: InsertIntoWinClip @112 Remove that line. There is another text file cgui/misc/dllsyms.lst which has a line 112 that looks like: InsertIntoWinClip Remove the text from that line but keep the empty line. In the best case this will solve the problem, but I doubt it will. It might seem strange that I haven't discovered these problems myself, but I am working...
Hello Christer,Thank you for the quick response!There was no reference in obedbox.c for 'InsertIntoWinClip'.I searched other files in CGUI directories and found one reference.It is in line 12 of 'clipwin.h':CGUI_FUNC(int, InsertIntoWinClip, (char *p));Best regards,Joe From: "Christer Sandberg" chrisan@users.sourceforge.net To: "[cgui:bugs] " 109@bugs.cgui.p.re.sourceforge.net Subject: [cgui:bugs] Re: #109 #100 CGUI 2.1 does not build on Windows Date: Tue, 14 Feb 2023 09:46:14 -0000
Thank you for the bug report. I have downloaded the 2.1 packages (both zip and tar) and made a global text search through the entire source code, and get no matches for the text "InsertIntoWinClip" and get no matches. However, I looked into the revision history on sourceforge and found that there exists a reference to InsertIntoWinClip in the file obedbox.c in the src directory. Can you check if this is the case also in your code? If so, I guess that you have got an older version ov CGUI, not 2.1....
#100 CGUI 2.1 does not build on Windows
Modified usages of english language tag in language files to conform with the parsing tool.^C
Replaced english language code from en to gb. Corrected the percentage handling in mktext to follow the intentions.
Fixed bug in handling of time in the edit box.
Added function to control the speed of the mouse wheel.
Fixed bug that froze while editing if another editbox was deactivated in the meantime.
Added the possibility for the application to free memory when the user switches active tab. Added functions to cusomise the tab chain.
Added the possibility for applications to control the color of the delimiter line in list boxes.
Corrected handling of 'blank 0'-function of floating types.
Release 2.1.0
Prepared for version 2.1
Modified build instructions
Added missing declaration
Added missing header
Documented changes
Added option to reduce the view numver of decimals in flot types. Added the possibility to preselect the entire text output. Added copy to/paste from Linux clipboard and primary selection. Adapting to the decimal point type from the locale.
Updated makefiles to work with allegro 4.2
Introduced the possibilty to mark text in text boxes with multiple high light sections.
Added a function to mark text background in arbitrary sectons of a textbox.
Added combo box.
Added combo box.
Removed generated files
Added a function to retrieve the size of an object. Added comments to the browser object.
Added a function to retrieve the size of an object. Added comments to the browser object.
Corrected bug in the Requester that ignored the specified max width; Corrected docs about MkText;Corrected path to Allegro in makefile
Fixed bug in example 29
Initial add
Added default directories
Build fails on 64 bit Linux systems