| Store | Cart

Re: [TCLCORE] Build on Windows 10 w/ VS2017 Community Edit ion and TIP organization …

From: Dipl. Ing. Sergey G. Brester via Tcl-Core <tcl-...@lists.sourceforge.net>
Mon, 17 Jul 2017 09:07:46 +0200
 

Hi Martin,

- To build tcl using command line, you need first set the VS environment
variables, hereafter use nmake.

Below you'll find an example for VS2K8 (9.0): 

if "%VCINSTALLDIR%" == "" call "%VS90COMNTOOLS%vsvars32.bat"
nmake -nologo -f makefile.vc release OPTS=threads,thrdalloc 

- To build tcl via IDE:

A while ago I repaired build for windows via VS-IDE (in fossil 8.5 -
trunk).
If you had previously compiled older version you should firstly remove
(auto-created) "winnmakehlp.exe".
Hereafter, just open "tcl.dsp" with Visual Studio (it should be
converted to VS solution on demand).
If your VS version is unable to convert ".dsp" to ".vcproj", I can send
you the "tcl.vcproj"...

Regards,
Sergey. 

Am 16.07.2017 22:44, schrieb Martin Lemburg: 

> Hi all together, > > Some questions, because the EuroTcl and the feature list for 8.7a made me decide to get involved a bit more: > > * As non-Linux user, not familiar with Cygwin, Mingw, etc. I just installed Visual Studion 2017 Community Edition. Afterwards I created a new project cloning the current tcl repository mirrored at github.> Now I want to just build tcl/Tk and do not know how to do.> I have a CMake menu, but this does not "connect" to the tcl build system.> I have the buildall.vc.bat file in the win folder, used it in the developer command prompt started from within VS2017, but it fails while trying to build zlib with:> > "zconf.h": No such file or directory> > This is correct, since there are only zconf.h.cmakein, zconf.h.in and zconf.h.included available. But shouldn't the zconf.h be build automatically to be used in the zlibs build? What am I or the build system missing?> > So - is there still no way to build tcl more easily with Visual Studio? More easily, than in the last 18 years?> > Some may say, that I'm doing it wrong, that it is so simple to use Linux-like build systems or Eclipse … if it is so simple, please instruct me, but please with direct emails to keep this distribution list less noisy.> BTW I never needed to use Eclipse and since "decades" I'm working with Visual Studio! My brain and memory resources are limited and if it is possible, I'd like to stay in my "work" environment to keep me from learning new things, but to concentrate on providing new things to tcl/Tk.> > I may ask a colleague, who got it right to build tcl in VS2008, VS2010, VS2013. Eventually that would work with VS2017CE, too. But if he is allowed to share his work for my private engagement? I don't know.> > * The TIP system is about to be changed, right? Is there already a plan, a how-to?> If the TIPs are (in some time) hosted at the FOSSIL repository, will the be mirrored to github, too?> > So if I want to TIP something how to start today?> > Or better waiting some "weeks", to get the new system implemented?> > * I never used FOSSIL and git mostly never from the command line. Would it be okay to start enhancing tcl/Tk starting cloning the github mirror?> Or is there a FOSSIL source code revision system plug-in for VS2017 available, so I could connect to the original repository?> Or is it "better" to get a copy of the source code, to enhance the wished parts accordingly to a new TIP and provide the patch to those with FOSSIL experiences and write access to integrate the hopefully accepted new stuff? > > Thanks in advance for some enlighting information! > > Good night! > > Martin Lemburg> Berlin / Germany> > mart...@gmx.net> http://about.me/Martin0815 > > ------------------------------------------------------------------------------> Check out the vibrant tech community on one of the world's most> engaging tech sites, Slashdot.org! http://sdm.link/slashdot [1]> > _______________________________________________> Tcl-Core mailing list> Tcl-...@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/tcl-core [2]
 

Links:
------
[1] http://sdm.link/slashdot
[2] https://lists.sourceforge.net/lists/listinfo/tcl-core

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core

Recent Messages in this Thread
Martin Lemburg Jul 16, 2017 08:44 pm
Dipl. Ing. Sergey G. Brester via Tcl-Core Jul 17, 2017 07:07 am
Christian Gollwitzer Jul 17, 2017 07:22 am
Harald Oehlmann Jul 17, 2017 07:14 am
Martin Lemburg Jul 17, 2017 02:43 pm
Alexander Schöpe Jul 17, 2017 03:53 pm
Martin Lemburg Jul 17, 2017 04:26 pm
Harald Oehlmann Jul 17, 2017 08:56 pm
Messages in this thread