chessx-users Mailing List for ChessX (Page 6)
Chess Database and PGN viewer
Brought to you by:
hognose
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(2) |
Sep
(1) |
Oct
(3) |
Nov
|
Dec
(1) |
2013 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
(3) |
Mar
(3) |
Apr
(1) |
May
(7) |
Jun
(10) |
Jul
(8) |
Aug
(4) |
Sep
(1) |
Oct
(8) |
Nov
|
Dec
(5) |
2015 |
Jan
(2) |
Feb
|
Mar
|
Apr
(2) |
May
(4) |
Jun
(5) |
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
(1) |
Feb
(4) |
Mar
(2) |
Apr
(4) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(2) |
Dec
|
2017 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
|
Jul
(4) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(4) |
Dec
(1) |
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(3) |
Dec
(2) |
2021 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(3) |
Aug
(5) |
Sep
(3) |
Oct
(1) |
Nov
|
Dec
(1) |
2022 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2023 |
Jan
(1) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: James C. <ja...@co...> - 2014-07-18 14:21:35
|
1. Under Preferences, Game Tab, try playing with the "Column Style", and “Keep variations inline from level” settings. 3. If you select a position in the game text and right click, then select "Add other symbol” #(Diagram). If the show diagrams option is turned on you will see the diagram in the game text. 2. You can copy the game and delete variations you are not interested in and/or promote variations you are interested in. James Coons > On Jul 18, 2014, at 4:32 AM, Fex Xef <fs...@gm...> wrote: > > I have been having difficulty viewing complex PGN files with nested variations in ChessX (mac) and wonder if anyone can help me. These are files with many deeply nested, long variations and subvariations. (Probably 30 or so variations at a depth of 3 or 4 sometimes, around 5-10 moves in some cases. By "depth of 3 or 4" I mean, the main line is depth 0, a subvariation of that at depth 1, a subvariation of that at depth 2, and subvariation of that at depth 3). > > What happens is that the indentation stops making any sense that I can perceive. I am not even sure that ChessX supports this. I have tried modifying the Appearance parameters but it does not help much. > > So some questions: > > (1) What is the best way to view these kinds of deeply annotated, nested PGN file in ChessX (or any other program for that matter). > > (2) Can I easily "split" the PGN file into smaller files with subvariations that might be easier to handle, e.g., write a position and its subtree to another file or something like that? > > (3) What does the "Show Diagrams" option in Appearance Menu mean? It appears to have no effect and I cannot find any documentation for it. > > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds_______________________________________________ > Chessx-users mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/chessx-users |
From: Fex X. <fs...@gm...> - 2014-07-18 09:33:09
|
I have been having difficulty viewing complex PGN files with nested variations in ChessX (mac) and wonder if anyone can help me. These are files with many deeply nested, long variations and subvariations. (Probably 30 or so variations at a depth of 3 or 4 sometimes, around 5-10 moves in some cases. By "depth of 3 or 4" I mean, the main line is depth 0, a subvariation of that at depth 1, a subvariation of that at depth 2, and subvariation of that at depth 3). What happens is that the indentation stops making any sense that I can perceive. I am not even sure that ChessX supports this. I have tried modifying the Appearance parameters but it does not help much. So some questions: (1) What is the best way to view these kinds of deeply annotated, nested PGN file in ChessX (or any other program for that matter). (2) Can I easily "split" the PGN file into smaller files with subvariations that might be easier to handle, e.g., write a position and its subtree to another file or something like that? (3) What does the "Show Diagrams" option in Appearance Menu mean? It appears to have no effect and I cannot find any documentation for it. |
From: Louis Z. <zu...@la...> - 2014-06-28 10:26:53
|
Hi, I'm using version 1.1.0.0, with Stockfish (a UCI engine). I paste a fen and click analyze. While the analysis is ongoing, I make a move on the board. The previous analysis stops and a new analysis is begun. However, it seems that the GUI is sending the ucinewgame command each time I make a move, immediately after it sends the stop command to the engine. This has the effect (at least with Stockfish) of clearing the hash, which is highly undesirable if one is analyzing a line of play. bool UCIEngine::startAnalysis(const Board& board, int nv, int mt) { m_mpv = nv; m_moveTime = mt; if(!isActive()) { return false; } if(m_board == board) { return true; } m_board = board; m_position = board.toFen(); m_waitingOn = "ucinewgame"; send("stop"); send("ucinewgame"); send("isready"); setAnalyzing(true); return true; } The UCI protocol suggests that sending ucinewgame in this situation is incorrect: * ucinewgame this is sent to the engine when the next search (started with "position" and "go") will be *from a different game*. This can be a new game the engine should play or a new game it should analyse but also the next position from a testsuite with positions only. This behavior does not seem to exist in 0.9.7.0 (which I had and could check). How can I work around this, or do I need to edit source code and recompile to achieve what I want? Thanks, Louis |
From: Fex X. <fs...@gm...> - 2014-06-11 13:15:17
|
I was getting some very mysterious "Find Position" behavior that I was not able to reproduce. I had a file of 11 positions in pgn format. I made one move in the game 1 position, then did "Find Position". chessx was supposed to find game 8 in the file. But it didn't , it just indicated "game 1" in the games list. I tried for about 45 minutes to get a minimal example of this behavior, carefully copying games one at a time from the original file to a new file. The program would always seem to work in the new file until the new file had all the games in the original file. Finally, the program *worked* again in the original file: it found game 8. I haven't even the slightest idea of what is going on. Some kind of caching behavior maybe? Has anyone run into this or can give insight into what it might be? Like I said, I cannot reproduce the issue for now. |
From: Louis Z. <zu...@la...> - 2014-06-10 20:37:00
|
On Jun 10, 2014, at 3:54 PM, Luca Daniel wrote: > @Louis Zulli > See this: https://sourceforge.net/p/chessx/bugs/201/ Thanks. "Move interval" is not a good choice. "Analysis time" or "Search time" would be much better. Louis |
From: Luca D. <sc...@ya...> - 2014-06-10 19:54:25
|
@Louis Zulli See this: https://sourceforge.net/p/chessx/bugs/201/ |
From: Louis Z. <zu...@la...> - 2014-06-10 11:39:28
|
Hi, In ChangeLog.txt, I see - New feature: Limit time that engines may use for analysis It seems that engine analysis is now terminated automatically, once the GUI has determined a "best move" (which is then displayed with the label "suggested move"). Would one of the developers (or someone who can read the code better than I can) please explain what the criterion is for deciding that a best move has been found and the analysis should be stopped? Can the user control (or turn off) this new feature? I (and apparently several other users) find the shortness of the searches problematic: http://sourceforge.net/p/chessx/mailman/message/32311997/ Thanks, Louis |
From: Fex X. <fs...@gm...> - 2014-06-08 10:57:09
|
How do I make chessx display the number of tablebase hits in analysis? This is with the syzygy tablebases and Stockfish. |
From: Jens N. <jen...@gm...> - 2014-06-03 15:19:42
|
Fixed in svn#1754 I had my "Aha-Erlebnis" around the same time! Jens Am 03.06.2014 um 14:54 schrieb Luca Daniel <sc...@ya...>: > @Fex > Only now I understand what do you mean. > When the position is evaluated as +1 or -1 (with a plus or a minus) or any number... then color gives the indication who is better. > Red is better for black and blue is better for white, but when there is a checkmate announcement the colors do not work anymore in the same manner. > It shows blue even if black is going to checkmate but is white to move, and shows red even when white is going to checkmate but is black to move. > When there is a checkmate announcement the colors does not indicate who checkmates but instead is the color for who is to move, blue for white and red for black regardless who checkmates. > You want that if black checkmates to show that in red and if white mates to show that in blue. > Another example is when the evaluations is -54.38 that is shown in red and suddenly the engine finds a checkmate then the color is dependent to who is to move and not who checkmates, so if black is to move the color stays red and if white is to move the color changes to blue. > Also the evaluation 0.00 should not be in either red or blue but instead a different color, maybe green or yellow or black or user defined. > Fex has a good point, if ChessX is going to use colors to show who is better then the colors need to be always right, and 0.00 evaluation should be a different color since is equal. > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Chessx-users mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/chessx-users |
From: Luca D. <sc...@ya...> - 2014-06-03 12:54:56
|
@Fex Only now I understand what do you mean. When the position is evaluated as +1 or -1 (with a plus or a minus) or any number... then color gives the indication who is better. Red is better for black and blue is better for white, but when there is a checkmate announcement the colors do not work anymore in the same manner. It shows blue even if black is going to checkmate but is white to move, and shows red even when white is going to checkmate but is black to move. When there is a checkmate announcement the colors does not indicate who checkmates but instead is the color for who is to move, blue for white and red for black regardless who checkmates. You want that if black checkmates to show that in red and if white mates to show that in blue. Another example is when the evaluations is -54.38 that is shown in red and suddenly the engine finds a checkmate then the color is dependent to who is to move and not who checkmates, so if black is to move the color stays red and if white is to move the color changes to blue. Also the evaluation 0.00 should not be in either red or blue but instead a different color, maybe green or yellow or black or user defined. Fex has a good point, if ChessX is going to use colors to show who is better then the colors need to be always right, and 0.00 evaluation should be a different color since is equal. |
From: Jens N. <jen...@gm...> - 2014-06-03 06:11:33
|
The + and the * symbol are not part of the evaluation, they are hyperlinks. If you click on one of them, the first move (+) or the entire variation (*) is taken over as line into the game text. So the evaluation is perfectly ok. Jens Am 03.06.2014 um 02:13 schrieb Fex Xef <fs...@gm...>: > Luca, thanks for the reply to the problem of chessx not showing MultiPV lines correctly with Stockfish. > > Specifically, I am using the Stockfish that comes with ChessX, "Stockfish-3-64". > > As an example, try the position: > 1q3R2/8/8/8/8/K1kBP3/3pP3/8 w - - 0 1 > > Set the "Lines" field to "2" in the Analysis window. > > Mine shows two lines. The first has an evaluation of 84.23 and is in blue - White wins with R:b8. > > The second line shows "Mate in 4" with 1. Rc8# , and is also in blue. But in that line, it's White who is getting mated, not black. And in fact the line shown ends with 4...Qa7#. > > So why is the second line in blue and not in red? > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech_______________________________________________ > Chessx-users mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/chessx-users |
From: Fex X. <fs...@gm...> - 2014-06-03 00:13:55
|
Luca, thanks for the reply to the problem of chessx not showing MultiPV lines correctly with Stockfish. Specifically, I am using the Stockfish that comes with ChessX, "Stockfish-3-64". As an example, try the position: 1q3R2/8/8/8/8/K1kBP3/3pP3/8 w - - 0 1 Set the "Lines" field to "2" in the Analysis window. Mine shows two lines. The first has an evaluation of 84.23 and is in blue - White wins with R:b8. The second line shows "Mate in 4" with 1. Rc8# , and is also in blue. But in that line, it's White who is getting mated, not black. And in fact the line shown ends with 4...Qa7#. So why is the second line in blue and not in red? |
From: Louis Z. <zu...@la...> - 2014-05-31 10:36:22
|
Hi, This is because the default path compiled into the engine is an empty string. See https://github.com/syzygy1/Stockfish/blob/master/src/ucioption.cpp#L88 I edited that line in the source code, changing the empty string into "./", and recompiled. The engine binary now finds tablebase files in its own directory. However, the SyzygyPath option still does not appear in the chessx Edit->Preferences->Engines->Options list. This appears to be a chessx bug. If you are able to compile on your own, you might get the Stockfish code from https://github.com/syzygy1/Stockfish.git and edit line 88 of ucioption.cpp to hard code the absolute tablebase path you want. Then compile and add the resulting engine to chessx. You'll then see the SyzygyPath option (perhaps truncated in appearance) and the engine will use the tablebases. Instead of this, you might also try filling in the Directory box in the chessx Edit->Preferences->Engines panel with your tablebase path, or with a path to a directory that contains a link to the tablebases. Gotta run, but perhaps this will help. Louis On May 31, 2014, at 5:24 AM, Тарас Бойчук wrote: > Hi all! > > It seems option "SyzygyPath" is not accessible for Stoskfish engine (both in Linux and Windows) from Edit->Preferences->Engines->Options. > How to correct it? > > > -- > Тарас Бойчук > ------------------------------------------------------------------------------ > Time is money. Stop wasting it! Get your web API in 5 minutes. > www.restlet.com/download > http://p.sf.net/sfu/restlet_______________________________________________ > Chessx-users mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/chessx-users |
From: Тарас Б. <bt...@ma...> - 2014-05-31 09:24:56
|
Hi all! It seems option "S yzygyPath " is not accessible for Stoskfish engine (both in Linux and Windows) from Edit->Preferences->Engines->Options. How to correct it? -- Тарас Бойчук |
From: Luca D. <sc...@ya...> - 2014-05-28 12:56:29
|
@Fex Xef That depends heavily on the position and the engine with which you are analyzing. It's just the engines evaluation of the position that it's analyzing. ChessX just spits out the output of the engine used. |
From: Fex X. <fs...@gm...> - 2014-05-28 00:31:17
|
When I set "Lines" to "2" in the analysis window, frequently the secondary line is shown as a win (it is in blue, with a plus sign) instead of as a loss. The move is right, but not the sign of the value. MultiPV is very important for analysis. Is this a known issue, or do you need more information? |
From: Luca D. <sc...@ya...> - 2014-05-20 22:31:04
|
Compile error on Linux: In file included from src/gui/mainwindowactions.cpp:26:0: src/gui/gamelist.h: In member function ‘void MainWindow::slotBoardSearchUpdate(int)’: src/gui/gamelist.h:78:10: error: ‘void GameList::raiseRequest()’ is protected void raiseRequest(); ^ src/gui/mainwindowactions.cpp:1581:30: error: within this context m_gameList->raiseRequest(); ^ Makefile:1693: recipe for target 'obj_rel/mainwindowactions.o' failed make: *** [obj_rel/mainwindowactions.o] Error 1 QT4 4.8.6 GCC 4.9.0 SVN 1737. @Jeff Alter there is in the bottom right corner a horizontal scroll bar from 0 to 10 and it says "Move interval" in front of it. If it's set to 0 seconds then it will analyze without stopping if it's set between 1 and 10 it will stop to analyze after the number of seconds it displays. |
From: Louis Z. <zu...@la...> - 2014-05-11 12:17:23
|
Two issues: 1) I think this issue has existed for a long time. I seem to recall working around it before. louis@LZsT5610:~/Downloads/chessx$ qmake RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_de.qm' RCC: Error in 'resources.qrc': Cannot find file 'i18n/chessx_fr.qm' 2) The Makefile produced by qmake doesn't form install/uninstall targets as it did previously. Here's all I have in that section of Makefile: ####### Install install: FORCE uninstall: FORCE FORCE: Help appreciated. Thanks. Louis |
From: Jeff A. <jep...@gm...> - 2014-05-07 15:21:00
|
Bookmaster. Engine depth appears to halt at or around 18 ply - then gives a suggested move. Is there a way to increase the depth? I could not find it engine options, etc. Applies to Houdini 1.5a and stockfish latest version. Jeff Alter |
From: Jonathan N. <jln...@ho...> - 2014-04-18 10:07:15
|
Hi there, I'm a developer and wanted to see if I could add a couple of features: 1. Change the moves view to a more tabular form 2. Show captured pieces How can I contribute? |
From: Gitsis C. <cg...@gm...> - 2014-03-27 18:24:44
|
Dear users/developers, I have succeeded in compiling chessX. I changed those OF macro calls in quazip/ioapi.h, adding the lines #ifdef _Z_OF #undef OF #define OF _Z_OF #endif just before the typedefs, as suggested in this<http://code.google.com/p/fritzing/issues/detail?id=1854>page. I will not claim I understood what I did, but since it worked for me, maybe it will be useful to someone else also. Christos Gitsis 2014-03-27 0:08 GMT+02:00 Gitsis Christos <cg...@gm...>: > Thank you for your reply. > > A month later, a new release of chessX and I still can't compile it, those > typedefs inside quazip/ioapi.h seem to confuse my compiler. I tried your > suggestion, but I think it is trying to solve a link error, while my > process fails earlier. > > I have successfully compiled quazip 0.5.1 as a library on my computer > (through the package manager of my linux distribution). I tried using those > HEADER files (located in /usr/include/quazip) in chessx.pro instead of > the provided quazip, removing the SOURCES (*.cpp files), and linking > against my local library which is located in /usr/lib64/libquazip.so. I am > not sure I did it correctly, nor if something else was also needed. > > Could someone give me appropriate instructions on what I am trying to do, > if it is even possible? My QT configuration is the following: > > #configuration > CONFIG += shared def_files_disabled exceptions no_mocdepend release stl > qt_no_framework > QT_ARCH = x86_64 > QT_EDITION = OpenSource > QT_CONFIG += minimal-config small-config medium-config large-config > full-config shared reduce_exports reduce_relocations ipv6 clock-gettime > clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify no-mng > no-tiff system-freetype system-zlib nis iconv glib openssl-linked alsa > concurrent release dbus dbus-linked declarative mitshm tablet x11sm xcursor > xfixes xinput xkb xrandr xrender xshape xsync fontconfig system-freetype > gif png system-png jpeg system-jpeg accessibility xvideo opengl script svg > webkit xmlpatterns > > #versioning > QT_VERSION = 4.8.5 > QT_MAJOR_VERSION = 4 > QT_MINOR_VERSION = 8 > QT_PATCH_VERSION = 5 > > #namespaces > QT_LIBINFIX = > QT_NAMESPACE = > QT_NAMESPACE_MAC_CRC = > > QT_GCC_MAJOR_VERSION = 4 > QT_GCC_MINOR_VERSION = 8 > QT_GCC_PATCH_VERSION = 1 > > I really want to compile chessx. > > > > > > > 2014-02-18 22:09 GMT+02:00 Jens Nissen <jen...@gm...>: > > Compiling quazip can be tricky as the presence of the underlying >> compression routines depends on the way your Qt is compiled. >> Thus try to play around with -lz and the path to the associated zlib >> header files. >> See the part from chessx.pro where I had to resolve to the following >> code unter Windows: >> >> !win32 { >> >> CONFIG(debug, debug|release) { >> >> LIBS += -lz >> >> } >> >> CONFIG(release, debug|release) { >> >> LIBS += -lz >> >> } >> >> } >> >> >> Perhaps, you need to do something similar. >> >> Jens >> >> Am 15.02.2014 um 09:25 schrieb Gitsis Christos <cg...@gm...>: >> >> Hello, >> >> I cannot compile it under linux, g++ (Gentoo 4.8.1-r1 p1.2, pie-0.5.7) >> 4.8.1 >> >> What might be the problem? >> >> g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQUAZIP_STATIC >> -DQT_NO_CAST_TO_ASCII -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG_OUTPUT >> -DNDEBUG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB >> -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED >> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore >> -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui >> -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4 >> -Isrc/database -Isrc/guess -Isrc/gui -Isrc/quazip >> -I/usr/src/3rdparty/zlib -Isrc/generated -Isrc/generated -o >> obj_rel/mainwindow.o src/gui/mainwindow.cpp >> In file included from src/quazip/zip.h:60:0, >> from src/quazip/quazip.h:31, >> from src/gui/mainwindow.cpp:37: >> src/quazip/ioapi.h:40:43: σφάλμα: expected initializer before ‘OF’ >> typedef voidpf(ZCALLBACK *open_file_func) OF((voidpf opaque, voidpf >> file, int mode)); >> ^ >> src/quazip/ioapi.h:41:42: σφάλμα: expected initializer before ‘OF’ >> typedef uLong(ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf >> stream, void* buf, uLong size)); >> ^ >> src/quazip/ioapi.h:42:43: σφάλμα: expected initializer before ‘OF’ >> typedef uLong(ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf >> stream, const void* buf, uLong size)); >> ^ >> src/quazip/ioapi.h:43:42: σφάλμα: expected initializer before ‘OF’ >> typedef uLong(ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf >> stream)); >> ^ >> src/quazip/ioapi.h:44:41: σφάλμα: expected initializer before ‘OF’ >> typedef int (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf >> stream, uLong offset, int origin)); >> ^ >> src/quazip/ioapi.h:45:42: σφάλμα: expected initializer before ‘OF’ >> typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf >> stream)); >> ^ >> src/quazip/ioapi.h:46:46: σφάλμα: expected initializer before ‘OF’ >> typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, >> voidpf stream)); >> ^ >> src/quazip/ioapi.h:50:5: σφάλμα: ‘open_file_func’ does not name a type >> open_file_func zopen_file; >> ^ >> src/quazip/ioapi.h:51:5: σφάλμα: ‘read_file_func’ does not name a type >> read_file_func zread_file; >> ^ >> src/quazip/ioapi.h:52:5: σφάλμα: ‘write_file_func’ does not name a type >> write_file_func zwrite_file; >> ^ >> src/quazip/ioapi.h:53:5: σφάλμα: ‘tell_file_func’ does not name a type >> tell_file_func ztell_file; >> ^ >> src/quazip/ioapi.h:54:5: σφάλμα: ‘seek_file_func’ does not name a type >> seek_file_func zseek_file; >> ^ >> src/quazip/ioapi.h:55:5: σφάλμα: ‘close_file_func’ does not name a type >> close_file_func zclose_file; >> ^ >> src/quazip/ioapi.h:56:5: σφάλμα: ‘testerror_file_func’ does not name a >> type >> testerror_file_func zerror_file; >> ^ >> src/quazip/ioapi.h:62:30: σφάλμα: expected initializer before ‘OF’ >> void fill_qiodevice_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def)); >> ^ >> In file included from src/quazip/quazip.h:31:0, >> from src/gui/mainwindow.cpp:37: >> src/quazip/zip.h:121:32: σφάλμα: expected initializer before ‘OF’ >> extern zipFile ZEXPORT zipOpen OF((voidpf file, int append)); >> ^ >> src/quazip/zip.h:141:33: σφάλμα: expected initializer before ‘OF’ >> extern zipFile ZEXPORT zipOpen2 OF((voidpf file, >> ^ >> src/quazip/zip.h:146:40: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT zipOpenNewFileInZip OF((zipFile file, >> ^ >> src/quazip/zip.h:170:41: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT zipOpenNewFileInZip2 OF((zipFile file, >> ^ >> src/quazip/zip.h:186:41: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT zipOpenNewFileInZip3 OF((zipFile file, >> ^ >> src/quazip/zip.h:211:40: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT zipWriteInFileInZip OF((zipFile file, >> ^ >> src/quazip/zip.h:218:38: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT zipCloseFileInZip OF((zipFile file)); >> ^ >> src/quazip/zip.h:223:41: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT zipCloseFileInZipRaw OF((zipFile file, >> ^ >> src/quazip/zip.h:232:29: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT zipClose OF((zipFile file, >> ^ >> In file included from src/quazip/quazip.h:32:0, >> from src/gui/mainwindow.cpp:37: >> src/quazip/unzip.h:127:45: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzStringFileNameCompare OF((const char* fileName1, >> ^ >> src/quazip/unzip.h:140:32: σφάλμα: expected initializer before ‘OF’ >> extern unzFile ZEXPORT unzOpen OF((voidpf file)); >> ^ >> src/quazip/unzip.h:151:33: σφάλμα: expected initializer before ‘OF’ >> extern unzFile ZEXPORT unzOpen2 OF((voidpf file, >> ^ >> src/quazip/unzip.h:158:29: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzClose OF((unzFile file)); >> ^ >> src/quazip/unzip.h:165:37: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzGetGlobalInfo OF((unzFile file, >> ^ >> src/quazip/unzip.h:173:40: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzGetGlobalComment OF((unzFile file, >> ^ >> src/quazip/unzip.h:186:37: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzGoToFirstFile OF((unzFile file)); >> ^ >> src/quazip/unzip.h:192:36: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzGoToNextFile OF((unzFile file)); >> ^ >> src/quazip/unzip.h:199:34: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzLocateFile OF((unzFile file, >> ^ >> src/quazip/unzip.h:231:42: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file, >> ^ >> src/quazip/unzip.h:257:39: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzOpenCurrentFile OF((unzFile file)); >> ^ >> src/quazip/unzip.h:263:47: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzOpenCurrentFilePassword OF((unzFile file, >> ^ >> src/quazip/unzip.h:271:40: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzOpenCurrentFile2 OF((unzFile file, >> ^ >> src/quazip/unzip.h:284:40: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzOpenCurrentFile3 OF((unzFile file, >> ^ >> src/quazip/unzip.h:299:40: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzCloseCurrentFile OF((unzFile file)); >> ^ >> src/quazip/unzip.h:305:39: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzReadCurrentFile OF((unzFile file, >> ^ >> src/quazip/unzip.h:319:32: σφάλμα: expected initializer before ‘OF’ >> extern z_off_t ZEXPORT unztell OF((unzFile file)); >> ^ >> src/quazip/unzip.h:324:27: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzeof OF((unzFile file)); >> ^ >> src/quazip/unzip.h:329:42: σφάλμα: expected initializer before ‘OF’ >> extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file, >> ^ >> make: *** [obj_rel/mainwindow.o] Error 1 >> >> >> Regards, >> Christos Gitsis >> >> >> ------------------------------------------------------------------------------ >> Android apps run on BlackBerry 10 >> Introducing the new BlackBerry 10.2.1 Runtime for Android apps. >> Now with support for Jelly Bean, Bluetooth, Mapview and more. >> Get your Android app in front of a whole new audience. Start now. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk >> _______________________________________________ >> Chessx-users mailing list >> Che...@li... >> https://lists.sourceforge.net/lists/listinfo/chessx-users >> >> >> > |
From: Gitsis C. <cg...@gm...> - 2014-03-26 22:08:55
|
Thank you for your reply. A month later, a new release of chessX and I still can't compile it, those typedefs inside quazip/ioapi.h seem to confuse my compiler. I tried your suggestion, but I think it is trying to solve a link error, while my process fails earlier. I have successfully compiled quazip 0.5.1 as a library on my computer (through the package manager of my linux distribution). I tried using those HEADER files (located in /usr/include/quazip) in chessx.pro instead of the provided quazip, removing the SOURCES (*.cpp files), and linking against my local library which is located in /usr/lib64/libquazip.so. I am not sure I did it correctly, nor if something else was also needed. Could someone give me appropriate instructions on what I am trying to do, if it is even possible? My QT configuration is the following: #configuration CONFIG += shared def_files_disabled exceptions no_mocdepend release stl qt_no_framework QT_ARCH = x86_64 QT_EDITION = OpenSource QT_CONFIG += minimal-config small-config medium-config large-config full-config shared reduce_exports reduce_relocations ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify no-mng no-tiff system-freetype system-zlib nis iconv glib openssl-linked alsa concurrent release dbus dbus-linked declarative mitshm tablet x11sm xcursor xfixes xinput xkb xrandr xrender xshape xsync fontconfig system-freetype gif png system-png jpeg system-jpeg accessibility xvideo opengl script svg webkit xmlpatterns #versioning QT_VERSION = 4.8.5 QT_MAJOR_VERSION = 4 QT_MINOR_VERSION = 8 QT_PATCH_VERSION = 5 #namespaces QT_LIBINFIX = QT_NAMESPACE = QT_NAMESPACE_MAC_CRC = QT_GCC_MAJOR_VERSION = 4 QT_GCC_MINOR_VERSION = 8 QT_GCC_PATCH_VERSION = 1 I really want to compile chessx. 2014-02-18 22:09 GMT+02:00 Jens Nissen <jen...@gm...>: > Compiling quazip can be tricky as the presence of the underlying > compression routines depends on the way your Qt is compiled. > Thus try to play around with -lz and the path to the associated zlib > header files. > See the part from chessx.pro where I had to resolve to the following code > unter Windows: > > !win32 { > > CONFIG(debug, debug|release) { > > LIBS += -lz > > } > > CONFIG(release, debug|release) { > > LIBS += -lz > > } > > } > > > Perhaps, you need to do something similar. > > Jens > > Am 15.02.2014 um 09:25 schrieb Gitsis Christos <cg...@gm...>: > > Hello, > > I cannot compile it under linux, g++ (Gentoo 4.8.1-r1 p1.2, pie-0.5.7) > 4.8.1 > > What might be the problem? > > g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQUAZIP_STATIC > -DQT_NO_CAST_TO_ASCII -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG_OUTPUT > -DNDEBUG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB > -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED > -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui > -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4 > -Isrc/database -Isrc/guess -Isrc/gui -Isrc/quazip > -I/usr/src/3rdparty/zlib -Isrc/generated -Isrc/generated -o > obj_rel/mainwindow.o src/gui/mainwindow.cpp > In file included from src/quazip/zip.h:60:0, > from src/quazip/quazip.h:31, > from src/gui/mainwindow.cpp:37: > src/quazip/ioapi.h:40:43: σφάλμα: expected initializer before ‘OF’ > typedef voidpf(ZCALLBACK *open_file_func) OF((voidpf opaque, voidpf > file, int mode)); > ^ > src/quazip/ioapi.h:41:42: σφάλμα: expected initializer before ‘OF’ > typedef uLong(ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf > stream, void* buf, uLong size)); > ^ > src/quazip/ioapi.h:42:43: σφάλμα: expected initializer before ‘OF’ > typedef uLong(ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf > stream, const void* buf, uLong size)); > ^ > src/quazip/ioapi.h:43:42: σφάλμα: expected initializer before ‘OF’ > typedef uLong(ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf > stream)); > ^ > src/quazip/ioapi.h:44:41: σφάλμα: expected initializer before ‘OF’ > typedef int (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf > stream, uLong offset, int origin)); > ^ > src/quazip/ioapi.h:45:42: σφάλμα: expected initializer before ‘OF’ > typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf > stream)); > ^ > src/quazip/ioapi.h:46:46: σφάλμα: expected initializer before ‘OF’ > typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, > voidpf stream)); > ^ > src/quazip/ioapi.h:50:5: σφάλμα: ‘open_file_func’ does not name a type > open_file_func zopen_file; > ^ > src/quazip/ioapi.h:51:5: σφάλμα: ‘read_file_func’ does not name a type > read_file_func zread_file; > ^ > src/quazip/ioapi.h:52:5: σφάλμα: ‘write_file_func’ does not name a type > write_file_func zwrite_file; > ^ > src/quazip/ioapi.h:53:5: σφάλμα: ‘tell_file_func’ does not name a type > tell_file_func ztell_file; > ^ > src/quazip/ioapi.h:54:5: σφάλμα: ‘seek_file_func’ does not name a type > seek_file_func zseek_file; > ^ > src/quazip/ioapi.h:55:5: σφάλμα: ‘close_file_func’ does not name a type > close_file_func zclose_file; > ^ > src/quazip/ioapi.h:56:5: σφάλμα: ‘testerror_file_func’ does not name a type > testerror_file_func zerror_file; > ^ > src/quazip/ioapi.h:62:30: σφάλμα: expected initializer before ‘OF’ > void fill_qiodevice_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def)); > ^ > In file included from src/quazip/quazip.h:31:0, > from src/gui/mainwindow.cpp:37: > src/quazip/zip.h:121:32: σφάλμα: expected initializer before ‘OF’ > extern zipFile ZEXPORT zipOpen OF((voidpf file, int append)); > ^ > src/quazip/zip.h:141:33: σφάλμα: expected initializer before ‘OF’ > extern zipFile ZEXPORT zipOpen2 OF((voidpf file, > ^ > src/quazip/zip.h:146:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipOpenNewFileInZip OF((zipFile file, > ^ > src/quazip/zip.h:170:41: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipOpenNewFileInZip2 OF((zipFile file, > ^ > src/quazip/zip.h:186:41: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipOpenNewFileInZip3 OF((zipFile file, > ^ > src/quazip/zip.h:211:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipWriteInFileInZip OF((zipFile file, > ^ > src/quazip/zip.h:218:38: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipCloseFileInZip OF((zipFile file)); > ^ > src/quazip/zip.h:223:41: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipCloseFileInZipRaw OF((zipFile file, > ^ > src/quazip/zip.h:232:29: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipClose OF((zipFile file, > ^ > In file included from src/quazip/quazip.h:32:0, > from src/gui/mainwindow.cpp:37: > src/quazip/unzip.h:127:45: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzStringFileNameCompare OF((const char* fileName1, > ^ > src/quazip/unzip.h:140:32: σφάλμα: expected initializer before ‘OF’ > extern unzFile ZEXPORT unzOpen OF((voidpf file)); > ^ > src/quazip/unzip.h:151:33: σφάλμα: expected initializer before ‘OF’ > extern unzFile ZEXPORT unzOpen2 OF((voidpf file, > ^ > src/quazip/unzip.h:158:29: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzClose OF((unzFile file)); > ^ > src/quazip/unzip.h:165:37: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGetGlobalInfo OF((unzFile file, > ^ > src/quazip/unzip.h:173:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGetGlobalComment OF((unzFile file, > ^ > src/quazip/unzip.h:186:37: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGoToFirstFile OF((unzFile file)); > ^ > src/quazip/unzip.h:192:36: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGoToNextFile OF((unzFile file)); > ^ > src/quazip/unzip.h:199:34: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzLocateFile OF((unzFile file, > ^ > src/quazip/unzip.h:231:42: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file, > ^ > src/quazip/unzip.h:257:39: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzOpenCurrentFile OF((unzFile file)); > ^ > src/quazip/unzip.h:263:47: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzOpenCurrentFilePassword OF((unzFile file, > ^ > src/quazip/unzip.h:271:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzOpenCurrentFile2 OF((unzFile file, > ^ > src/quazip/unzip.h:284:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzOpenCurrentFile3 OF((unzFile file, > ^ > src/quazip/unzip.h:299:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzCloseCurrentFile OF((unzFile file)); > ^ > src/quazip/unzip.h:305:39: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzReadCurrentFile OF((unzFile file, > ^ > src/quazip/unzip.h:319:32: σφάλμα: expected initializer before ‘OF’ > extern z_off_t ZEXPORT unztell OF((unzFile file)); > ^ > src/quazip/unzip.h:324:27: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzeof OF((unzFile file)); > ^ > src/quazip/unzip.h:329:42: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file, > ^ > make: *** [obj_rel/mainwindow.o] Error 1 > > > Regards, > Christos Gitsis > > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Chessx-users mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/chessx-users > > > |
From: Jens N. <jen...@gm...> - 2014-03-16 18:37:14
|
Dear users, I have just uploaded the latest release. There are optimized builds for Windows 7-32 and 64, as well as a Windows XP and Mac OS builds. A Source package is provided, too. This is roughly what has changed in Version 1.1.0: - New feature: Traning with Toolbar Icon - New feature: Play out game against engine - New feature: Limit time that engines may use for analysis - New feature: Auto Responder for training openings etc. - New feature: Show name of opening in addition to ECO-Code - New feature: Use any open database as source for Opening Tree - New feature: Opening Tree with Filter as Source - New feature: Splitter in Detail Views - New feature: CR#6 Configurable shortcuts - New feature: Visual indicator for results - New feature: Show location of AppSettings in About Dlg - New feature: CR#108 Lock engine to current position - New feature: Null moves at unusual positions - New feature: Incremental Opening Tree - New feature: Adjust columns in list views - New feature: Tabs switch if something is dragged to them (CR#112) - New feature: Hilite new favorite item - New feature: Select font for ChessBrowser from Preferences - New feature: Additional link targets in info widgets - New feature: PromotionDialog as suggested in CR#113 Pieces in promotion dialog - New feature: Added possibility to force loading english lang in German and French - Bugfix: #193 wrong nag $1-$6 - Bugfix: #191 Cannot edit an annotation-only comment - Bugfix: Time malformed - Bugfix: #189 Missing PNG for new board button - Bugfix: Searching for result 1-0 was not possible - Bugfix: Filtering if filter widget was changed from another widget - Bugfix: CR#105 few remarks - issue 1 - coherence with icons - Bugfix: CR#187 comments before first move are not read - Bugfix: HTML-Output in some special cases wrong - Bugfix: Worked around potential leak with smart pointer - Bugfix: Issue closing chessx while loading a database - Bugfix: Some columns won't display their content if the local setup is old enough - Bugfix: #180 - part 3 (user is asked several times to load database) - Bugfix: Nullmove issue - Bugfix: #180: Load Order of DLLs (did not start on Windows) - Bugfix: Better output of end of variations - Bugfix: Workaround for Apache Issue: #183 Download of PGN databases fails because of blocked user-agent - Bugfix: Guessengine crashes when accessing uninitialized memory - Bugfix: CR#182 Minimize - restore = tab switch bug - Bugfix: CR#181 typos - Bugfix: CR#178 Deleting a variation does not clear the annotation - Bugfix: Unterverwandlung inkorrekt - Fixed: textbrowserex.h case sensitivity (did not compile on Linux) - Fixed: a static leak (thanks to Albert for mentioning this) - Fixed: portability issue #185 Build error in enginelist.cpp for kFreeBSD - Changed: Flip Icon consistent with main GUI - Changed: Slider 'Move Interval' moved from Preferences to StatusBar Enjoy ChessX "Bookmaster", Jens |
From: Jens N. <jen...@gm...> - 2014-02-18 20:09:46
|
Compiling quazip can be tricky as the presence of the underlying compression routines depends on the way your Qt is compiled. Thus try to play around with -lz and the path to the associated zlib header files. See the part from chessx.pro where I had to resolve to the following code unter Windows: !win32 { CONFIG(debug, debug|release) { LIBS += -lz } CONFIG(release, debug|release) { LIBS += -lz } } Perhaps, you need to do something similar. Jens Am 15.02.2014 um 09:25 schrieb Gitsis Christos <cg...@gm...>: > Hello, > > I cannot compile it under linux, g++ (Gentoo 4.8.1-r1 p1.2, pie-0.5.7) 4.8.1 > > What might be the problem? > > g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQUAZIP_STATIC > -DQT_NO_CAST_TO_ASCII -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG_OUTPUT > -DNDEBUG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB > -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED > -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore > -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui > -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4 > -Isrc/database -Isrc/guess -Isrc/gui -Isrc/quazip > -I/usr/src/3rdparty/zlib -Isrc/generated -Isrc/generated -o > obj_rel/mainwindow.o src/gui/mainwindow.cpp > In file included from src/quazip/zip.h:60:0, > from src/quazip/quazip.h:31, > from src/gui/mainwindow.cpp:37: > src/quazip/ioapi.h:40:43: σφάλμα: expected initializer before ‘OF’ > typedef voidpf(ZCALLBACK *open_file_func) OF((voidpf opaque, voidpf > file, int mode)); > ^ > src/quazip/ioapi.h:41:42: σφάλμα: expected initializer before ‘OF’ > typedef uLong(ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf > stream, void* buf, uLong size)); > ^ > src/quazip/ioapi.h:42:43: σφάλμα: expected initializer before ‘OF’ > typedef uLong(ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf > stream, const void* buf, uLong size)); > ^ > src/quazip/ioapi.h:43:42: σφάλμα: expected initializer before ‘OF’ > typedef uLong(ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream)); > ^ > src/quazip/ioapi.h:44:41: σφάλμα: expected initializer before ‘OF’ > typedef int (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf > stream, uLong offset, int origin)); > ^ > src/quazip/ioapi.h:45:42: σφάλμα: expected initializer before ‘OF’ > typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream)); > ^ > src/quazip/ioapi.h:46:46: σφάλμα: expected initializer before ‘OF’ > typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, > voidpf stream)); > ^ > src/quazip/ioapi.h:50:5: σφάλμα: ‘open_file_func’ does not name a type > open_file_func zopen_file; > ^ > src/quazip/ioapi.h:51:5: σφάλμα: ‘read_file_func’ does not name a type > read_file_func zread_file; > ^ > src/quazip/ioapi.h:52:5: σφάλμα: ‘write_file_func’ does not name a type > write_file_func zwrite_file; > ^ > src/quazip/ioapi.h:53:5: σφάλμα: ‘tell_file_func’ does not name a type > tell_file_func ztell_file; > ^ > src/quazip/ioapi.h:54:5: σφάλμα: ‘seek_file_func’ does not name a type > seek_file_func zseek_file; > ^ > src/quazip/ioapi.h:55:5: σφάλμα: ‘close_file_func’ does not name a type > close_file_func zclose_file; > ^ > src/quazip/ioapi.h:56:5: σφάλμα: ‘testerror_file_func’ does not name a type > testerror_file_func zerror_file; > ^ > src/quazip/ioapi.h:62:30: σφάλμα: expected initializer before ‘OF’ > void fill_qiodevice_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def)); > ^ > In file included from src/quazip/quazip.h:31:0, > from src/gui/mainwindow.cpp:37: > src/quazip/zip.h:121:32: σφάλμα: expected initializer before ‘OF’ > extern zipFile ZEXPORT zipOpen OF((voidpf file, int append)); > ^ > src/quazip/zip.h:141:33: σφάλμα: expected initializer before ‘OF’ > extern zipFile ZEXPORT zipOpen2 OF((voidpf file, > ^ > src/quazip/zip.h:146:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipOpenNewFileInZip OF((zipFile file, > ^ > src/quazip/zip.h:170:41: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipOpenNewFileInZip2 OF((zipFile file, > ^ > src/quazip/zip.h:186:41: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipOpenNewFileInZip3 OF((zipFile file, > ^ > src/quazip/zip.h:211:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipWriteInFileInZip OF((zipFile file, > ^ > src/quazip/zip.h:218:38: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipCloseFileInZip OF((zipFile file)); > ^ > src/quazip/zip.h:223:41: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipCloseFileInZipRaw OF((zipFile file, > ^ > src/quazip/zip.h:232:29: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT zipClose OF((zipFile file, > ^ > In file included from src/quazip/quazip.h:32:0, > from src/gui/mainwindow.cpp:37: > src/quazip/unzip.h:127:45: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzStringFileNameCompare OF((const char* fileName1, > ^ > src/quazip/unzip.h:140:32: σφάλμα: expected initializer before ‘OF’ > extern unzFile ZEXPORT unzOpen OF((voidpf file)); > ^ > src/quazip/unzip.h:151:33: σφάλμα: expected initializer before ‘OF’ > extern unzFile ZEXPORT unzOpen2 OF((voidpf file, > ^ > src/quazip/unzip.h:158:29: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzClose OF((unzFile file)); > ^ > src/quazip/unzip.h:165:37: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGetGlobalInfo OF((unzFile file, > ^ > src/quazip/unzip.h:173:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGetGlobalComment OF((unzFile file, > ^ > src/quazip/unzip.h:186:37: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGoToFirstFile OF((unzFile file)); > ^ > src/quazip/unzip.h:192:36: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGoToNextFile OF((unzFile file)); > ^ > src/quazip/unzip.h:199:34: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzLocateFile OF((unzFile file, > ^ > src/quazip/unzip.h:231:42: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGetCurrentFileInfo OF((unzFile file, > ^ > src/quazip/unzip.h:257:39: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzOpenCurrentFile OF((unzFile file)); > ^ > src/quazip/unzip.h:263:47: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzOpenCurrentFilePassword OF((unzFile file, > ^ > src/quazip/unzip.h:271:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzOpenCurrentFile2 OF((unzFile file, > ^ > src/quazip/unzip.h:284:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzOpenCurrentFile3 OF((unzFile file, > ^ > src/quazip/unzip.h:299:40: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzCloseCurrentFile OF((unzFile file)); > ^ > src/quazip/unzip.h:305:39: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzReadCurrentFile OF((unzFile file, > ^ > src/quazip/unzip.h:319:32: σφάλμα: expected initializer before ‘OF’ > extern z_off_t ZEXPORT unztell OF((unzFile file)); > ^ > src/quazip/unzip.h:324:27: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzeof OF((unzFile file)); > ^ > src/quazip/unzip.h:329:42: σφάλμα: expected initializer before ‘OF’ > extern int ZEXPORT unzGetLocalExtrafield OF((unzFile file, > ^ > make: *** [obj_rel/mainwindow.o] Error 1 > > > Regards, > Christos Gitsis > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Chessx-users mailing list > Che...@li... > https://lists.sourceforge.net/lists/listinfo/chessx-users |
From: Benigno H. <sn...@ya...> - 2014-02-16 20:09:37
|
Hello, I cannot compile it under linux, g++ (Ubuntu 12.04 amd64) 4.7.2 What might be the problem? ........... g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQUAZIP_STATIC -DQT_NO_CAST_TO_ASCII -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG_OUTPUT -DNDEBUG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -Isrc/database -Isrc/guess -Isrc/gui -Isrc/quazip -I/usr/src/3rdparty/zlib -Isrc/generated -Isrc/generated -o obj_rel/renametagdialog.o src/gui/renametagdialog.cpp g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQUAZIP_STATIC -DQT_NO_CAST_TO_ASCII -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG_OUTPUT -DNDEBUG -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -Isrc/database -Isrc/guess -Isrc/gui -Isrc/quazip -I/usr/src/3rdparty/zlib -Isrc/generated -Isrc/generated -o obj_rel/openingtreewidget.o src/gui/openingtreewidget.cpp src/gui/openingtreewidget.cpp: In member function ‘void OpeningTreeWidget::updateFilterIndex(QStringList)’: src/gui/openingtreewidget.cpp:115:29: error: ‘class QComboBox’ has no member named ‘setCurrentText’ make: *** [obj_rel/openingtreewidget.o] Error 1 thanks |