Re: HOWTO compille FreeTDS under Windows
LacaK <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
>> 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
> [email protected]
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
>