Skip to content
This repository has been archived by the owner on Nov 28, 2020. It is now read-only.

Error running the sample project on Windows building with Qt5 and MinGW 32 #12

Open
impugachev opened this issue Nov 24, 2018 · 0 comments

Comments

@impugachev
Copy link

impugachev commented Nov 24, 2018

I'm trying to run the sample project, but getting an error "During startup program exiting with code 0xc0000135". I think the problem is adding a library "GraphViz", but I registered the correct path to the library in the file GraphViz.pri:

win32 {
 #Configure Windows GraphViz path here :
 GRAPHVIZ_PATH = "D:/QtProjects/release"
 DEFINES += WIN32_DLL
 DEFINES += GVDLL
 INCLUDEPATH += $$GRAPHVIZ_PATH/include/graphviz
 LIBS += -L$$GRAPHVIZ_PATH/lib/release/lib -lgvc -lcgraph -lgraph -lcdt
}

If I trying compile the sample project with MSVC 2017, I get a lot of errors "unresolved external symbol..." related to GraphViz library.
How can I fix it? Maybe I should use another toolchain?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant