error while building

Added by packpro over 4 years ago

Hi,
I have error while building.

... ... ...
4>c:\program files\autodesk\3ds max 2009 sdk\maxsdk\include\bitmap.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
2>shadow_map_manager.cpp
4>C:\PROGRA~1\MICROS~1.0\VC\include\ivec.h(826) : error C2365: 'empty' : redefinition; previous definition was 'data variable'
4> c:\program files\autodesk\3ds max 2009 sdk\maxsdk\include\maxscrpt\Value.h(530) : see declaration of 'empty'

Regard!


Replies (3)

RE: another errors while building - Added by packpro over 4 years ago

Hi,
I have another errors while building.

3>C:\Program Files\Autodesk\3ds Max 2009 SDK\maxsdk\include\macrorec.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
3>C:\Program Files\Autodesk\3ds Max 2009 SDK\maxsdk\include\3dsmaxport.h(499) : error C2039: 'fabsf' : is not a member of 'stlpx_std'
3>C:\Program Files\Autodesk\3ds Max 2009 SDK\maxsdk\include\3dsmaxport.h(501) : error C2039: 'fabsl' : is not a member of 'stlpx_std'
3>c:\program files\autodesk\3ds max 2009 sdk\maxsdk\include\maxscrpt\time_fns.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss

Regard!

RE: update - Added by packpro over 4 years ago

Hi,

in "c:\program files\autodesk\3ds max 2009 sdk\maxsdk\include\maxscrpt\Value.h"
update "extern ScripterExport Empty empty;" to "extern ScripterExport Empty _empty;"
in "c:\Program Files\Autodesk\3ds Max 2009 SDK\maxsdk\include\3dsmaxport.h"

update
------------------------------------------------------------------
inline float DL_abs(float f) { return std::fabsf(f); }
inline double DL_abs(double f) { return std::fabs(f); }
inline long double DL_abs(long double f) { return std::fabsl(f); }
------------------------------------------------------------------
to **********************************************************
inline float DL_abs(float f) { return fabsf(f); }
inline double DL_abs(double f) { return fabs(f); }
inline long double DL_abs(long double f) { return fabsl(f); }

now, no error while building.....

RE: error while building - Added by kervala over 4 years ago

Thanks, good job :) I think it could be useful to other who can have this problem.

(1-3/3)