openframeworks / openframeworks/openFrameworks
OF fails to compile on Win 8.1 with VS2015 (whole program optimisation issue with uriparser)
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
Hey,
I just cloned the OF repos and tried to compile the project genarator (commandLine app) but I get the following error:
: fatal error C1900: Il mismatch between 'P1' version '20150812' and 'P2' version '20130802
It seems to be related with uriparser.lib which is compiled with "Whole program optimisation" using VS2013. I have fixed this by compiling uriparser myself with VS2015 and disabling the "Whole program optimisation".
Am I doing something wrong or is this something that needs to be fixed?
Cheers
roxlu
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the project generator commandLine app build with VS2015 and inspect how uriparser.lib is supplied and compiled. Compare the VS2013 whole-program-optimisation setting with a VS2015-compatible build; done means the project generator compiles without the C1900 P1/P2 mismatch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100