It looks (from "flColse" rather than "flClose") that you have introduced
a typo into the example code. I just built it from within Visual Studio.
The steps were:
* Download & unpack libfpgalink-20120621
* Create new project "c" in C:\Users\chris\libfpgalink-20120621\examples
* Add main.c, args.c, args.h
* Add C:\Users\chris\libfpgalink-20120621\win32\rel\libfpgalink.lib as
linker dependency
* Add C:\Users\chris\libfpgalink-20120621 as include dependency
* Define "WIN32" in the preprocessor settings
You'll also need to add the X:\<blah>\libfpgalink-20120621\win32\rel
directory to the system PATH so that the DLLs can be found at runtime.
Chris
On Thu, 2012-10-04 at 23:22 -0700, s silencedog wrote:
> Hi all,
>
> I want to use the VS2008 to build the sample code.
> And I have a question and desription as below,
>
> 1. Download libfpgalink-20120621
> 2. Create an empty project (vs2008) and move the example code (From
> "\libfpgalink-20120621\examples\c")
> 3. Set the libfpgalink.lib
> 4. Complier and get the error.
> 5. The message show "error LNK2001: unresolved external symbol
> _flColse".
>
> Otherwise, may I create the vc project and use dynamic link like
> "Loadlibrary()" ??
>
>
> Thanks all,
>
> Zouis5566
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "FPGALink Users" group, which is for discussions about FPGALink
> (
http://www.makestuff.eu/wordpress/?page_id=1400).
> To post to this group, send email to
fpgalin...@googlegroups.com
> To unsubscribe from this group, send email to
>
fpgalink-user...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/fpgalink-users?hl=en