Skip to Content.
Sympa Menu

freetds - Re: [freetds] HOWTO compille FreeTDS under Windows

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: LacaK <lacak AT zoznam.sk>
  • To: luisdv AT icon.co.za, FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] HOWTO compille FreeTDS under Windows
  • Date: Fri, 20 Aug 2010 07:59:27 +0200


Hm, so nobody is ATM using (compiling) FreeTDS under Windows ?

Here's one way to compile it under Windows:
http://docs.moodle.org/en/Development:Compiling_FreeTDS_under_Windows


Thanks, but steps described leads to dblib.lib, but I need dblib.dll.

I think, that in mean time I found solution for VC++ 2005 Express:
When I import project, then in project properties I must change:
General
Configuration type: Dynamic library (instead of Static library)
Linker
Input
Add dependencies: ws2_32.lib
Module definition: ..\dblib.def (this is new file, which I created and contains EXPORTS for routines in sybdb.h)

I am not sure if this is correct way (I am not C/C++ programmer at all), but after experimenting this leads to successful build of dblib.dll
(if they are correct then it will be good include them in FreeTDS sources to make process of bulding more simple)

Also it will be great if in sources of FreeTDS will be added "Project definition" for VC 2005+ (win32/msvc7???)

L.





_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds






Archive powered by MHonArc 2.6.24.

Top of Page