PabloPicose / ComputerVisionBlueprint

ComputerVisionBlueprint is an open-source tool that simplifies computer vision with a drag-and-drop interface using Qt, OpenCV, and Qt Node Editor. It supports camera inputs, image processing, and basic OpenCV operations. Available as a Linux AppImage, it's designed for easy experimentation and contribution.
MIT License
10 stars 1 forks source link

LNK2019: Unresolved external symbol QtNodes::CreateCommand in DropGraphicsView.cpp #2

Open rachid-benabdelmalek opened 4 months ago

rachid-benabdelmalek commented 4 months ago

Hello, I would like to express my appreciation to the project owner for initiating such a valuable project. Currently, I am encountering a challenge involving unresolved linker errors (LNK2019) when attempting to utilize the CreateCommandconstructor within DropGraphicsView.cpp. The full error message is :

DropGraphicsView.cpp.obj:-1: error: LNK2019: symbole externe non r‚solu "public: __cdecl QtNodes::CreateCommand::CreateCommand(class QtNodes::BasicGraphicsScene *,class QString,class QPointF const &)" (??0CreateCommand@QtNodes@@QEAA@PEAVBasicGraphicsScene@1@VQString@@AEBVQPointF@@@Z) r‚f‚renc‚ dans la fonction "public: void __cdecl DropGraphicsView::placeNodeInScene(class QString const &,class QPoint const &)" (?placeNodeInScene@DropGraphicsView@@QEAAXAEBVQString@@AEBVQPoint@@@Z)

Environment

Using Qt Creator for building with Qt 6.5.6 MSVC 2019 64-bit.

Additional Context

Commenting out this line resolves the issue. However, I miss the functionality of using TreeView to create a node.

PabloPicose commented 4 months ago

This error is related due to a build error in the QtNodes library in MSVC... is a linkage error, I will take a look at the QtNode lib and check if there is something related

MachineVisionxiaotan commented 2 months ago

I have also encountered it. Do you have a solution now?

PabloPicose commented 3 weeks ago

@rachid-benabdelmalek sorry for the delay, did you find the solution or what did you encounter?