Windows XP, cannot link rev 14858

Bug #1571365 reported by Alvin Penner
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Critical
theAdib

Bug Description

using btool and devlibs 61, I get the following errors:

##### Target : link
##### link objects and library to create executable
--- link / rc
--- link / link
Make error line 460: LINK problem: build\obj\extension\plugins\grid2\grid.o:grid
.cpp:(.text+0x0): multiple definition of `Inkscape::Extension::Internal::Grid::l
oad(Inkscape::Extension::Extension*)'
build\obj\extension\internal\grid.o:grid.cpp:(.text+0x0): first defined here
build\obj\extension\plugins\grid2\grid.o:grid.cpp:(.text+0x18): multiple definit
ion of `Inkscape::Extension::Internal::Grid::prefs_effect(Inkscape::Extension::E
ffect*, Inkscape::UI::View::View*, sigc::signal<void, sigc::nil, sigc::nil, sigc
::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil>*, Inkscape::Extension::Implem
entation::ImplementationDocumentCache*)'
build\obj\extension\internal\grid.o:grid.cpp:(.text+0x18): first defined here
build\obj\extension\plugins\grid2\grid.o:grid.cpp:(.text+0x1c0): multiple defini
tion of `Inkscape::Extension::Internal::PrefAdjustment::val_changed()'
build\obj\extension\internal\grid.o:grid.cpp:(.text+0x19c): first defined here
build\obj\extension\plugins\grid2\grid.o:grid.cpp:(.text+0x200): multiple defini
tion of `Inkscape::Extension::Internal::Grid::effect(Inkscape::Extension::Effect
*, Inkscape::UI::View::View*, Inkscape::Extension::Implementation::Implementatio
nDocumentCache*)'
build\obj\extension\internal\grid.o:grid.cpp:(.text+0x208): first defined here
build\obj\inkscape-version.o:inkscape-version.cpp:(.data+0x0): multiple definiti
on of `Inkscape::version_string'
build\obj\extension\plugins\grid2\grid.o:grid.cpp:(.data+0x0): first defined her
e
collect2: ld returned 1 exit status

su_v (suv-lp)
tags: added: build win32 win64
Revision history for this message
Patrick Storz (ede123) wrote :

Same issue with 64-bit builds on Windows 7 x64.

Caused by revision 14855
http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/14855

Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Windows 7, Inkscape trunk rev. 14859 (32-bit devlibs).

Changed in inkscape:
importance: Undecided → Critical
milestone: none → 0.92
status: New → Triaged
tags: added: regression
Revision history for this message
jazzynico (jazzynico) wrote :

nm returns the following result:

$ nm build/obj/extension/plugins/grid2/grid.o |grep "version"
00000000 t __GLOBAL__sub_I__ZN8Inkscape14version_stringE
00000000 D __ZN8Inkscape14version_stringE

Revision history for this message
theAdib (theadib) wrote :

the src/extension/plugins/ stuff is the new feature of having c++ plugins linking against a inkscapebase.dll

btool currently does not create this dll.

So using btool this must be kept out of building.

The problem was a small typo in build-xx.xml
s/plugin/plugins/

please see attached patch and commit if appropriate. I am limited here commiting.

regards, Adib.
--

Changed in inkscape:
assignee: nobody → Mc (mc...)
Revision history for this message
jazzynico (jazzynico) wrote :

Patch tested successfully on Windows 7, Inkscape trunk rev. 14859 (32-bit devlibs).
Thanks Adib!

Changed in inkscape:
status: Triaged → In Progress
Revision history for this message
Alvin Penner (apenner) wrote :

thanks, that fixed it for me too, on Windows XP

Revision history for this message
theAdib (theadib) wrote :

fix committed in rev 14860

Changed in inkscape:
assignee: Mc (mc...) → theAdib (theadib)
status: In Progress → Fix Committed
tags: added: cmake
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.