Home > Back-end >  [would Error]
[would Error]

Time:10-24

[would Error] Unresolved external '_matGetVariable referenced from D: \ \ PROGRAM FILES \ BORLAND c + + BUILDER 6.0 \ PROJECTS \ UNIT1 OBJ
Operated by CB mat file, add the Include files, Library files, the program starts with
# pragma comment (lib, "libmat. Lib")
# pragma comment (lib, "libmx. Lib")
The above mistakes, the reference mat function USES the above error!
Please to correct!

CodePudding user response:

General should be not join.lib file

CodePudding user response:

# pragma comment (lib, "libmat. Lib")
# pragma comment (lib, "libmx. Lib")
This is not to be? Also shows that at the beginning of libmx. Lib and libmat. Lib is wrong, has examined the say VC format. I'll use implib exe turned down, and then the above problems!
The lib should how?

CodePudding user response:

This is the implementation matGetVariable not found,
Make sure the related lib file generated correctly, then:
 # pragma would "libmat lib" 
# pragma would "libmx lib"

CodePudding user response:

Starting with [would Error] 'libmat. LIB contains invalid OMF record, type 0 x21 (possibly COFF)
[would Error] 'libmx. LIB contains invalid OMF record, type 0 x21 (possibly COFF)
I'll use implib. Exe turned down, put in, the more mistakes,

CodePudding user response:

"[would Error] '* * *. LIB' contains invalid OMF record, type 0 x21
This shows that you are using the Lib or VC format,

People, each in implib corresponding DLL generated two suitable for c + + Builder library files,

CodePudding user response:

Starting with [would Error] 'libmat. LIB contains invalid OMF record, type 0 x21 (possibly COFF)
[would Error] 'libmx. LIB contains invalid OMF record, type 0 x21 (possibly COFF)
Use implib. Exe turned after is
[would Error] Unresolved external '_matGetVariable referenced from D: \ \ PROGRAM FILES \ BORLAND c + + BUILDER 6.0 \ PROJECTS \ UNIT1 OBJ
[would Error] Unresolved external '_matOpen referenced from D: \ \ PROGRAM FILES \ BORLAND c + + BUILDER 6.0 \ PROJECTS \ UNIT1 OBJ
[would Error] Unresolved external '_mxGetM referenced from D: \ \ PROGRAM FILES \ BORLAND c + + BUILDER 6.0 \ PROJECTS \ UNIT1 OBJ

CodePudding user response:

I also met the specific is your.lib file was written by vc pure static library if you want to call you need its header file using the BCB compile a lib then call

CodePudding user response:

Not with implib exe please turn! After the errors become
[would Error] Unresolved external '_matGetVariable referenced from D: \ \ PROGRAM FILES \ BORLAND c + + BUILDER 6.0 \ PROJECTS \ UNIT1 OBJ
[would Error] Unresolved external '_matOpen referenced from D: \ \ PROGRAM FILES \ BORLAND c + + BUILDER 6.0 \ PROJECTS \ UNIT1 OBJ
[would Error] Unresolved external '_mxGetM referenced from D: \ \ PROGRAM FILES \ BORLAND c + + BUILDER 6.0 \ PROJECTS \ UNIT1 OBJ

CodePudding user response:

You confirm, whether the several functions in the LIB, if not, may also need to introduce the other libraries

CodePudding user response:

From the senior to the lib of BCB, good, thank you all for the great god!
  • Related