Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot compile gives errors #75

Open
HB-codin opened this issue Sep 19, 2024 · 1 comment
Open

cannot compile gives errors #75

HB-codin opened this issue Sep 19, 2024 · 1 comment

Comments

@HB-codin
Copy link

HB-codin commented Sep 19, 2024

I am finding it difficult to follow the instructions and I really need help asap please... I am using windows 10, QT 5.9.0 and MinGW from the link and I want to use it with an openport 2.0 I need help installing it and compiling it can someone please walk me through in a much easier way the README is a bit too much. The error i keep getting is below

C:\FreeSSM-1.2.5>mingw32-make debug
mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'C:/FreeSSM-1.2.5'
g++ -c -fno-keep-inline-dllexport -pipe -fno-gcse -g -std=gnu++11 -Wextra -Wall -W -fexceptions -mthreads -DUNICODE -D__FSSM_DEBUG__ -D__SERIALCOM_DEBUG__ -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -Isrc -Isrc\windows -I..\Qt\5.9\mingw53_32\include -I..\Qt\5.9\mingw53_32\include\QtGui -I..\Qt\5.9\mingw53_32\include\QtANGLE -I..\Qt\5.9\mingw53_32\include\QtCore -Idebug -I..\Qt\5.9\mingw53_32\mkspecs\win32-g++  -o debug\main.o src\main.cpp
In file included from src\FreeSSM.h:41:0,
                 from src\main.cpp:21:
src\Engine.h:26:23: fatal error: ui_Engine.h: No such file or directory
 #include "ui_Engine.h"
                       ^
compilation terminated.
Makefile.Debug:6240: recipe for target 'debug/main.o' failed
mingw32-make[1]: *** [debug/main.o] Error 1
mingw32-make[1]: Leaving directory 'C:/FreeSSM-1.2.5'
Makefile:51: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
@jschinnerer
Copy link

jschinnerer commented Oct 21, 2024

NOTE as you are on Win you may succeed just by commenting out the includes that give errors. But you may also have some of the other problems that happen on linux, I don't know.
You will find some more info in this issue and the comment I just added:
[(https://github.com//issues/71]
It appears that person was able to build from source, so I asked how they did it given the issue you are reporting plus the change of directory structure in Qt5 that breaks the includes.

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

No branches or pull requests

2 participants