Skip to content

cisstNumerical Build Fails in Latest Release #84

Open
@DeveloperPaul123

Description

@DeveloperPaul123

I'm using the latest release of cisst (1.1.0) and am currently facing build issues when using cisstNetlib with cisstNumerical. I used the CISSTNETLIB_DOWNLOAD_NOW flag via CMake to install cisstNetLib initially.

It seems that this my be relevant. Has cisstNetLib been compiled with a compiler later than VS2015?

Relevant Version info:

  • cisst version: 1.1.0
  • Visual Studio version: 16.9.5 2019
  • CMake 3.19.5

Build error output is below.

0>LINK(0,0): Warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
0>cisstNetlib_blas.lib(xerbla.obj)(0,0): Error LNK2019: unresolved external symbol printf referenced in function xerbla_
0>cisstNetlib_f2c.lib(wrtfmt.obj)(0,0): Error LNK2001: unresolved external symbol __imp_fprintf
0>cisstNetlib_f2c.lib(f77_aloc.obj)(0,0): Error LNK2001: unresolved external symbol __imp_fprintf
0>cisstNetlib_f2c.lib(fmt.obj)(0,0): Error LNK2001: unresolved external symbol __imp_fprintf
0>cisstNetlib_f2c.lib(s_stop.obj)(0,0): Error LNK2001: unresolved external symbol __imp_fprintf
0>cisstNetlib_f2c.lib(err.obj)(0,0): Error LNK2001: unresolved external symbol __imp_fprintf
0>cisstNetlib_f2c.lib(sig_die.obj)(0,0): Error LNK2001: unresolved external symbol __imp_fprintf
0>cisstNetlib_f2c.lib(wrtfmt.obj)(0,0): Error LNK2001: unresolved external symbol __imp___iob_func
0>cisstNetlib_f2c.lib(f77_aloc.obj)(0,0): Error LNK2001: unresolved external symbol __imp___iob_func
0>cisstNetlib_f2c.lib(fmt.obj)(0,0): Error LNK2001: unresolved external symbol __imp___iob_func
0>cisstNetlib_f2c.lib(s_stop.obj)(0,0): Error LNK2001: unresolved external symbol __imp___iob_func
0>cisstNetlib_f2c.lib(err.obj)(0,0): Error LNK2001: unresolved external symbol __imp___iob_func
0>cisstNetlib_f2c.lib(sig_die.obj)(0,0): Error LNK2001: unresolved external symbol __imp___iob_func
0>cisstNetlib_f2c.lib(open.obj)(0,0): Error LNK2019: unresolved external symbol __imp_sprintf referenced in function f_open
0>cisstNetlib_f2c.lib(wref.obj)(0,0): Error LNK2001: unresolved external symbol __imp_sprintf
0>cisstNetlib_f2c.lib(endfile.obj)(0,0): Error LNK2001: unresolved external symbol __imp_sprintf
0>D:\Tools\cisst-1.1.0\build\lib\Debug\cisstNumerical.dll(0,0): Error LNK1120 fatal: 4 unresolved externals
0>------- Finished building project: cisstNumerical. Succeeded: False. Errors: 17. Warnings: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions