Re: [Vietlug] La`m sao compile VDict tren OS X
Cuo^'i cu`ng thi` to^i cu~ng compile va` chay duoc VDict tren OS X (Natively, khong can chay qua X11) . Xem screenshot o day http://img118.exs.cx/my.php?loc=img118image=vdict.jpg Neu ai do can Binary cua VDict tren OS X thi lien he voi toi. Hehe, vui qua', khong can phai dung tu dien truc tuyen nua roi :) chairuou wrote: On Tue, 1 Feb 2005 07:46:03 +0700, pclouds [EMAIL PROTECTED] wrote: Co' ve? nhu+ qt headers chu+a ddu+o+.c ca`i dda(.t, hoa(.c ne^'u co' co' ca`i thi` thie^'u -I directives dde^? gcc ti`m ra qt headers. ho^`i tru+o+'c co' bi.1 la^`n na na' the^', vdict author no'i la` do incompatible QT version but tui compile tre^n linux :) --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users
Re: [Vietlug] La`m sao compile VDict tren OS X
Thanks, to^i the^m directive -I$(QTDIR)/include/qt va`o trong makefile thi` no' compile duoc de^'n dda^y thi` la.i bao lo^~i tie^'p: make ar rcu vdlib.a vdcontentviewer.o vddatabase.o vdeditor.o vdictclient.o vdictdb.o vdpreferences.o vdrecentlist.o vdwidgets.o vdadddb.o vdproperty.o vdimport.o vdictpro.o vdscan.o vdcontentviewer.moc.o vddatabase.moc.o vdeditor.moc.o vdictclient.moc.o vdictdb.moc.o vdpreferences.moc.o vdrecentlist.moc.o vdwidgets.moc.o vdadddb.moc.o vdproperty.moc.o vdimport.moc.o vdictpro.moc.o vdscan.moc.o resource.o utf.o visckey.o wd2vd.o ranlib vdlib.a ranlib: file: vdlib.a(vdictclient.o) has no symbols ranlib: file: vdlib.a(vdictclient.moc.o) has no symbols ranlib: file: vdlib.a(vdictdb.moc.o) has no symbols ranlib: file: vdlib.a(vdrecentlist.moc.o) has no symbols g++ -o vd main.o vd.o vdictclient.o vdlocallookupframe.o vdlookupframe.o vdrecentdialog.o vdremotelookupframe.o vdtoolbar.o vd.moc.o vdictclient.moc.o vdlocallookupframe.moc.o vdlookupframe.moc.o vdrecentdialog.moc.o vdremotelookupframe.moc.o vdtoolbar.moc.o data.o ../lib/vdlib.a -L/sw/lib -Wl,/sw/lib -lgdbm ld: can't map file: /sw/lib ((os/kern) invalid argument) make[1]: *** [vd] Error 1 make: *** [vd] Error 2 pclouds wrote: On Mon, 31 Jan 2005 14:10:37 +0700, Nguyen Minh Thang [EMAIL PROTECTED] wrote: Hi list, To^i ddang co^' gang compile VDict-1.94 tre^n OS X ma` toa`n gap phai ba'o lo^~i. Sau khi du`ng Fink ca`i dday du? do^` cho+i (XFree86, qt3, qt3-dev - compile mat nu+?a nga`y :D ), to^i va`o thu muc VDict va go~ make. No output ra mot do^'ng error sau ma` to^i khong hieu phai sua nhu the na`o: make g++ -I. -I../images -I/sw/include -c vdcontentviewer.cpp In file included from vdcontentviewer.cpp:20: vdcontentviewer.h:23:20: qframe.h: No such file or directory vdcontentviewer.h:24:20: qlabel.h: No such file or directory Co' ve? nhu+ qt headers chu+a ddu+o+.c ca`i dda(.t, hoa(.c ne^'u co' co' ca`i thi` thie^'u -I directives dde^? gcc ti`m ra qt headers.
[Vietlug] La`m sao compile VDict tren OS X
Hi list, To^i ddang co^' gang compile VDict-1.94 tre^n OS X ma` toa`n gap phai ba'o lo^~i. Sau khi du`ng Fink ca`i dday du? do^` cho+i (XFree86, qt3, qt3-dev - compile mat nu+?a nga`y :D ), to^i va`o thu muc VDict va go~ make. No output ra mot do^'ng error sau ma` to^i khong hieu phai sua nhu the na`o: make g++ -I. -I../images -I/sw/include -c vdcontentviewer.cpp In file included from vdcontentviewer.cpp:20: vdcontentviewer.h:23:20: qframe.h: No such file or directory vdcontentviewer.h:24:20: qlabel.h: No such file or directory In file included from vdcontentviewer.cpp:20: vdcontentviewer.h:27: error: parse error before `{' token vdcontentviewer.h:32: error: parse error before `' token vdcontentviewer.h:33: error: syntax error before `*' token vdcontentviewer.h: In function `void setHelp(const char*)': vdcontentviewer.h:34: error: invalid use of `this' in non-member function vdcontentviewer.h: At global scope: vdcontentviewer.h:35: error: parse error before `private' vdcontentviewer.h:37: error: syntax error before `*' token vdcontentviewer.h:46: error: syntax error before `:' token vdcontentviewer.h:53: error: parse error before `' token In file included from vdcontentviewer.cpp:21: vdwidgets.h:23:20: qlabel.h: No such file or directory vdwidgets.h:24:22: qlistbox.h: No such file or directory vdwidgets.h:25:23: qlineedit.h: No such file or directory vdwidgets.h:26:26: qtextbrowser.h: No such file or directory vdwidgets.h:27:28: qmultilineedit.h: No such file or directory vdwidgets.h:28:22: qpainter.h: No such file or directory vdwidgets.h:29:20: qimage.h: No such file or directory In file included from vdcontentviewer.cpp:21: vdwidgets.h:32: error: parse error before `{' token vdwidgets.h:38: error: `QFocusEvent' was not declared in this scope vdwidgets.h:38: error: parse error before `)' token vdwidgets.h:38: error: virtual outside class declaration vdwidgets.h:39: error: `QMouseEvent' was not declared in this scope vdwidgets.h:39: error: parse error before `)' token vdwidgets.h:39: error: virtual outside class declaration vdwidgets.h: In function `void setLatinMode(bool)': vdwidgets.h:42: error: `latin' undeclared (first use this function) vdwidgets.h:42: error: (Each undeclared identifier is reported only once for each function it appears in.) vdwidgets.h: At global scope: vdwidgets.h:43: error: syntax error before `:' token vdwidgets.h:46: error: parse error before `public' vdwidgets.h:50: error: `e' was not declared in this scope vdwidgets.h:50: warning: ISO C++ forbids declaration of `keyPressEvent' with no type vdwidgets.h:51: error: parse error before `}' token vdwidgets.h:55: error: parse error before `{' token vdwidgets.h:59: error: `QKeyEvent' was not declared in this scope vdwidgets.h:59: error: `e' was not declared in this scope vdwidgets.h:59: error: variable or field `switchFocus' declared void vdwidgets.h:60: error: parse error before `protected' vdwidgets.h:65: error: `QKeyEvent' was not declared in this scope vdwidgets.h:65: error: `e' was not declared in this scope vdwidgets.h:66: error: virtual outside class declaration vdwidgets.h:66: error: variable or field `keyPressEvent' declared void vdwidgets.h:66: error: redefinition of `int keyPressEvent' vdwidgets.h:50: error: `int keyPressEvent' previously defined here vdwidgets.h:66: error: syntax error before `{' token vdwidgets.h:76: error: parse error before `' token vdwidgets.h:80: error: parse error before `{' token vdwidgets.h:96: error: parse error before `{' token vdwidgets.h:102: error: syntax error before `::' token vdwidgets.h:108: error: syntax error before `:' token vdwidgets.h:113: error: parse error before `{' token vdwidgets.h:120: error: syntax error before `:' token vdwidgets.h:124: error: parse error before `protected' vdwidgets.h:126: error: `QFocusEvent' was not declared in this scope vdwidgets.h:126: error: parse error before `)' token vdwidgets.h:126: error: virtual outside class declaration vdwidgets.h:127: error: `QMouseEvent' was not declared in this scope vdwidgets.h:127: error: parse error before `)' token vdwidgets.h:127: error: virtual outside class declaration In file included from vdcontentviewer.cpp:22: resource.h:23:19: qfont.h: No such file or directory resource.h:24:21: qstring.h: No such file or directory resource.h:25:25: qstringlist.h: No such file or directory resource.h:26:22: qpainter.h: No such file or directory resource.h:27:20: qimage.h: No such file or directory In file included from vdcontentviewer.cpp:22: resource.h:32: warning: ISO C++ forbids declaration of `QString' with no type resource.h:32: error: parse error before `;' token resource.h:33: warning: ISO C++ forbids declaration of `QString' with no type resource.h:33: error: parse error before `;' token resource.h:34: warning: ISO C++ forbids declaration of `QString' with no type resource.h:34: error: parse error before `;' token resource.h:41: warning: ISO C++ forbids declaration of `QFont' with no type resource.h:41:
Re: [Vietlug] La`m sao compile VDict tren OS X
On Mon, 31 Jan 2005 14:10:37 +0700, Nguyen Minh Thang [EMAIL PROTECTED] wrote: Hi list, To^i ddang co^' gang compile VDict-1.94 tre^n OS X ma` toa`n gap phai ba'o lo^~i. Sau khi du`ng Fink ca`i dday du? do^` cho+i (XFree86, qt3, qt3-dev - compile mat nu+?a nga`y :D ), to^i va`o thu muc VDict va go~ make. No output ra mot do^'ng error sau ma` to^i khong hieu phai sua nhu the na`o: make g++ -I. -I../images -I/sw/include -c vdcontentviewer.cpp In file included from vdcontentviewer.cpp:20: vdcontentviewer.h:23:20: qframe.h: No such file or directory vdcontentviewer.h:24:20: qlabel.h: No such file or directory Co' ve? nhu+ qt headers chu+a ddu+o+.c ca`i dda(.t, hoa(.c ne^'u co' co' ca`i thi` thie^'u -I directives dde^? gcc ti`m ra qt headers. -- Bi C Lao --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users
Re: [Vietlug] La`m sao compile VDict tren OS X
On Tue, 1 Feb 2005 07:46:03 +0700, pclouds [EMAIL PROTECTED] wrote: Co' ve? nhu+ qt headers chu+a ddu+o+.c ca`i dda(.t, hoa(.c ne^'u co' co' ca`i thi` thie^'u -I directives dde^? gcc ti`m ra qt headers. ho^`i tru+o+'c co' bi.1 la^`n na na' the^', vdict author no'i la` do incompatible QT version but tui compile tre^n linux :) --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag--drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users