Home > Software engineering >  MinGW msys compiled static library, under the VS2008 can't use
MinGW msys compiled static library, under the VS2008 can't use

Time:01-30

VS2008 error is as follows:
1> LINK: fatal error LNK1104: unable to open file "hello. A"

A repository is a very simple addition of two Numbers function, the makefile is as follows:
TARGET=hello. A
OBJ=hello. O
$(TARGET) : $(OBJ)
Ar - CRS $(TARGET) $(OBJ)
$(OBJ) : hello. CPP hello. H
G + + - c $& lt;

Excuse me what is going on,,

CodePudding user response:

Stand-alone BBS?

CodePudding user response:

The
refer to the original poster KafuChino response:
VS2008 error is as follows:
1> LINK: fatal error LNK1104: unable to open file "hello. A"

A repository is a very simple addition of two Numbers function, the makefile is as follows:
TARGET=hello. A
OBJ=hello. O
$(TARGET) : $(OBJ)
Ar - CRS $(TARGET) $(OBJ)
$(OBJ) : hello. CPP hello. H
G + + - c $& lt;

Excuse me what is going on,,

You sure VS2008 using library format (..lib file format) and minGW compiler library format (. A format) is the same, if the format is different, with what can be used interchangeably?
  • Related