openframeworks / openframeworks/openFrameworks

Problem with ofXml and QT Creator (windows)

Open
#5,022 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

In the current master, I am receiving linking errors (undefined reference to), if I use an ofXml object. The errors are related to POCO. It happens in my copy of of 0.9.1 and in the current master. Applications that doesn't use ofXML compiles without problems.

I am receiving this type of errors
F:\Projects\openFrameworksClean\examples\input_output\xmlExample\ofApp.cpp:-1: error: undefined reference to_imp___ZNK4Poco3XML8Document13createElementERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE'

To replicate:

  • Do a clean clone of ofx master
  • Use the qt templates to import examples/input_output/input_output/xmlExample
  • Build in Debug or Release

Notes:

  • Using make in MINGW64 compiles and run without problem
  • Also compiles without problem with QT on Linux

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 issue with the Qt templates and examples/input_output/input_output/xmlExample on Windows, building both Debug and Release. Compare the Qt Creator build with the working MinGW64 and Linux builds, focusing on the POCO-related undefined references from ofXml; done means the XML example links and runs successfully in Qt Creator.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, desktop-dev
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.