Hello world, I'm new ! I don't know if it's the best place to ask this, but I'm new on this mailing list and I'm French so...I have to concentrate myself to read en write. I'm sorry if I do some spellings... But my problem is that I have a problem when I want build Inkscape on my PC (with Windows 7). I follow these instructions : http://wiki.inkscape.org/wiki/index.php/Win32Port But the last act (C:\src\inkscape\trunk> btool) don't work :( I can see a lot of errors like that :
============ cmd ============ mingw32-g++ -c -Wall -Wformat -Werror=format-security -W -Wpointer-arith -Wcast- align -Wsign-compare -Woverloaded-virtual -Wswitch -O2 -mms-bitfields -fopenmp - DVERSION="0.47+devel" -DHAVE_CONFIG_H -D_INTL_REDIRECT_INLINE -DHAVE_SSL -DREL AYTOOL_SSL="static const int libssl_is_present=1; static int __attribute__((unus ed)) libssl_symbol_is_present(char *s){ return 1; }" -DPOPPLER_NEW_GFXFONT -I. - Ic:\devlibs/include -Ic:\devlibs/include/gtkmm-2.4 -Ic:\devlibs/lib/gtkmm-2.4/in clude -Ic:\devlibs/include/glibmm-2.4 -Ic:\devlibs/lib/glibmm-2.4/include -Ic:\ devlibs/include/glib-2.0 -Ic:\devlibs/lib/glib-2.0/include -mms-bitfields -Ic:\d evlibs/include/sigc++-2.0 -Ic:\devlibs/lib/sigc++-2.0/include -Ic:\devlibs/inclu de/giomm-2.4 -Ic:\devlibs/lib/giomm-2.4/include -Ic:\devlibs/include/gdkmm-2.4 -Ic:\devlibs/lib/gdkmm-2.4/include -Ic:\devlibs/include/pangomm-1.4 -Ic:\devlib s/lib/pangomm-1.4/include -Ic:\devlibs/include/gtk-2.0 -Ic:\devlibs/lib/gtk-2.0/ include -Ic:\devlibs/include/gtk-2.0 -Ic:\devlibs/include/pango-1.0 -Ic:\devlibs /include/pango-1.0 -Ic:\devlibs/include/pango-1.0 -Ic:\devlibs/include/cairo -Ic :\devlibs/include/cairomm-1.0 -Ic:\devlibs/lib/cairomm-1.0/include -Ic:\devlibs/ include/atkmm-1.6 -Ic:\devlibs/include/atk-1.0 -Ic:\devlibs/include/gtk-2.0 -mms -bitfields -Ic:\devlibs/include/gtk-2.0 -Ic:\devlibs/lib/gtk-2.0/include -Ic:\de vlibs/include/ImageMagick -Ic:\devlibs/include/ImageMagick -fopenmp -D_MAGICKDLL _ -Ic:\devlibs/include/libxml2 -Ic:\devlibs/include/freetype2 -Ic:\devlibs/inclu de -Ic:\devlibs/include/cairo -Ic:\devlibs/include/poppler -Ic:\devlibs/include/ gc -Ic:\devlibs/include/libwpg-0.1 -Ic:\devlibs/include/libwpd-0.8 -Ic:\devlibs/ include/libwpg-0.1 -Ic:\devlibs/include/libwpd-0.8 -Icxxtest -Ic:\devlibs/python /include -Isrc/bind/javainc -Isrc/bind/javainc/win32 -Isrc -Isrc/2geom -Isrc/2 geom/numeric -Isrc/application -Isrc/bind -Isrc/debug -Isrc/dialogs -Isrc/displa y -Isrc/dom -Isrc/dom/io -Isrc/dom/odf -Isrc/dom/util -Isrc/extension -Isrc/exte nsion/implementation -Isrc/extension/internal -Isrc/extension/internal/bitmap -I src/extension/internal/filter -Isrc/extension/internal/pdfinput -Isrc/extension/ script -Isrc/filters -Isrc/helper -Isrc/io -Isrc/jabber_whiteboard -Isrc/jabber_ whiteboard/dialog -Isrc/libavoid -Isrc/libcola -Isrc/libcroco -Isrc/libgdl -Isrc /libnr -Isrc/libnrtype -Isrc/libvpsc -Isrc/libvpsc/pairingheap -Isrc/livarot -Is rc/live_effects -Isrc/live_effects/parameter -Isrc/pedro -Isrc/svg -Isrc/trace - Isrc/trace/potrace -Isrc/ui -Isrc/ui/cache -Isrc/ui/dialog -Isrc/ui/tool -Isrc/u i/view -Isrc/ui/widget -Isrc/util -Isrc/widgets -Isrc/xml src/xml/subtree.cpp -o build/obj/xml/subtree.o ============================= Make error line 299: problem compiling: cc1plus.exe: error: unrecognized command line option "-Werror=format-security" cc1plus.exe: error: unrecognized command line option "-fopenmp" cc1plus.exe: error: unrecognized command line option "-fopenmp"
Can you anderstand why I can't build it ? I need your help, I thank you if you answer me :)
2010/3/29 Elie MICHEL <mink.graph@...400...>:
But my problem is that I have a problem when I want build Inkscape on my PC (with Windows 7). I follow these instructions : http://wiki.inkscape.org/wiki/index.php/Win32Port But the last act (C:\src\inkscape\trunk> btool) don't work :( I can see a lot of errors like that :
It looks like you are using a different version of MinGW that doesn't support OpenMP. Are you sure you use the recommended build of MinGW, which is mentioned in the Win32Port article?
http://sourceforge.net/projects/tdm-gcc/files/TDM-MinGW%20Installer/1.908.0/...
Regards, Krzysztof
It may be that because I use the version of MinGW I used for build Blender and it's maybe a different version. I'll tri this in a jiffy, thx :)
2010/3/29 Krzysztof Kosiński <tweenk.pl@...400...>
2010/3/29 Elie MICHEL <mink.graph@...400...>:
But my problem is that I have a problem when I want build Inkscape on my
PC
(with Windows 7). I follow these instructions : http://wiki.inkscape.org/wiki/index.php/Win32Port But the last act (C:\src\inkscape\trunk> btool) don't work :( I can see a lot of errors like that :
It looks like you are using a different version of MinGW that doesn't support OpenMP. Are you sure you use the recommended build of MinGW, which is mentioned in the Win32Port article?
http://sourceforge.net/projects/tdm-gcc/files/TDM-MinGW%20Installer/1.908.0/...
Regards, Krzysztof
I also tried to compile on Windows after some delay and get this:
Make error line 478: LINK problem: c:/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: warning: auto-i mporting has been activated without --enable-auto-import specified on the command line. This should work unless it involves constant data structures referencing symbols from auto-imported DLLs. build\libinkscape.a(vertices.o):vertices.cpp:(.text+0x1a0e): undefined reference to `_Unwind_Resume' build\libinkscape.a(vertices.o):vertices.cpp:(.text$_ZNSt8_Rb_treeIjjSt9_IdentityIjESt4lessIjESaIjEE7_M_copyEPKSt13_Rb_t ree_nodeIjEPS7_[std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::al locator<unsigned int> >::_M_copy(std::_Rb_tree_node<unsigned int> const*, std::_Rb_tree_node<unsigned int>*)]+0x106): un defined reference to `_Unwind_Resume' build\libinkscape.a(vertices.o):vertices.cpp:(.text$_ZNSt8_Rb_treeIN5Avoid6VertIDESt4pairIKS1_St3setIjSt4lessIjESaIjEEES t10_Select1stIS9_ES5_IS1_ESaIS9_EE9_M_insertEPSt18_Rb_tree_node_baseSG_RKS9_[std::_Rb_tree<Avoid::VertID, std::pair<Avoi d::VertID const, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > >, std::_Select1st<std:: pair<Avoid::VertID const, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > > >, std::less< Avoid::VertID>, std::allocator<std::pair<Avoid::VertID const, std::set<unsigned int, std::less<unsigned int>, std::alloc ator<unsigned int> > > > >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::pair<Avoid::VertID const, std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> > > const&)]+0x115): undefined reference t o `_Unwind_Resume' build\libinkscape.a(vertices.o):vertices.cpp:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' build\libinkscape.a(gc.o):gc.cpp:(.text+0x273): undefined reference to `_Unwind_Resume'
and so on. Any quick fix for me?
W dniu 29 marca 2010 21:17 użytkownik bulia byak <buliabyak@...400...> napisał:
I also tried to compile on Windows after some delay and get this:
and so on. Any quick fix for me?
You've run into an exception handling ABI mismatch. Some of your .o files were compiled with a different exception handling model than what your current compiler uses. This should help:
1. Ensure you are using the SJLJ flavor of TDM-GCC 2. Ensure you have the latest devlibs 3. Rebuild from scratch (btool clean)
Regards, Krzysztof
2010/3/29 Krzysztof Kosiński <tweenk.pl@...400...>:
- Ensure you are using the SJLJ flavor of TDM-GCC
- Ensure you have the latest devlibs
- Rebuild from scratch (btool clean)
That helped, thanks!
participants (3)
-
bulia byak
-
Elie MICHEL
-
Krzysztof Kosiński