Inkscape 0.48 trunk compiling under Windows
Hi!
I'm trying to compile Inkscape 0.48 trunk version under Windows following the instructions from http://wiki.inkscape.org/wiki/index.php/Win32Port.
I keep getting a few types of error messages:
Make error line 291: problem compiling: src/eraser-context.cpp: In function 'void set_to_accumulated(SPEraserContext*)':
src/eraser-context.cpp:752:55: error: 'r' was not declared in this scope
The code at the problematic location looks like this:
Inkscape::Rubberband::Rubberband* r; r = Inkscape::Rubberband::get(desktop);
When I browse it under Eclipse, Eclipse hooks Rubberband up and shows the class definition promptly. However when I try to compile Inkscape from console, it throws an error described above.
Make error line 291: problem compiling: In file included from src/extension/internal/bitmap/adaptiveThreshold.h:9:0, from src/extension/internal/bitmap/adaptiveThreshold.cpp:12: src/extension/internal/bitmap/imagemagick.h:14:22: fatal error: Magick++.h: No such file or directory compilation terminated.
Magick++.h exists in the devlibs directory. This one I get from both Eclipse and console.
I have checked all environment variables and they seem to be ok. Any ideas what it might be?
Thank you, Polina
2011/1/19 PolinaYanovich <polina.yanovich@...400...>:
I'm trying to compile Inkscape 0.48 trunk version under Windows following the instructions from http://wiki.inkscape.org/wiki/index.php/Win32Port.
So, which one is it? The 0.48 branch version (lp:inkscape/0.48.x), or the trunk (lp:inkscape)? They are quite different.
It would also be helpful to know what exact commands you are using to compile.
Regards, Krzysztof
So, which one is it? The 0.48 branch version (lp:inkscape/0.48.x), or the trunk (lp:inkscape)? They are quite different.
It would also be helpful to know what exact commands you are using to compile.
It's the trunk version lp:inkscape, sorry about that. I got it on Monday, Jan 17 if it helps.
I'm using btool 2> log.txt to compile (following the instructions on http://wiki.inkscape.org/wiki/index.php/Win32Port). Would you like me to send you the whole log.txt?
Thank you, Polina
2011/1/19 PolinaYanovich <polina.yanovich@...400...>:
It's the trunk version lp:inkscape, sorry about that. I got it on Monday, Jan 17 if it helps.
Please double-check this. My checkout of the trunk (up to date as of January 19) has this at line 752 in eraser-context.cpp: Geom::Rect bounds = (*eraserBbox) * desktop->doc2dt();
I'm using btool 2> log.txt to compile (following the instructions on http://wiki.inkscape.org/wiki/index.php/Win32Port). Would you like me to send you the whole log.txt?
This could be helpful, please send it. Also verify that you have the devlibs from Launchpad, not the old ones from Modevia.
Regards, Krzysztof
Krzysztof Kosiński wrote:
Please double-check this. My checkout of the trunk (up to date as of January 19) has this at line 752 in eraser-context.cpp: Geom::Rect bounds = (*eraserBbox) * desktop->doc2dt();
This could be helpful, please send it. Also verify that you have the devlibs from Launchpad, not the old ones from Modevia.
OK. I think I got the big picture. I have two versions of code and they are different.
The one that I checked out from console (lp:inkscape) doesn't have the problem with 'r' being undefined. Neither it has any problems with Magick++. It doesn't build though. I used btool command again. Here's BTool output.
##### Target : linkconsole ##### link console helper --- linkconsole / link ##### Target : i18n ##### compile gettext .po files to .mo --- i18n / msgfmt ============ cmd ============ msgfmt po/am.po -o build/locale/am/LC_MESSAGES/inkscape.mo ============================= Make error line 453: executeCommand : could not create process : The system cann ot find the file specified. Make error line 453: <msgfmt> problem:
The other version I got from https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk using Eclipse/Subclipse and this one has all the problems I described in the initial message and it seems rather old. E.g. eraser-context.cpp last edit date is 2008.
This quite nicely matches the fact that the instructions for using Eclipse also seem to be a bit outdated.
Do you still support it?
Thanks a lot, Polina
2011/1/20 PolinaYanovich <polina.yanovich@...400...>:
The one that I checked out from console (lp:inkscape) doesn't have the problem with 'r' being undefined. Neither it has any problems with Magick++. It doesn't build though. I used btool command again. Here's BTool output.
##### Target : linkconsole ##### link console helper --- linkconsole / link ##### Target : i18n ##### compile gettext .po files to .mo --- i18n / msgfmt ============ cmd ============ msgfmt po/am.po -o build/locale/am/LC_MESSAGES/inkscape.mo ============================= Make error line 453: executeCommand : could not create process : The system cann ot find the file specified. Make error line 453: <msgfmt> problem:
This looks like a problem with Gettext. Check whether you can run the msgfmt program from the console. If you can't, it means you don't have the devlibs bin/ directory in your PATH. Did you run mingwenv.bat in the console before running btool?
The other version I got from https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk using Eclipse/Subclipse and this one has all the problems I described in the initial message and it seems rather old. E.g. eraser-context.cpp last edit date is 2008.
This quite nicely matches the fact that the instructions for using Eclipse also seem to be a bit outdated.
Do you still support it?
No, the SVN repository exists only for posterity, because it has some very old revisions that could not be converted to Bazaar, and AFAIK is read-only. All development happens in the Bazaar repository on Launchpad.
Regards, Krzysztof
Polina,
just for the record: which version of windows are you using? What is you standard language set on windows?
I can run the full chain on winXP using TDM 4.51 compiler with no problem and no modification so far.
Thanks, Adib. -- 2011/1/20 Krzysztof Kosiński <tweenk.pl@...400...>:
2011/1/20 PolinaYanovich <polina.yanovich@...400...>:
The one that I checked out from console (lp:inkscape) doesn't have the problem with 'r' being undefined. Neither it has any problems with Magick++. It doesn't build though. I used btool command again. Here's BTool output.
##### Target : linkconsole ##### link console helper --- linkconsole / link ##### Target : i18n ##### compile gettext .po files to .mo --- i18n / msgfmt ============ cmd ============ msgfmt po/am.po -o build/locale/am/LC_MESSAGES/inkscape.mo ============================= Make error line 453: executeCommand : could not create process : The system cann ot find the file specified. Make error line 453: <msgfmt> problem:
This looks like a problem with Gettext. Check whether you can run the msgfmt program from the console. If you can't, it means you don't have the devlibs bin/ directory in your PATH. Did you run mingwenv.bat in the console before running btool?
The other version I got from https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk using Eclipse/Subclipse and this one has all the problems I described in the initial message and it seems rather old. E.g. eraser-context.cpp last edit date is 2008.
This quite nicely matches the fact that the instructions for using Eclipse also seem to be a bit outdated.
Do you still support it?
No, the SVN repository exists only for posterity, because it has some very old revisions that could not be converted to Bazaar, and AFAIK is read-only. All development happens in the Bazaar repository on Launchpad.
Regards, Krzysztof
Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
the Adib wrote:
just for the record: which version of windows are you using? What is you standard language set on windows?
I can run the full chain on winXP using TDM 4.51 compiler with no problem and no modification so far.
Adib, Krzysztof
I got it up and running except for InkView, but I just excluded it from the build - no big deal. Thanks a lot for your help! Just for the record: my system is WinXP SP3, TDM 4.5.1 and the language is English (US), if it's still relevant.
Perhaps, it might be a good idea to update the documentation page http://wiki.inkscape.org/wiki/index.php/Using_Eclipse with the alive repository location if it's still relevant.
Best, Polina
participants (3)
-
Krzysztof Kosiński
-
PolinaYanovich
-
the Adib