Skip to Content.
Sympa Menu

freetds - Re: [freetds] Building on Windows with MSVC

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Building on Windows with MSVC
  • Date: Wed, 16 Nov 2022 20:14:58 +0000

Il giorno mar 15 nov 2022 alle ore 05:43 Igor Korot
<ikorot01 AT gmail.com> ha scritto:
>
> OK, it looks like I picked the wrong version of the compiler.
>
> I chose the "MSVC 15 2017" and then the generation was successful.
> but apparently the actual solution files are not written to the output
> directory
> selected. It is written in the freetds\build directory.
>
> Is there a reason for that?
>

Not that I know it. Maybe "build" is the intermediate directory and
you need to install it in order to get files in the output directory?

> I chose the output directory and so expects to find the project/solution
> there.
>
> Thank you.
>

Frediano

>
> On Mon, Nov 14, 2022 at 10:59 PM Igor Korot <ikorot01 AT gmail.com> wrote:
> >
> > Hi, (Frediano),
> > According to https://www.freetds.org/userguide/osissues.html,
> > I should fire CMake-GUI and then for the source use freetds/src
> > and for the "Select to where to build binaries" some directory
> > and then click "Configure".
> > Just tried it and got an error "No CaeList.txt"
> >
> > So I use freetds top directory as a source and then click "Configure".
> >
> > It identified that I have MSVC 2017, but then configuring fails with:
> >
> > [code]
> > CMake Error at CMakeLists.txt:1 (project):
> > Generator
> >
> > Visual Studio 17 2022
> >
> > could not find any instance of Visual Studio.
> >
> >
> > Configuring incomplete, errors occurred!
> >
> > See also
> > "C:/Users/Igor/OneDrive/Documents/dbhandler_app/freetds-1.00.41/buildWin/CMakeFiles/CMakeOutput.log".
> > [/code]
> >
> > So, now how do I build it?
> >
> > Thank you.
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> https://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page