« Return to Thread: __vfscanf with Visual Studio in Fox 1.6.36

__vfscanf with Visual Studio in Fox 1.6.36

by Emmett McQuinn-2 :: Rate this Message:

Reply to Author | View in Thread

I have errors linking an application that uses the Fox 1.6.36 library with Visual Studio 9.0. Visual Studio provides the following errors:

LIBCMTD.lib(fscanf.obj) : error LNK2005: _vfscanf already defined in foxd-1.6.lib(vsscanf.obj)
..\bin\win\DeskVOX.exe : fatal error LNK1169: one or more multiply defined symbols found

I tried changing the HAVE_VFSCANF flag but this fails in compilation, and I've also selectively disabled the vfscanf in the fox library and this does not seem to work either. I have double checked that VC++9 was using the correct library directorys for FOX and LIBCMTD.

It looked like this was fixed with 1.6.21, any idea what might be going on, or if I can somehow disable linking vsscanf.obj?

Thanks,
-Emmett McQuinn

------------------------------------------------------------------------------
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

 « Return to Thread: __vfscanf with Visual Studio in Fox 1.6.36