Hi all,

I was updating the instructions for cmake on win64 build here http://wiki.inkscape.org/wiki/index.php/Compiling_Inkscape_on_Windows_64-bit

I found that the cmake scripts do not create the bundle we used to have for running inkscape with all dependent dlls and stuff. I filed a bugreport here https://bugs.launchpad.net/inkscape/+bug/1571897

As we have a wiki, it is free for you to edit and update instructions. I think that "building inkscape on windows using CMake and MSyS" is also an alternative and could be documented. I was not aware of the "CMake" page in our wiki.
Please keep the constructive spirit and help improve the CMake files.

Possibly when CMake runs smoothly we can remove the additional helper files.

Currently for me CMake creates an inkscape.exe but this does not run yet. How does it works on your side? Did you tried building?
I noticed an massive increase in compiling time. On my laptop btool buils in less than 5min. BUt with CMake it need more than 30min.
Make spawns cmake and additional cmd proccesses that might be the bottelneck but I am not an expert.

Regards, Adib.
--

On Wed, Apr 20, 2016 at 9:55 PM, Olof Bjarnason <olof.bjarnason@...400...> wrote:






On 20 April 2016 at 21:45, Partha Bagchi <partha1b@...400...> wrote:
Hi Olof,

Yes, this page looks more like it. However, this page asks you to create minGW Makefiles as opposed to MSYS Makefiles I suggested. This is OK as well. I personally prefer the Msys shell to do my various builds.

I think Eduard is managing this page? I have been providing the devlibs for the 64-bit builds while he's been handling the packaging and building.  Let's wait for him to respond.

Sounds good,

/Olof
 

Thanks,
Partha



On Wed, Apr 20, 2016 at 2:16 PM, Olof Bjarnason <olof.bjarnason@...400...> wrote:





On 20 April 2016 at 18:37, Partha Bagchi <partha1b@...400...> wrote:
Hi Olof,

Based on the information provided on that page, I am unable to determine what the CMakeLists.txt looks like. Also, I see nothing about building on Windows. So I would say it's not up to date. :)

OK, I found the page that seems most appropriate for building on Windows.


Would you mind updating it, or giving me the details here so I can do it?

Regards,

 

Thanks,
Partha


On Wed, Apr 20, 2016 at 12:10 PM, Olof Bjarnason <olof.bjarnason@...400...> wrote:

Partha;

Of course ideally we want few or no exceptions for how to build inkscape on different platforms, however currently we seem not to have reached quite zero differences.

Until then we need clear documentation on differences. Are the details of using cmake to build inkscape on windows up to date?

http://wiki.inkscape.org/wiki/index.php/CMake

On 20 Apr 2016 15:02, "Partha Bagchi" <partha1b@...2179......> wrote:
If you are using CMAKE and have Msys and Mingw etc., then simply do the following:

cmake -G "MSYS Makefiles"  -DCMAKE etc. in your build folder

On Wed, Apr 20, 2016 at 8:28 AM, LucaDC <dicappello@...2144...> wrote:
I see.
Well, if they are for public utility it's correct that they are under
revision control (hence copied to everybody's folders).
But they are so specialized that I think that they are of little public
utility: they need mingw64, they need it in a special folder and they need
the "forfiles" command which is not present under all Windows OSs. They seem
to be too tied to a specific configuration to always work.

I don't know cmake: does the reference to "x86_64-w64-mingw32" mean that the
compilation is for 32 bit binaries built in a 64 bit environment?


Sebastian Faubel wrote
> Surely is should use the MINGW_PATH environment variable here, but I had
> serious issues without this option set.

Just a try: doesn't 'cmake
-D"CMAKE_SYSTEM_PREFIX_PATH:PATH=%MINGW_PATH%\x86_64-w64-mingw32" -G "MinGW
Makefiles" ..' work?
Or maybe (better) you should change the MINGW_PATH variable to
'C:\MinGW64\mingw64\x86_64-w64-mingw32' in your mingwenv.bat file (without
committing it) and remove that option: actually I can't see any reason to
tie a supposedly general script to such a particular need.




--
View this message in context: http://inkscape.13.x6.nabble.com/New-batch-files-in-trunk-tp4976419p4976429.html
Sent from the Inkscape - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel






------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...1794...s.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel