回复: Inkscape-devel Digest, Vol 50, Issue 46
error infromation: ============================= Make error line 299: problem compiling: In file included from src/2geom/d2.h:36: 0, from src/2geom/rect.h:40, from src/libnr/nr-rect.h:28, from src/sp-item.h:25, from src/sp-lpe-item.h:17, from src/sp-shape.h:18, from src/sp-path.h:16, from src/extension/internal/emf-win32-inout.cpp:29: src/2geom/interval.h: In member function 'bool Geom::OptInterval::isEmpty()': src/2geom/interval.h:241:46: warning: converting 'false' to pointer type for arg ument 2 of 'bool boost::operator==(const boost::optional<T>&, void (*)(boost::de tail::none_helper)) [with T = Geom::Interval, void (*)(boost::detail::none_helpe r) = void (*)(boost::detail::none_helper)]' In file included from src/2geom/d2.h:429:0, from src/2geom/rect.h:40, from src/libnr/nr-rect.h:28, from src/sp-item.h:25, from src/sp-lpe-item.h:17, from src/sp-shape.h:18, from src/sp-path.h:16, from src/extension/internal/emf-win32-inout.cpp:29: src/2geom/rect.h: In member function 'bool Geom::OptRect::isEmpty() const': src/2geom/rect.h:218:52: warning: converting 'false' to pointer type for argumen t 2 of 'bool boost::operator==(const boost::optional<T>&, void (*)(boost::detail ::none_helper)) [with T = Geom::D2Geom::Interval, void (*)(boost::detail::none _helper) = void (*)(boost::detail::none_helper)]' src/extension/internal/emf-win32-inout.cpp: In member function 'virtual SPDocume nt* Inkscape::Extension::Internal::EmfWin32::open(Inkscape::Extension::Input*, c onst gchar*)': src/extension/internal/emf-win32-inout.cpp:2356:73: error: invalid conversion fr om 'int (*)(HDC__*, HANDLETABLE*, ENHMETARECORD*, int, LPARAM)' to 'int (*)(HDC_ _*, HANDLETABLE*, const ENHMETARECORD*, int, LPARAM)' src/extension/internal/emf-win32-inout.cpp:2356:73: error: initializing argume nt 3 of 'BOOL EnumEnhMetaFile(HDC__*, HENHMETAFILE__*, int (*)(HDC__*, HANDLETAB LE*, const ENHMETARECORD*, int, LPARAM), void*, const RECT*)'
------------------ 原始邮件 ------------------ 发件人: "Krzysztof Kosiński"<tweenk.pl@...400...>; 发送时间: 2010年7月28日(星期三) 晚上11:30 收件人: "海斌"<itxyga@...400...>; 抄送: "inkscape-devel"inkscape-devel@lists.sourceforge.net; 主题: Re: [Inkscape-devel] Inkscape-devel Digest, Vol 50, Issue 46
2010/7/28 海斌 <itxyga@...400...>
Andfoundnothingwrongduringinkscape,butinnoinkscapeexecutabledirectorygeneratedneededtosubscription-based.
btool does best-effort compilation - in other words, if some file generates an error, it doesn't stop the compilation but compiles the rest of files. You are seeing no error for the last compiled file but there were errors earlier in the build process. Run btool again, it should show the errors.
Regards, Krzysztof
On 30/7/10 03:46, 海斌 wrote:
src/extension/internal/emf-win32-inout.cpp: In member function 'virtual SPDocume nt* Inkscape::Extension::Internal::EmfWin32::open(Inkscape::Extension::Input*, c onst gchar*)': src/extension/internal/emf-win32-inout.cpp:2356:73: error: invalid conversion fr om 'int (*)(HDC__*, HANDLETABLE*, ENHMETARECORD*, int, LPARAM)' to 'int (*)(HDC_ _*, HANDLETABLE*, const ENHMETARECORD*, int, LPARAM)' src/extension/internal/emf-win32-inout.cpp:2356:73: error: initializing argume nt 3 of 'BOOL EnumEnhMetaFile(HDC__*, HENHMETAFILE__*, int (*)(HDC__*, HANDLETAB LE*, const ENHMETARECORD*, int, LPARAM), void*, const RECT*)'
See the change recommended in an earlier thread about compiling Inkscape on Windows: http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/34225/focus=34270
hth, ~suv
=== modified file 'src/extension/internal/emf-win32-inout.cpp' --- src/extension/internal/emf-win32-inout.cpp 2009-12-16 21:27:19 +0000 +++ src/extension/internal/emf-win32-inout.cpp 2010-07-17 19:44:32 +0000 @@ -733,7 +733,7 @@
static int CALLBACK -myEnhMetaFileProc(HDC /*hDC*/, HANDLETABLE * /*lpHTable*/, ENHMETARECORD *lpEMFR, int /*nObj*/, LPARAM lpData) +myEnhMetaFileProc(HDC /*hDC*/, HANDLETABLE * /*lpHTable*/, ENHMETARECORD const *lpEMFR, int /*nObj*/, LPARAM lpData) { PEMF_CALLBACK_DATA d; SVGOStringStream tmp_outsvg;
participants (2)
-
~suv
-
海斌