openframeworks / openframeworks/openFrameworks
Problem with ofXml and QT Creator (windows)
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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