Cannot compile r10198 on XP.
Error message:
Make error line 300: problem compiling: src/xml/rebase-hrefs.cpp: In function 'void Inkscape::XML::rebase_hrefs(SPDocument*, const gchar*, bool)':
src/xml/rebase-hrefs.cpp:255:37: error: cannot convert 'std::string' to 'const gchar*' for argument '1' to 'gboolean g_path_is_absolute(const gchar*)'
src/xml/rebase-hrefs.cpp:256:41: error: cannot convert 'std::string' to 'gchar*' for argument '1' to 'gchar* g_strdelimit(gchar*, const gchar*, gchar)'
src/xml/rebase-hrefs.cpp:284:88: error: invalid conversion from 'const char*' to 'gchar*'
src/xml/rebase-hrefs.cpp:284:88: error: initializing argument 1 of 'gchar* g_strdelimit(gchar*, const gchar*, gchar)'
Preben S
On May 6, 2011, at 7:45 PM, Preben Soeberg wrote:
Cannot compile r10198 on XP.
Error message: Make error line 300: problem compiling: src/xml/rebase-hrefs.cpp: In function 'void Inkscape::XML::rebase_hrefs(SPDocument*, const gchar*, bool)': src/xml/rebase-hrefs.cpp:255:37: error: cannot convert 'std::string' to 'const gchar*' for argument '1' to 'gboolean g_path_is_absolute(const gchar*)' src/xml/rebase-hrefs.cpp:256:41: error: cannot convert 'std::string' to 'gchar*' for argument '1' to 'gchar* g_strdelimit(gchar*, const gchar*, gchar)' src/xml/rebase-hrefs.cpp:284:88: error: invalid conversion from 'const char*' to 'gchar*' src/xml/rebase-hrefs.cpp:284:88: error: initializing argument 1 of 'gchar* g_strdelimit(gchar*, const gchar*, gchar)'
Thanks. Getting a fix now.
I'm getting this error when compiling 10203 after a "clean":
Make error line 300: problem compiling: In file included from ./src/color-profile.h:12, from ./src/color-profile-test.h:11, from src/test-src.cpp:27: c:\devlibs/include/lcms.h: In function 'void* _cmsMalloc(size_t)': c:\devlibs/include/lcms.h:1410: warning: comparison of unsigned expression < 0 is always false In file included from src/test-src.cpp:52: ./src/dir-util-test.h: In member function 'void DirUtilTest::testBase()': ./src/dir-util-test.h:25: error: cannot convert 'std::string' to 'const char*' in initialization
participants (3)
-
Jon Cruz
-
LucaDC
-
Preben Soeberg