i’m having problems compiling examples with qt creator 4.5.0 under arch linux.
the example projects don’t contain sources, compilation fails.
any help appreciated.
i’m having problems compiling examples with qt creator 4.5.0 under arch linux.
the example projects don’t contain sources, compilation fails.
any help appreciated.
are you using openframeworks 0.9.8 or the nightly builds or OF from gtihub?
what errors do you get? i had a similar problem some days ago but restarting qt creator seemed to fix it
it’s failing with this error:
of_v20170714_linux64gcc6_release/libs/openFrameworksCompiled/project/qtcreator/modules/of/of.qbs:41: warning: undefined not supported yet on linux,unix
lines 41 is:
Depends{
condition: platform === “android”
name: “Android.ndk”
}
mmh, ok let me check, the nightly builds have been broken for a while, i’m in the middle of fixing some issues with the servers that do this builds and some other stuff, will post here once it’s fixed
@arturo: thanks! also the sources are missing in the project tree in qt creator, it’s the first time i try oF with qt creator maybe i’m missing out on something.
the sources don’t appear until qtcreator manages to parse the config correctly that’s why they are not showing up
@arturo i found in the of.qbs (libs/openFrameworksCompiled/project/qtcreator/modules/of/of.qbs) the qbs.architecture variable is “undefined”. i dont’ know where to set it, but uncommenting some line there helped bypass the error.
i had a linker error though, it was resolved by adding flags to guiExample.qbs:
of.linkerFlags: [
'-lboost_filesystem',
'-lboost_system'
]
On the command line with make / Makefile i didn’t have to change anything, so probably the qbs system needs review.