Skip to content

Compiling in VS2017 - OF0.10 #47

@ch3gr

Description

@ch3gr

Hi,

I just upgraded to VS2017 and Openframeworks 0.10 as I would like to try this addon, but I can't get it to compile. I used OF's project generator to update the project and I get this error while building one of the the examples

Thank you and sorry if it's a rather basic question

In debug mode

1>------ Build started: Project: openframeworksLib, Configuration: Debug x64 ------
1>openframeworksLib.vcxproj -> D:\myStuff\ch3\dev\Visual studio 2017\of_v0.10.0_vs2017_release\libs\openFrameworksCompiled\project\vs\..\..\lib\vs\x64\openframeworksLib_debug.lib
2>------ Build started: Project: example-pose, Configuration: Debug x64 ------
2>cl : Command line warning D9025: overriding '/Od' with '/O2'
2>cl : Command line error D8016: '/RTC1' and '/O2' command-line options are incompatible
2>Done building project "example-pose.vcxproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

In Release mode

1>------ Build started: Project: openframeworksLib, Configuration: Release x64 ------
1>openframeworksLib.vcxproj -> D:\myStuff\ch3\dev\Visual studio 2017\of_v0.10.0_vs2017_release\libs\openFrameworksCompiled\project\vs\..\..\lib\vs\x64\openframeworksLib.lib
2>------ Build started: Project: example-pose, Configuration: Release x64 ------
2>main.cpp
2>ofApp.cpp
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(326): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(331): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(912): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(913): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(914): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(915): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\main.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(326): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(331): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(912): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(913): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(914): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\libs\openframeworks\math\ofmatrix4x4.h(915): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data (compiling source file src\ofApp.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\addons\ofxfacetracker2\src\ofxfacetracker2.h(12): fatal error C1083: Cannot open include file: 'dlib/image_processing/frontal_face_detector.h': No such file or directory (compiling source file src\main.cpp)
2>d:\mystuff\ch3\dev\visual studio 2017\of_v0.10.0_vs2017_release\addons\ofxfacetracker2\src\ofxfacetracker2.h(12): fatal error C1083: Cannot open include file: 'dlib/image_processing/frontal_face_detector.h': No such file or directory (compiling source file src\ofApp.cpp)
2>Done building project "example-pose.vcxproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions