mapeditor / mapeditor/tiled

OSX compilation fails with clang: error: cannot use 'c++-cpp-output' output with multiple -arch options

Open
#1,828 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

macos
Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

```
brew install qt5
brew link qt5 --force
qmake
make
```
--> clang: error: cannot use 'c++-cpp-output' output with multiple -arch options

I'm on Mac OS Sierra, 10.12.6

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

Reproduce the failure with `brew install qt5`, `brew link qt5 --force`, `qmake`, and `make` on the reported macOS setup. Start by inspecting the qmake-generated build configuration and the clang command that uses multiple `-arch` options. Done means the project compiles successfully without the reported `c++-cpp-output` error.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.