Re: [Vietlug] lo^~i khi compile ligpdf++
On 4/21/06, Lam Phuong Duy [EMAIL PROTECTED] wrote: @Hoang Tuan Quynh: Fedora 2 hay 5 cu~ng va^.y thui a`. Em he^'t space tre^n HDD ru`i ne^n co' FC2 thi` du`ng tho^i :p FC5 mo+'i ho+n thi` pha?i kha'c chu+' :-) Va^.y thui la` va^.y thui the^' na`o :-) --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users
Re: [Vietlug] lo^~i khi compile ligpdf++
Thi` em du`ng version 0.3 da^'y (bi gio moi thay ra(`ng hi`nh nhu cai lib nay` dead rui hay sao a^'y, sao lau wa' ko phat trien nhi?) Ne^'u em kho^ng co' zlib, libjpeg, ... thi` configure da~ la la`ng ru`i :D, ma em xem trong config.log, no' kho^ng ba'o lo^~i thie^'u gi` ca? Chac pha?i ho.c chay, kho^ng thu*.c ha`nh gi duo.c ca? :( @Hoang Tuan Quynh: Fedora 2 hay 5 cu~ng va^.y thui a`. Em he^'t space tre^n HDD ru`i ne^n co' FC2 thi` du`ng tho^i :p G TT wrote: Ba.n du`ng version na`o cu?a libpdf++; gcc ? Ne^n du`ng gcc 3.2: Ba.n co' bost library, zlib, libjpeg va` freetype chu+a? http://libpdfxx.sourceforge.net/doc/install.html; From: Lam Phuong Duy [EMAIL PROTECTED] Reply-To: vietlug-users@lists.sourceforge.net To: VietLUG vietlug-users@lists.sourceforge.net Subject: [Vietlug] lo^~i khi compile ligpdf++ Date: Wed, 19 Apr 2006 21:25:56 +0700 Hi list :) Em du`ng Fedora 2, thay bieu nghien cuu libpdf nen em install vao` xem. Khi make thi gap lo^~i sau c++ -DPACKAGE=\libpdfdoc\ -DVERSION=\0.0.3\ -DHAVE_DLFCN_H=1 -DHAVE_LIBZ=1 -DHAVE_JPEG=1 -I. -I. -I../../src -I/usr/include/boost -DNDEBUG -Wall -O2 -c Array.cc -fPIC -DPIC -o .libs/Array.lo In file included from Array.cc:27: Array.hh:74: error: ISO C++ forbids declaration of `indirect_iterator_generator ' with no type Array.hh:74: error: template-id ` indirect_iterator_generator__gnu_cxx::__normal_iteratorconst boost::shared_ptrpdf::core::CObject*, std::vectorboost::shared_ptrpdf::core::CObject, std::allocatorboost::shared_ptrpdf::core::CObject , pdf::core::CObject, const pdf::core::CObject, std::random_access_iterator_tag, const pdf::core::CObject*' used as a declarator Array.hh:74: error: syntax error before `::' token Array.hh:77: error: ISO C++ forbids declaration of `iterator' with no type Array.hh:77: error: syntax error before `::' token Array.hh:78: error: `int' is not an aggregate type Array.hh:78: error: ISO C++ forbids declaration of `reference' with no type Array.hh:78: error: syntax error before `;' token Array.hh:79: error: `int' is not an aggregate type Array.hh:79: error: ISO C++ forbids declaration of `reference' with no type Array.hh:79: error: syntax error before `;' token Array.cc: In copy constructor `pdf::core::CArray::CArray(const pdf::core::CArray)': Em tim tren google hoa`i ma khong thay manh mo^'i gi` ca?. Ca'i lo^~i na`y la do da^u va^.y mi' anh :D --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users _ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users
Re: [Vietlug] lo^~i khi compile ligpdf++
libpdfdoc-0.0.2.tar.gz tre^n x86/SuSE 10.0/gcc 4.0.2 to^'t! (libpdfdoc-0.0.3 bi. va^'n dde^` tre^n x86, nhu+ng cha.y to^'t tre^n amd64 !!) - ba.n # cd ..; rm -rfd ./libpdfdoc-0.0.3; tar xvfz libpdfdoc-0.0.2.tar.gz ro^`i... DDa^y la` configuration va` nhu+~ng bu+o+'c trong ma'y x86: 1. #rpm -vq libjpeg... -- libjpeg-6.2.0-739; zlib-1.2.3-3; freetype-1.3.1-1161; gcc version 4.0.2 20050901 (prerelease) (SUSE Linux) va` ta?i boost_1_33_1.tar.gz; libpdfdoc-0.0.2.tar.gz va`o /home/userx/libpdf 2. #cd /home/userx/libpdf; tar xvfz boost_1_33_1.tar.gz (se~ du`ng /home/userx/libpdf/boost_1_33_1 o+? bu+o+'c 4.) 3. #cd /home/userx/libpdf; tar xvfz libpdfdoc-0.0.2.tar.gz 4. #cd /home/userx/libpdf/libpdfdoc-0.0.2; ./configure --enable-boost=/home/userx/libpdf/boost_1_33_1 5. #cd /home/userx/libpdf/libpdfdoc-0.0.2; make Sau khi compile kho^ng lo^~i thi` thu+? cha.y hello ro^`i display hello.pdf ba(`ng pdf-reader (Acrobat...) 6. #cd /home/userx/libpdf/libpdfdoc-0.0.2/src; ./hello (du`ng pdf-reader ddo.c hello.pdf ba(`ng Times New Roman font ) Cho SuSE 10.0/amd64 thi` cu~ng tu+o+ng tu+. bu+o+'c 16. nhu+ tre^n, tru+` bu+o+'c 5. va` pha?i la`: 5-amd64. #cd /home/userx/libpdf/libpdfdoc-0.0.2; make LDFLGS=-L/lib64 -L/usr/lib64 vi` SuSE 10.0 cu+' du`ng /usr/lib (cho 32-bit libraries) thay vi` /usr/lib64 Muo^'n ddo^?i qua truetype fonts thi` instantiate class pdf::font::CTrueType trong hello.cc Chu'c nhie^`u tha`nh co^ng va` ddu+`ng bao gio+` bo? cuo^.c! From: Lam Phuong Duy [EMAIL PROTECTED] Reply-To: vietlug-users@lists.sourceforge.net To: vietlug-users@lists.sourceforge.net Subject: Re: [Vietlug] lo^~i khi compile ligpdf++ Date: Fri, 21 Apr 2006 20:11:30 +0700 Thi` em du`ng version 0.3 da^'y (bi gio moi thay ra(`ng hi`nh nhu cai lib nay` dead rui hay sao a^'y, sao lau wa' ko phat trien nhi?) Ne^'u em kho^ng co' zlib, libjpeg, ... thi` configure da~ la la`ng ru`i :D, ma em xem trong config.log, no' kho^ng ba'o lo^~i thie^'u gi` ca? Chac pha?i ho.c chay, kho^ng thu*.c ha`nh gi duo.c ca? :( @Hoang Tuan Quynh: Fedora 2 hay 5 cu~ng va^.y thui a`. Em he^'t space tre^n HDD ru`i ne^n co' FC2 thi` du`ng tho^i :p G TT wrote: Ba.n du`ng version na`o cu?a libpdf++; gcc ? Ne^n du`ng gcc 3.2: Ba.n co' bost library, zlib, libjpeg va` freetype chu+a? http://libpdfxx.sourceforge.net/doc/install.html; From: Lam Phuong Duy [EMAIL PROTECTED] Reply-To: vietlug-users@lists.sourceforge.net To: VietLUG vietlug-users@lists.sourceforge.net Subject: [Vietlug] lo^~i khi compile ligpdf++ Date: Wed, 19 Apr 2006 21:25:56 +0700 Hi list :) Em du`ng Fedora 2, thay bieu nghien cuu libpdf nen em install vao` xem. Khi make thi gap lo^~i sau c++ -DPACKAGE=\libpdfdoc\ -DVERSION=\0.0.3\ -DHAVE_DLFCN_H=1 -DHAVE_LIBZ=1 -DHAVE_JPEG=1 -I. -I. -I../../src -I/usr/include/boost -DNDEBUG -Wall -O2 -c Array.cc -fPIC -DPIC -o .libs/Array.lo In file included from Array.cc:27: Array.hh:74: error: ISO C++ forbids declaration of `indirect_iterator_generator ' with no type Array.hh:74: error: template-id ` indirect_iterator_generator__gnu_cxx::__normal_iteratorconst boost::shared_ptrpdf::core::CObject*, std::vectorboost::shared_ptrpdf::core::CObject, std::allocatorboost::shared_ptrpdf::core::CObject , pdf::core::CObject, const pdf::core::CObject, std::random_access_iterator_tag, const pdf::core::CObject*' used as a declarator Array.hh:74: error: syntax error before `::' token Array.hh:77: error: ISO C++ forbids declaration of `iterator' with no type Array.hh:77: error: syntax error before `::' token Array.hh:78: error: `int' is not an aggregate type Array.hh:78: error: ISO C++ forbids declaration of `reference' with no type Array.hh:78: error: syntax error before `;' token Array.hh:79: error: `int' is not an aggregate type Array.hh:79: error: ISO C++ forbids declaration of `reference' with no type Array.hh:79: error: syntax error before `;' token Array.cc: In copy constructor `pdf::core::CArray::CArray(const pdf::core::CArray)': Em tim tren google hoa`i ma khong thay manh mo^'i gi` ca?. Ca'i lo^~i na`y la do da^u va^.y mi' anh :D --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology
RE: [Vietlug] lo^~i khi compile ligpdf++
Ba.n du`ng version na`o cu?a libpdf++; gcc ? Ne^n du`ng gcc 3.2: Ba.n co' bost library, zlib, libjpeg va` freetype chu+a? http://libpdfxx.sourceforge.net/doc/install.html; From: Lam Phuong Duy [EMAIL PROTECTED] Reply-To: vietlug-users@lists.sourceforge.net To: VietLUG vietlug-users@lists.sourceforge.net Subject: [Vietlug] lo^~i khi compile ligpdf++ Date: Wed, 19 Apr 2006 21:25:56 +0700 Hi list :) Em du`ng Fedora 2, thay bieu nghien cuu libpdf nen em install vao` xem. Khi make thi gap lo^~i sau c++ -DPACKAGE=\libpdfdoc\ -DVERSION=\0.0.3\ -DHAVE_DLFCN_H=1 -DHAVE_LIBZ=1 -DHAVE_JPEG=1 -I. -I. -I../../src -I/usr/include/boost -DNDEBUG -Wall -O2 -c Array.cc -fPIC -DPIC -o .libs/Array.lo In file included from Array.cc:27: Array.hh:74: error: ISO C++ forbids declaration of `indirect_iterator_generator ' with no type Array.hh:74: error: template-id ` indirect_iterator_generator__gnu_cxx::__normal_iteratorconst boost::shared_ptrpdf::core::CObject*, std::vectorboost::shared_ptrpdf::core::CObject, std::allocatorboost::shared_ptrpdf::core::CObject , pdf::core::CObject, const pdf::core::CObject, std::random_access_iterator_tag, const pdf::core::CObject*' used as a declarator Array.hh:74: error: syntax error before `::' token Array.hh:77: error: ISO C++ forbids declaration of `iterator' with no type Array.hh:77: error: syntax error before `::' token Array.hh:78: error: `int' is not an aggregate type Array.hh:78: error: ISO C++ forbids declaration of `reference' with no type Array.hh:78: error: syntax error before `;' token Array.hh:79: error: `int' is not an aggregate type Array.hh:79: error: ISO C++ forbids declaration of `reference' with no type Array.hh:79: error: syntax error before `;' token Array.cc: In copy constructor `pdf::core::CArray::CArray(const pdf::core::CArray)': Em tim tren google hoa`i ma khong thay manh mo^'i gi` ca?. Ca'i lo^~i na`y la do da^u va^.y mi' anh :D --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users
Re: [Vietlug] lo^~i khi compile ligpdf++
On 4/19/06, Lam Phuong Duy [EMAIL PROTECTED] wrote: Hi list :) Em du`ng Fedora 2, thay bieu nghien cuu libpdf nen em install vao` xem. Khi make thi gap lo^~i sau Du`ng FC 5 ddi ba'c. Ba^y gio+` la` 2006 ro^`i ma` co`n FC 2 :-) chipheo --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid0709bid3057dat1642 ___ VietLUG-users mailing list VietLUG-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vietlug-users