attempting to compile rev 13646, devlibs rev 52, I get the following link error:
--- link / rc --- link / link ============ cmd ============ mingw32-g++ -o build/inkscape.exe -mwindows -mthreads build\obj\2geom\affine.o b uild\obj\2geom\basic-intersection.o build\obj\2geom\bezier-clipping.o build\obj\ 2geom\bezier-curve.o build\obj\2geom\bezier-utils.o build\obj\2geom\circle-circl e.o build\obj\2geom\circle.o build\obj\2geom\conic_section_clipper_impl.o build\ obj\2geom\conicsec.o build\obj\2geom\conjugate_gradient.o build\obj\2geom\convex -cover.o build\obj\2geom\crossing.o build\obj\2geom\curve.o build\obj\2geom\d2-s basis.o build\obj\2geom\ellipse.o build\obj\2geom\elliptical-arc.o build\obj\2ge ... snip ... 9 -Lc:\devlibs/lib -lwpd-stream-0.9 -Lc:\devlibs/lib -lwpg-0.2 -Lc:\devlibs/lib -llcms2 -liconv -Lc:\devlibs/lib -lMagick++ -Lc:\devlibs/lib -lMagickCore -Lc:\d evlibs/lib -lfontconfig -Lc:\devlibs/lib -lfreetype -Lc:\devlibs/lib -llcms2 -Lc :\devlibs/lib -lgsl -lgslcblas -lm -lpng -ljpeg -ltiff -lexif -lpopt -lz -lgc -l ws2_32 -lintl -lgdi32 -lcomdlg32 -lm -lgomp -lpthreadGC2 -laspell -lmscms ============================= Make error line 447: LINK problem: mingw32-g++: error: CreateProcess: No such file or directory
Cheers, Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/cannot-link-rev-13646-Windows-XP-tp4971975.... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
What's -lmscms?
On Thu, Oct 30, 2014 at 3:41 PM, alvinpenner <penner@...1856...> wrote:
attempting to compile rev 13646, devlibs rev 52, I get the following link error:
--- link / rc --- link / link ============ cmd ============ mingw32-g++ -o build/inkscape.exe -mwindows -mthreads build\obj\2geom\affine.o b uild\obj\2geom\basic-intersection.o build\obj\2geom\bezier-clipping.o build\obj\ 2geom\bezier-curve.o build\obj\2geom\bezier-utils.o build\obj\2geom\circle-circl e.o build\obj\2geom\circle.o build\obj\2geom\conic_section_clipper_impl.o build\ obj\2geom\conicsec.o build\obj\2geom\conjugate_gradient.o build\obj\2geom\convex -cover.o build\obj\2geom\crossing.o build\obj\2geom\curve.o build\obj\2geom\d2-s basis.o build\obj\2geom\ellipse.o build\obj\2geom\elliptical-arc.o build\obj\2ge ... snip ... 9 -Lc:\devlibs/lib -lwpd-stream-0.9 -Lc:\devlibs/lib -lwpg-0.2 -Lc:\devlibs/lib -llcms2 -liconv -Lc:\devlibs/lib -lMagick++ -Lc:\devlibs/lib -lMagickCore -Lc:\d evlibs/lib -lfontconfig -Lc:\devlibs/lib -lfreetype -Lc:\devlibs/lib -llcms2 -Lc :\devlibs/lib -lgsl -lgslcblas -lm -lpng -ljpeg -ltiff -lexif -lpopt -lz -lgc -l ws2_32 -lintl -lgdi32 -lcomdlg32 -lm -lgomp -lpthreadGC2 -laspell -lmscms ============================= Make error line 447: LINK problem: mingw32-g++: error: CreateProcess: No such file or directory
Cheers, Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/cannot-link-rev-13646-Windows-XP-tp4971975.... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
good question. On XP I have the file
C:\WINDOWS\system32\mscms.dll Microsoft Color Matching System DLL rev 5.1.2600.5627 (xpsp_sp3_gdr.080624-1245)
..................... on Windows 7 the version is somewhat newer: 6.1.7601.17514
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/cannot-link-rev-13646-Windows-XP-tp4971975p... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
OK. I am not sure how you are building Inkscape, but I think that is your problem. Please remove it and see if it works.
I have never had to link to a Windows system DLL while building Inkscape.
On Thu, Oct 30, 2014 at 6:43 PM, alvinpenner <penner@...1856...> wrote:
good question. On XP I have the file
C:\WINDOWS\system32\mscms.dll Microsoft Color Matching System DLL rev 5.1.2600.5627 (xpsp_sp3_gdr.080624-1245)
..................... on Windows 7 the version is somewhat newer: 6.1.7601.17514
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/cannot-link-rev-13646-Windows-XP-tp4971975p... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
I'm using the same build I've always used, namely btool. I don't actually know how to remove this file from the build.
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/cannot-link-rev-13646-Windows-XP-tp4971975p... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
On 30-Oct-2014 16:12, alvinpenner wrote:
I'm using the same build I've always used, namely btool. I don't actually know how to remove this file from the build.
It is in build.xml. However, it has been there a long time.
Are you sure it is that library file that is causing the problem?
Sounds like it might be a problem with a newer devlibs, or maybe something that changed in mingw if you recently (re)installed that. The last time I built was with devlibs 50, and there were no issues with that library.
Regards,
David Mathog mathog@...1176... Manager, Sequence Analysis Facility, Biology Division, Caltech
I fixed it by rebuilding the btool file, using:
g++ buildtool.cpp -o btool
The new btool is twice as large as the old one, see below:
10/31/2014 02:43 PM 1,685,178 btool.exe 10/29/2012 05:59 PM 875,066 btool_old.exe
It might be worth posting this info somewhere as a heads-up for Windows developers. I had previously built rev 13632 successfully using the old btool.
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/cannot-link-rev-13646-Windows-XP-tp4971975p... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
The command line I use to build btool is:
g++ -O3 buildtool.cpp -o btool.exe -fopenmp
as I've been told somewhere on this mailing list, I don't remember where. My size is 1.466.999 byte, g++ (tdm-1) 4.6.1, devlibs Rev. 53, Window XP SP3.
-- View this message in context: http://inkscape.13.x6.nabble.com/cannot-link-rev-13646-Windows-XP-tp4971975p... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
interesting, I took my command directly from the website: https://inkscape.org/en/develop/getting-started/#building-inkscape-windows
Might be interesting to find out what the different options mean. (Otherwise, my setup is identical to yours, long live XP!)
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/cannot-link-rev-13646-Windows-XP-tp4971975p... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
sorry about the noise, I think I found your command at: http://wiki.inkscape.org/wiki/index.php/Compiling_Inkscape_on_Windows
Alvin
-- View this message in context: http://inkscape.13.x6.nabble.com/cannot-link-rev-13646-Windows-XP-tp4971975p... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
participants (4)
-
alvinpenner
-
LucaDC
-
mathog
-
Partha Bagchi