|
From: John S. <joh...@ja...> - 2016-04-21 14:57:24
|
For fox v1.6x I had to add these to the defines when building the fox lib:
HAVE_VSSCANF
HAVE_STRTOLL
HAVE_STRTOULL
I did not need these for fox 1.7x
js
From: levan shoshiashvili [mailto:sh...@ho...]
Sent: Friday, April 15, 2016 5:59 AM
To: fox fox <fox...@li...>
Subject: Re: [Foxgui-users] Foxgui-users Digest, Vol 111, Issue 2
I had similar problems after switching to vs2015 from vs2010.
I needed to change include orders and
'use namespace std '
Use
#include<cmath>
i have something like this:
#include <cmath>
#include <vector>
#include <map>
#include "Material.h"
#include "fx.h"
see fx.h comes after std headers.
>
> I just upgraded to Visual Studio 2015 and using the default "Platform
> Toolset Visual Studio (v140)" gives these errors below.
>
>
>
> switching to "Platform Toolset V110" on VS 2015 fixes the problems but I
> wonder if this is a VS bug of Fox bug. I see this with fox 1.6.44 and
1.7.50
>
>
>
>
>
> compile errors:
>
>
>
>
>
> 1>C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\cmath(32):
> error C2589: '(': illegal token on right side of '::'
>
> 1>C:\Program Files (x86)\Microsoft Visual Studio
14.0\VC\include\cmath(32):
> error C2059: syntax error: '::'
******************
|