Hello,
The trunk and 0.48.x branch don't compile on Windows XP with the current revisions due to the following make error:
Make error line 299: problem compiling: In file included from c:\devlibs/include/libwpg-0.1/libwpg/WPGraphics.h:29, from c:\devlibs/include/libwpg-0.1/libwpg/libwpg.h:35, from src/extension/internal/wpg-input.cpp:51: c:\devlibs/include/libwpg-0.1/libwpg/WPGString.h:41: warning: type qualifiers ignored on function return type c:\devlibs/include/libwpg-0.1/libwpg/WPGString.h:45: warning: type qualifiers ignored on function return type In file included from c:\devlibs/include/libwpg-0.1/libwpg/WPGBitmap.h:30, from c:\devlibs/include/libwpg-0.1/libwpg/WPGPaintInterface.h:30, from c:\devlibs/include/libwpg-0.1/libwpg/libwpg.h:36, from src/extension/internal/wpg-input.cpp:51: c:\devlibs/include/libwpg-0.1/libwpg/WPGRect.h:50: warning: type qualifiers ignored on function return type c:\devlibs/include/libwpg-0.1/libwpg/WPGRect.h:51: warning: type qualifiers ignored on function return type In file included from c:\devlibs/include/libwpg-0.1/libwpg/WPGPaintInterface.h:30, from c:\devlibs/include/libwpg-0.1/libwpg/libwpg.h:36, from src/extension/internal/wpg-input.cpp:51: c:\devlibs/include/libwpg-0.1/libwpg/WPGBitmap.h:53: warning: type qualifiers ignored on function return type c:\devlibs/include/libwpg-0.1/libwpg/WPGBitmap.h:56: warning: type qualifiers ignored on function return type In file included from c:\devlibs/include/libwpg-0.1/libwpg/WPGPaintInterface.h:31, from c:\devlibs/include/libwpg-0.1/libwpg/libwpg.h:36, from src/extension/internal/wpg-input.cpp:51: c:\devlibs/include/libwpg-0.1/libwpg/WPGBinaryData.h:52: warning: type qualifiers ignored on function return type src/extension/internal/wpg-input.cpp: In member function 'virtual SPDocument* Inkscape::Extension::Internal::WpgInput::open(Inkscape::Extension::Input*, const gchar*)': src/extension/internal/wpg-input.cpp:72: error: 'input' was not declared in this scope src/extension/internal/wpg-input.cpp:78: error: 'olestream' was not declared in this scope src/extension/internal/wpg-input.cpp:79: error: type '<type error>' argument given to 'delete', expected pointer src/extension/internal/wpg-input.cpp:84: error: 'input' was not declared in this scope src/extension/internal/wpg-input.cpp:88: error: type '<type error>' argument given to 'delete', expected pointer src/extension/internal/wpg-input.cpp:97: error: 'input' was not declared in this scope src/extension/internal/wpg-input.cpp:97: error: 'output' was not declared in this scope src/extension/internal/wpg-input.cpp:98: error: type '<type error>' argument given to 'delete', expected pointer src/extension/internal/wpg-input.cpp:104: error: 'output' was not declared in this scope src/extension/internal/wpg-input.cpp:105: error: 'input' was not declared in this scope src/extension/internal/wpg-input.cpp: At global scope: src/extension/internal/wpg-input.cpp:66: warning: unused parameter 'mod' src/extension/internal/wpg-input.cpp:66: warning: unused parameter 'uri'
The branch also show an error with emf-win32-inout.cpp:
Make error line 299: problem compiling: src/extension/internal/emf-win32-inout.cpp: In member function 'virtual SPDocument* Inkscape::Extension::Internal::EmfWin32::open(Inkscape::Extension::Input*, const gchar*)': src/extension/internal/emf-win32-inout.cpp:2356: error: invalid conversion from 'int (*)(HDC__*, HANDLETABLE*, const ENHMETARECORD*, int, LPARAM)' to 'int (*)(HDC__*, HANDLETABLE*, ENHMETARECORD*, int, LPARAM)' src/extension/internal/emf-win32-inout.cpp:2356: error: initializing argument 3 of 'BOOL EnumEnhMetaFile(HDC__*, HENHMETAFILE__*, int (*)(HDC__*, HANDLETABLE*, ENHMETARECORD*, int, LPARAM), void*, const RECT*)'
Not problem when compiling on Ubuntu.
Regards, -- Nicolas
On Jun 11, 2011, at 12:18 AM, Nicolas Dufour wrote:
Hello,
The trunk and 0.48.x branch don't compile on Windows XP with the current revisions due to the following make error:
[SNIP]
Inkscape::Extension::Internal::WpgInput::open(Inkscape::Extension::Input*, const gchar*)': src/extension/internal/wpg-input.cpp:72: error: 'input' was not declared in this scope
Give it another go. Trunk revision 10269 and 0.48.x revision 9795 most likely have fixed it.
The EMF, on the other hand, most likely is a previous problem. Some have seen a few rebuild attempts clear it up. Although it could be some const error revealed by removing improper C-style casts elsewhere.
De : Jon Cruz <jon@...18...>
Give it another go. Trunk revision 10269 and 0.48.x revision 9795 most likely have fixed it.
Thanks for the fix. It now works with the trunk. But I still have the EMF issue with the branch.
The EMF, on the other hand, most likely is a previous problem. Some have seen a few rebuild attempts clear it up. Although it could be some const error revealed by removing improper C-style casts elsewhere.
It was a new install and a first build. No previous files interfering. I've retried 3 times, with no success.
Regards. -- Nicolas
On 11/6/11 13:42, Nicolas Dufour wrote:
De : Jon Cruz <jon@...18...>
The EMF, on the other hand, most likely is a previous problem. Some have seen a few rebuild attempts clear it up. Although it could be some const error revealed by removing improper C-style casts elsewhere.
It was a new install and a first build. No previous files interfering. I've retried 3 times, with no success.
See related earlier thread in 'inkscape-devel': http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/34645/focus=34651
Possibly the change committed in revision http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_48_BRANCH/revision/9785 only works on one architecture?
Related report: https://bugs.launchpad.net/inkscape/+bug/594528
~suv
On Jun 11, 2011, at 4:47 AM, ~suv wrote:
On 11/6/11 13:42, Nicolas Dufour wrote:
De : Jon Cruz <jon@...18...>
The EMF, on the other hand, most likely is a previous problem. Some have seen a few rebuild attempts clear it up. Although it could be some const error revealed by removing improper C-style casts elsewhere.
It was a new install and a first build. No previous files interfering. I've retried 3 times, with no success.
See related earlier thread in 'inkscape-devel': http://thread.gmane.org/gmane.comp.graphics.inkscape.devel/34645/focus=34651
Possibly the change committed in revision http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_48_BRANCH/revision/9785 only works on one architecture?
Related report: https://bugs.launchpad.net/inkscape/+bug/594528
So if we can confirm that a win32 build works on the trunk but not on the branch, I can reconcile those and backport a few things. It would take someone actually building win64 to verify, though.
participants (3)
-
Jon Cruz
-
Nicolas Dufour
-
~suv