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

Build Error Linux e2k #142

Closed
ArtemS2 opened this issue Feb 18, 2024 · 10 comments
Closed

Build Error Linux e2k #142

ArtemS2 opened this issue Feb 18, 2024 · 10 comments

Comments

@ArtemS2
Copy link
Contributor

ArtemS2 commented Feb 18, 2024

Снимок экрана от 2024-02-18 06-31-36

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Feb 18, 2024

@glKarin
lcc: "/usr/include/X11/X.h", строка 350: ошибка #40: ожидается идентификатор
#define Success 0 /* everything's okay /
^
в раскрытие макроса "Success" на строке 3895 файла
"/srv/home/artems1/newdiila4/Q3E/src/main/jni/doom3/neo/quake4/ai/AI_Move.cpp"
bool Success(visitNode
node) {
^

lcc: "/usr/include/X11/X.h", строка 350: ошибка #109: выражение должно иметь
(указатель-на-) тип функции
#define Success 0 /* everything's okay */
^
в раскрытие макроса "Success" на строке 4387 файла
"/srv/home/artems1/newdiila4/Q3E/src/main/jni/doom3/neo/quake4/ai/AI_Move.cpp"
return Success(NULL);
^

lcc: "/usr/include/X11/X.h", строка 350: ошибка #109: выражение должно иметь
(указатель-на-) тип функции
#define Success 0 /* everything's okay */
^
в раскрытие макроса "Success" на строке 4393 файла
"/srv/home/artems1/newdiila4/Q3E/src/main/jni/doom3/neo/quake4/ai/AI_Move.cpp"
return Success(NULL);
^

lcc: "/usr/include/X11/X.h", строка 350: ошибка #109: выражение должно иметь
(указатель-на-) тип функции
#define Success 0 /* everything's okay */
^
в раскрытие макроса "Success" на строке 4423 файла
"/srv/home/artems1/newdiila4/Q3E/src/main/jni/doom3/neo/quake4/ai/AI_Move.cpp"
return Success(next);
^

lcc: "/usr/include/X11/X.h", строка 350: ошибка #109: выражение должно иметь
(указатель-на-) тип функции
#define Success 0 /* everything's okay */
^
в раскрытие макроса "Success" на строке 4429 файла
"/srv/home/artems1/newdiila4/Q3E/src/main/jni/doom3/neo/quake4/ai/AI_Move.cpp"
return Success(next);
^

5 ошибки обнаружено при компиляции "/srv/home/artems1/newdiila4/Q3E/src/main/jni/doom3/neo/quake4/ai/AI_Move.cpp".
make[2]: *** [Q3E/src/main/jni/doom3/neo/CMakeFiles/q4game.dir/build.make:1927: Q3E/src/main/jni/doom3/neo/CMakeFiles/q4game.dir/quake4/ai/AI_Move.cpp.o] Ошибка 1
make[2]: *** Ожидание завершения заданий…

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Feb 18, 2024

Replacing "Success" with "succes" caused problems in the last commit 9fbe7c1.

@glKarin
Copy link
Owner

glKarin commented Feb 18, 2024

Why include X.h in game source code? what are files include chain?

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Feb 18, 2024

I did not specifically include X.h in the game code, but when assembling the code as is, this error appears.

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Feb 18, 2024

Replacing "Success" with "success" solved the problem

@glKarin
Copy link
Owner

glKarin commented Feb 18, 2024

Try newest commit

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Feb 18, 2024

[ 50%] Building CXX object Q3E/src/main/jni/doom3/neo/CMakeFiles/hexeneoc.dir/mod/doom3/hexeneoc/anim/Anim_Import.cpp.o
lcc: "/srv/home/artems1/diii4a3/Q3E/src/main/jni/doom3/neo/sys/linux/gles2.cpp", строка 694: ошибка #413:
нет подходящей функции преобразования из "idCVar" в "bool"
glConfig.isFullscreen = r_fullscreen;
^

1 ошибка обнаружено при компиляции "/srv/home/artems1/diii4a3/Q3E/src/main/jni/doom3/neo/sys/linux/gles2.cpp".
make[2]: *** [Q3E/src/main/jni/doom3/neo/CMakeFiles/Doom3.dir/build.make:2347: Q3E/src/main/jni/doom3/neo/CMakeFiles/Doom3.dir/sys/linux/gles2.cpp.o] Ошибка 1
make[1]: *** [CMakeFiles/Makefile2:299: Q3E/src/main/jni/doom3/neo/CMakeFiles/Doom3.dir/all] Ошибка 2
make[1]: *** Ожидание завершения заданий…

@glKarin
Copy link
Owner

glKarin commented Feb 18, 2024

Ok, I fixed.

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Feb 18, 2024

I will try again

@ArtemS2
Copy link
Contributor Author

ArtemS2 commented Feb 18, 2024

The assembly was successful, I’ll ask my colleagues to test it on a desktop machine.

@ArtemS2 ArtemS2 closed this as completed Feb 18, 2024
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