openframeworks / openframeworks/openFrameworks

Project imported with QtCreator has missing src files

Open
#4,987 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

qtcreator
Dominant language
C++
Stars
10.4k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
9

Description

git clone https://github.com/npisanti/ofxPDSP.git
git clone https://github.com/danomatika/ofxMidi.git
git clone https://github.com/npisanti/ofxSIMDFloats.git

I import ofxPDSP/example-midi_polysynth into QtCreator and click run, but it fails to compile. See error screenshot here.

If I type make Debug on the command line, the program compiles successfully.

I'm on 64bit ArchLinux, OF 0.9.3 from GitHub, QtCreator 3.6.0.

Update: by looking at the .qbs project file, I see two files from src/ are missing:

    files: [
        'src/main.cpp',
        'src/ofApp.cpp',
        'src/ofApp.h',
    ]

The two missing files are voice.cpp and voice.h.

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 with the .qbs project file and compare its listed src/ files with the example's voice.cpp and voice.h. Check the project through QtCreator 3.6.0 on the stated setup, then confirm it builds and runs there as it already does with make Debug.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.