Hello Sebastian,

I am trying to composit a new shipable inkscape folder containing all depending dll and stuff.

I am struggeling on crashes as I copy more files into that directory.

Could you have a look at https://bugs.launchpad.net/inkscape/+bug/1571897

Regards, Adib.
--

On Wed, Apr 20, 2016 at 11:01 AM, Sebastian Faubel <sebastian@...3248...> wrote:
Hello everyone,

I created these files to simplify building Inkscape on Windows. Originally they were not located in the root of the trunk, but in a separate 'build' folder because it is good practise for CMake to not build in the root/source directory. Somehow they moved when the merge was created. Anyway, there's a reason for these files to be there. In particular:

configure.bat: Deletes the CMake cache and regenerates all the makefiles to be sure that any changes in CMake files are actually applied. I spend hours on trying to solve an issue just to find out that relevant Makefiles were not regenerated by CMake for any reason. Moreover, the trunk version of the file is missing an option to CMake I had to add in order for it to build at all. I do not know why it was removed:

REM Configure using the MinGW compiler chain.
cmake -D"CMAKE_SYSTEM_PREFIX_PATH:PATH=C:\MinGW64\mingw64\x86_64-w64-mingw32" -G "MinGW Makefiles" ..

Surely is should use the MINGW_PATH environment variable here, but I had serious issues without this option set. The file could also be used to setup the system environment variables, such as MINGW_PATH if they are not set to a valid value and store them somewhere making the setup somehow more user friendly.

touch.bat: Since there is no such thing as touch on Windows, I created the script to reset the modification dates of all .obj files in case of changes to the CMake configuration which would trigger a full rebuild. This is simply a time and enery saver.

I did not have the chance to check out trunk and try to build it on my machine. But I will do it this week. I saw that the wiki got updated with new instructions for compiling on Windows 64-bit. Wonderful, thanks Adib.

~Sebastian

Semiodesk GmbH | Werner-von-Siemens-Str. 6 Geb. 15k, 86159 Augsburg, Germany Phone: +49 821 8854401 | Fax: +49 821 8854410 | www.semiodesk.com


This e-mail message may contain confidential or legally privileged information and is intended only for the use of the intended recipient(s). Any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is prohibited. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, or contain viruses. Anyone who communicates with us by e-mail is deemed to have accepted these risks. Semiodesk GmbH is not responsible for errors or omissions in this message and denies any responsibility for any damage arising from the use of e-mail. Any opinion and other statement contained in this message and any attachment are solely those of the author and do not necessarily represent those of the company.


2016-04-20 8:57 GMT+02:00 Olof Bjarnason <olof.bjarnason@...400...>:


On 20 April 2016 at 08:27, LucaDC <dicappello@...2144...> wrote:
In rev. 14855 ("merge Moritz's branch") two batch files have been added in
the root of trunk: configure.bat and touch.bat.
Both of them contain a particular system's specific configurations like a
fixed path and a reference to some script/program (forfiles) so little
chances they are useful for others.

Being them useless and to avoid confusion I think they should be removed
from version control.

I believe they were used to get the Windows build working with cmake, so if they improved/corrected they probably would have use for the Windows build maintainer. Is there a subfolder for Windows building to move them to?

Sebastian, Moritz friend did mention some weird for,, syntax to stop cmake from rebuilding "everything" each time he made a change to get Inkscape building on his Windows machine.

Maybe Sebastian and Moritz knows more about this?  





--
View this message in context: http://inkscape.13.x6.nabble.com/New-batch-files-in-trunk-tp4976419.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