Skip to content

Operation::ObjCreated error unable to make #24

@d4munche3z

Description

@d4munche3z

I came across this error after running make.

make[3]: Entering directory '/c/Users/David/IdeaProjects/pgmodeler/pgmodeler-main/plugins/dummy'
make[3]: Nothing to be done for 'first'.
make[3]: Leaving directory '/c/Users/David/IdeaProjects/pgmodeler/pgmodeler-main/plugins/dummy'
make[2]: Leaving directory '/c/Users/David/IdeaProjects/pgmodeler/pgmodeler-main/plugins/dummy'
cd xml2object/ && ( test -e Makefile || C:/msys64/mingw64/bin/qmake.exe -o Makefile C:/Users/David/IdeaProjects/pgmodeler/pgmodeler-main/plugins/xml2object/xml2object.pro CONFIG+=release PREFIX=C:/Program ) && make -f Makefile
make[2]: Entering directory '/c/Users/David/IdeaProjects/pgmodeler/pgmodeler-main/plugins/xml2object'
make -f Makefile.Release
make[3]: Entering directory '/c/Users/David/IdeaProjects/pgmodeler/pgmodeler-main/plugins/xml2object'
g++ -c -fno-keep-inline-dllexport -march=nocona -msahf -mtune=generic -Wa,-mbig-obj -DHAVE_STRUCT_TIMESPEC -O2 -std=gnu++1y -Wall -Wextra -Wextra -fexceptions -mthreads -frtti -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DBUILDNUM="20221110" -DBUILDDATE="20221110" -DBINDIR="C:/Program" -DPLUGINSDIR="C:/Program/plugins" -DPRIVATEBINDIR="C:/Program" -DCONFDIR="C:/Program/conf" -DDOCDIR="C:/Program" -DLANGDIR="C:/Program/lang" -DSAMPLESDIR="C:/Program/samples" -DSCHEMASDIR="C:/Program/schemas" -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include/libxml2 -I../../libs/libgui/src -I../../libs/libcanvas/src -I../../libs/libconnector/src -I../../libs/libcore/src -I../../libs/libparsers/src -I../../libs/libutils/src -IC:/msys64/mingw64/include/QtPrintSupport -IC:/msys64/mingw64/include/QtSvg -IC:/msys64/mingw64/include/QtUiTools -IC:/msys64/mingw64/include/QtWidgets -IC:/msys64/mingw64/include/QtGui -IC:/msys64/mingw64/include/QtNetwork -IC:/msys64/mingw64/include/QtCore -Imoc -Isrc -I/include -IC:/msys64/mingw64/share/qt5/mkspecs/win32-g++ -o obj/xml2objectwidget.o src/xml2objectwidget.cpp
src/xml2objectwidget.cpp: In member function 'void Xml2ObjectWidget::generateObject()':
src/xml2objectwidget.cpp:87:92: error: 'ObjCreated' is not a member of 'Operation'
87 | op_list->registerObject(object, Operation::ObjCreated, -1, model);
| ^~~~~~~~~~
make[3]: *** [Makefile.Release:587: obj/xml2objectwidget.o] Error 1
make[3]: Leaving directory '/c/Users/David/IdeaProjects/pgmodeler/pgmodeler-main/plugins/xml2object'
make[2]: *** [Makefile:45: release] Error 2
make[2]: Leaving directory '/c/Users/David/IdeaProjects/pgmodeler/pgmodeler-main/plugins/xml2object'
make[1]: *** [Makefile:95: sub-xml2object-make_first-ordered] Error 2
make[1]: Leaving directory '/c/Users/David/IdeaProjects/pgmodeler/pgmodeler-main/plugins'
make: *** [Makefile:318: sub-plugins-make_first-ordered] Error 2

If you can help out with this. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions