简体   繁体   中英

Undefined reference compilation MITK/Qt

I need to compile the project of my teacher. This project use MITK, VTK, ITK, CTK and Qt. I had some errors which I managed to correct during compilation. Now, i have an error that I don't understand and I don't know how correct that to finish the compilation.

The problem is that I have: undefined reference to « operator delete(void, unsigned long)@Qt_5 »* in the library libMitkAppUtil.so We see also it is a link error. As it is a project of my teacher and others teachers I think it is a problem with a version of Qt or something in my computer no like the version of gcc or g++?

When I open Qt and i open many files there are three messages nearly of the toolbar:

the code model could not parse an included file, which might lead to incorrect completion and highlighting, for example. Multiple parse contexts are available for this file. Choose the preferred one from the editor toolbar. This file is not part of any project. The code model might have issues parsing this file properly.

Maybe there is a link with the error on the terminal?

do you use cmake for the build process? eg

cd MITK-build;
cmake ../MITK-source ./;
make -j1

Please start the build process in single-thread mode and then attach the standard output text to your reply so that we can look into the problem.

Sometimes problems occur with the /ep/ part of the build process (ep = external projects), there you could ' cd ep/xxx.../; cmake./;make -j1 cd ep/xxx.../; cmake./;make -j1 ' to start individual builds.

HTH,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM