An error occurred during the compilation under the bundler-sfm windows

 

A, "sysdep1.h" file missing

Error message:

fatal error C1083: Can not open include file: "sysdep1.h": No such file or directory

These, as the software bug, not too clear why cause this error. Only you need to correct as you can. Your experience should be placed on the understanding of the algorithm up.

 

Solution:

In bundler source root directory \ lib \ f2c in:

1> sysdep1.h0 file name changed to sysdep1.h ;

2> signal1.h0 file name changed to signal1.h ;

3> Create an arith.h file (create the header file header file name is defined simply as the arith), which in itself is a header file (note the difference inside the cpp file), add the following to the file:

#define IEEE_8087
#define Arith_Kind_ASL 1
#define Long int
#define Intcast (int)(long)
#define Double_Align
#define X64_bit_pointers
#define QNaN0 0x0
#define QNaN1 0xfff80000

 

二、<hash_map> is deprecated and will be REMOVED

prompt:

hash_map(17): fatal error C1189: #error:  <hash_map> is deprecated and will be REMOVED. Please use <unordered_map>. You can define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS to acknowledge that you have received this warning.

 

the reason:

As suggests, is a static assertion failed with "<hash_map> is deprecated and will be REMOVED.

Solution:

1, comment out the line error. (Not recommended to modify MSVC hash_map source code.)

2, prior to use include <hash_map>, together #define_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS defined

3, instead of using unordered_map hash_map

Optionally one of the above three methods.

 

Three, "int32_t": redefinition

Error message:

src \ include \ types.h (6): error C2371: "int32_t": redefinition; different types of group

Explanation:

The source code of include \ types.h in the ypedef signed long int32_t defined, and

Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include\stdint.h

Int32_t defined in the conflict, but in fact is not a meaning.

 

solve:

The typedef signed long int32_t this definition int32_t, instead int32_st. And modify VS solutions in all references.

 

Members are not "std": the four, "_ isnan"

prompt:

Members are not "std" a: \ bundleadd.cpp (352): error C2039: "_isnan"

 

solve:

Remove the front _isnan std :: can.

 

 

 

 

 

reference

Bundler achieved under windows7, PMVS, CMVS compiled on VS2010 / VS2013 and running through cygwin (1).  2016.11

VS2015 static assertion failed to FIX hash_map IS deprecated How and by Will BE REMOVED , 2019.6

 

Guess you like

Origin www.cnblogs.com/arxive/p/11783646.html