freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- 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: Sun, 11 Dec 2022 09:37:06 +0000
Il giorno dom 11 dic 2022 alle ore 02:11 Igor Korot
<ikorot01 AT gmail.com> ha scritto:
>
> Hi, Frediano,
>
> On Wed, Nov 16, 2022 at 2:17 PM Frediano Ziglio <freddy77 AT gmail.com> wrote:
> >
> > 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?
>
> Is there an option I can choose to set the target to be 32-bit?
>
> Thank you.
>
Hi,
not specifically but in another project I used the "-A" CMake option.
Specifically I used "-A x64" and "-A Win32".
Frediano
> >
> > > 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.
-
Re: [freetds] Building on Windows with MSVC,
Igor Korot, 12/10/2022
- Re: [freetds] Building on Windows with MSVC, Frediano Ziglio, 12/11/2022
Archive powered by MHonArc 2.6.24.