Skip to content

Link errors in MSVC

Summary

Environment

  • Operating System : Windows 10
  • Architecture : x64
  • Eigen Version : 3.3.9
  • Compiler Version : Microsoft Visual C++ 2022
  • Compile Flags :
  • Vector Extension :

Minimal Example

//show your code here

Steps to reproduce

  1. first step
  2. second step
  3. ...

What is the current bug behavior?

Link errors LNK2005 and LNK1169 occurred when building OpenCV project that utilizes eigen. Please see the attached file. BuildOutput.txt

What is the expected correct behavior?

Relevant logs

Warning Messages

Benchmark scripts and results

Anything else that might help

  • Have a plan to fix this issue.