Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linker issue Visual Studio 2017 #641

Closed
pablolq opened this issue Jan 21, 2019 · 5 comments
Closed

Linker issue Visual Studio 2017 #641

pablolq opened this issue Jan 21, 2019 · 5 comments

Comments

@pablolq
Copy link

pablolq commented Jan 21, 2019

After cloning the repo using Visual Studio 2017(Windows 10) I open the OpenFace_vs2017 solution but when I build I get the following Linker error in multiple projects:

Error LNK1104 cannot open file 'opencv_world340.lib' CppInerop

Also with FaceLandmarkVid, FaceLandmarkVidMulti, FaceLandmarkImg and Feature Extraction.

I have checked the project properties to see the linkers additional dependencies input path and they are inherited or defined with macros so the path to the .lib file seems to be correct. Any ideas of how can this be solved? Or which is the parent project from wich all inherit properties from to edit the dependecies path?

@pablolq pablolq changed the title Linker Linker issue Visual Studio 2017 Jan 21, 2019
@TadasBaltrusaitis
Copy link
Owner

I'm currently resolving this issue, and it should be resolved in the next version of OpenFace.

@HairySags
Copy link

Not trying to pester, but is there a workaround for now?

@TadasBaltrusaitis
Copy link
Owner

You can look at the following branch in the meantime - https://github.com/TadasBaltrusaitis/OpenFace/tree/feature/VS2017_changes

It includes the VS2017 related fixes.

@HairySags
Copy link

Thanks you, this worked

TadasBaltrusaitis added a commit that referenced this issue Jul 13, 2019
Change log:

Moving to C++17. This means that the code can only be build using C++17 compilers (e.g. g++ >8 and Visual Studio 2017, clang > 5), fixing related bugs - (#698, #629, #641)
Removing an explicit dependency on boost (all the filesystem operations are performed using std::filesystem or boost::filesysteme). If boost is available it will used boost:filesystem, otherwise std::filesystem (this requires C++17)
Visual Studio 2017 is now the main version for Visual Studio builds, VS 2015 is no longer supported
Updating OpenCV to 4.1 version (#511)
Fixing a bug with output images when using GUI (#694)
Updating RAWImage - #609, so it can be initialized from System.Drawing.Bitmap directly
Fixing overlap detection for multi face tracking (#693)
@TadasBaltrusaitis
Copy link
Owner

Should be fixed in the new version.

ratgen pushed a commit to ratgen/OpenFace that referenced this issue Jul 7, 2022
Change log:

Moving to C++17. This means that the code can only be build using C++17 compilers (e.g. g++ >8 and Visual Studio 2017, clang > 5), fixing related bugs - (TadasBaltrusaitis#698, TadasBaltrusaitis#629, TadasBaltrusaitis#641)
Removing an explicit dependency on boost (all the filesystem operations are performed using std::filesystem or boost::filesysteme). If boost is available it will used boost:filesystem, otherwise std::filesystem (this requires C++17)
Visual Studio 2017 is now the main version for Visual Studio builds, VS 2015 is no longer supported
Updating OpenCV to 4.1 version (TadasBaltrusaitis#511)
Fixing a bug with output images when using GUI (TadasBaltrusaitis#694)
Updating RAWImage - TadasBaltrusaitis#609, so it can be initialized from System.Drawing.Bitmap directly
Fixing overlap detection for multi face tracking (TadasBaltrusaitis#693)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants