Skip to content

Cannot build due to error  #40

@kora85

Description

@kora85

I am trying to build the application on Arco and I am running in to issues.

Project MESSAGE: Config not using pkg-config
Project MESSAGE: Generating Makefile for Qosmic 1.6.0
Project MESSAGE: Qt version : 5.15.1
Project MESSAGE: Include header paths : /usr/include/libxml2 /usr/include/lua5.2/ src
Project MESSAGE: Include libraries : -L/.libs -L/usr/lib/libxml2 -lflam3 -lm -ljpeg -lxml2 -llua5.2
[root@prankey qosmic]# make
g++ -c -pipe -O2 -D_REENTRANT -w -fPIC -DVERSION='"1.6.0"' -DSCRIPTSDIR='"/usr/share/qosmic/scripts"' -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/include/libxml2 -I/usr/include/lua5.2 -Isrc -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I.moc -I.ui -I/usr/lib/qt/mkspecs/linux-g++ -o .obj/qosmic.o src/qosmic.cpp
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/local/include/flam3.h:24,
from src/flam3util.h:27,
from src/renderthread.h:28,
from src/mainwindow.h:25,
from src/qosmic.cpp:26:
/usr/include/unicode/localpointer.h:67:1: error: template with C linkage
67 | template
| ^~~~~~~~
In file included from src/renderthread.h:28,
from src/mainwindow.h:25,
from src/qosmic.cpp:26:
src/flam3util.h:26:1: note: ‘extern "C"’ linkage started here
26 | extern "C" {
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/local/include/flam3.h:24,
from src/flam3util.h:27,
from src/renderthread.h:28,
from src/mainwindow.h:25,
from src/qosmic.cpp:26:
/usr/include/unicode/localpointer.h:190:1: error: template with C linkage
190 | template
| ^~~~~~~~
In file included from src/renderthread.h:28,
from src/mainwindow.h:25,
from src/qosmic.cpp:26:
src/flam3util.h:26:1: note: ‘extern "C"’ linkage started here
26 | extern "C" {
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/local/include/flam3.h:24,
from src/flam3util.h:27,
from src/renderthread.h:28,
from src/mainwindow.h:25,
from src/qosmic.cpp:26:
/usr/include/unicode/localpointer.h:365:1: error: template with C linkage
365 | template
| ^~~~~~~~
In file included from src/renderthread.h:28,
from src/mainwindow.h:25,
from src/qosmic.cpp:26:
src/flam3util.h:26:1: note: ‘extern "C"’ linkage started here
26 | extern "C" {
| ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
from /usr/include/unicode/ucnv.h:53,
from /usr/include/libxml2/libxml/encoding.h:31,
from /usr/include/libxml2/libxml/parser.h:810,
from /usr/local/include/flam3.h:24,
from src/flam3util.h:27,
from src/renderthread.h:28,
from src/mainwindow.h:25,
from src/qosmic.cpp:26:
/usr/include/unicode/ucnv.h:585:1: error: conflicting declaration of C function ‘void icu_67::swap(icu_67::LocalUConverterPointer&, icu_67::LocalUConverterPointer&)’
585 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/uenum.h:68:1: note: previous declaration ‘void icu_67::swap(icu_67::LocalUEnumerationPointer&, icu_67::LocalUEnumerationPointer&)’
68 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:2325: .obj/qosmic.o] Error 1
[root@prankey qosmic]# ./qosmic
bash: ./qosmic: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions