openframeworks / openframeworks/openFrameworks

OF fails to compile on Win 8.1 with VS2015 (whole program optimisation issue with uriparser)

Open
#5,426 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

visual studio waiting-for-feedback
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.