openframeworks / openframeworks/openFrameworks

Error while building with Qt Creator

Open
#6,733 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

System: ArchLinux x86_64
IDE: Qt Creator
Issues occurs on stable and master branches.

Hello,
I recently tried to use OpenFrameworks in Qt Creator. So I downloaded the github repo, compiled openFrameworks, installed the templates, everything worked fine.

However, in Qt Creator, when I create a project and try to compile & run it from Qt Creator, the program fails to start (no executable specified). So I try running it, and get this error:

error while loading shared libraries: libfmod.so.12: cannot open shared object file: No such file or directory

It shoudn't even try to use fmod in the first place. But even if it should, there's a libfmod.so.12 file in the bin directory.

The "weird" thing is that if I go to the project directory and use make to build the project, everything works fine.

Note the project is in (openFrameworks directory)/apps/myApps/, so Qt automatically detects openFrameworks.

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 Qt Creator build and run from the project under apps/myApps/, then compare it with running make in that project directory. Inspect how the Qt Creator configuration resolves the executable and shared libraries, especially libfmod.so.12 in the bin directory; done means the project builds and launches from Qt Creator without the missing-library error.

Written by the indexing model from the issue text.

Assessment

Tech stack
arch-linux, cpp, linux
Domain
build-system, desktop-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.