problems in compiling on windows
I have compiled Inkscape completely according to instructions given on this link http://wiki.inkscape.org/wiki/index.php/Win32Port
but as given there is no executable in the inkscape directory.
That's why nsis installer is also giving error in creating installer.
Just a few more details could help. What exactly did you do, and what was the result? In particular, where there any errors during compilation? (Compilation should end with a whole lot of things being copied and then showing the total amount of time spent on the compilation.) Did you make sure that you have both devlibs and trunk, and that the paths in mingwenv.bat point to the right locations? Are you using TDM's gcc? Have you built buildtool? Do you get a build directory? If so, what does it contain? Etc., etc.
I did each and every step as given on the link , I've provided. There weren't any error's in the compilation. yes, I've both devlibs and trunk and here is the mingwenv.bat
@echo Setting environment variables for MinGw build of Inkscape IF "%DEVLIBS_PATH%"=="" set DEVLIBS_PATH=c:\devlibs IF "%MINGW_PATH%"=="" set MINGW_PATH=c:\MinGW set MINGW_BIN=%MINGW_PATH%\bin set PKG_CONFIG_PATH=%DEVLIBS_PATH%\lib\pkgconfig set PATH=%MINGW_BIN%;%PATH%;%DEVLIBS_PATH%\bin;%DEVLIBS_PATH%\pytho
which points to the right locations.
On 27-06-11 23:16, Abhinav Vishwa wrote:
I have compiled Inkscape completely according to instructions given on this link http://wiki.inkscape.org/wiki/index.php/Win32Port
but as given there is no executable in the inkscape directory.
That's why nsis installer is also giving error in creating installer.
Just a few more details could help. What exactly did you do, and what was the result? In particular, where there any errors during compilation? (Compilation should end with a whole lot of things being copied and then showing the total amount of time spent on the compilation.) Did you make sure that you have both devlibs and trunk, and that the paths in mingwenv.bat point to the right locations? Are you using TDM's gcc? Have you built buildtool? Do you get a build directory? If so, what does it contain? Etc., etc.
I did each and every step as given on the link , I've provided. There weren't any error's in the compilation. yes, I've both devlibs and trunk and here is the mingwenv.bat
@echo Setting environment variables for MinGw build of Inkscape IF "%DEVLIBS_PATH%"=="" set DEVLIBS_PATH=c:\devlibs IF "%MINGW_PATH%"=="" set MINGW_PATH=c:\MinGW set MINGW_BIN=%MINGW_PATH%\bin set PKG_CONFIG_PATH=%DEVLIBS_PATH%\lib\pkgconfig set PATH=%MINGW_BIN%;%PATH%;%DEVLIBS_PATH%\bin;%DEVLIBS_PATH%\pytho
which points to the right locations.
Okay, if you did exactly what's on that page and everything worked fine then you should have an inkscape subdirectory containing inkscape.exe, as this is one of the steps in the build procedure (and failing to copy files to this directory would generally show up as an error).
To clarify, suppose that you have a directory called "trunk" that contains the source code (so it contains buildtool.cpp, mingwenv.bat, the src and share directories, etc.), then a subdirectory "inkscape" of the trunk directory should be created (so at the same level as the src, share and build directories) and it should contain a whole lot of files, including inkscape.exe. So schematically you should have something like this:
trunk - build - inkscape - inkscape.exe - ... - share - src - mingwenv.bat - build.xml - buildtool.cpp - ...
You run buildtool in the "trunk" directory.
If you still cannot find inkscape.exe, please send the output of buildtool and of dir /s, executed from the "trunk" directory (if it's large, please zip and mail to me personally or put it on-line somewhere).
participants (2)
-
Abhinav Vishwa
-
Jasper van de Gronde