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

cpp_uint32array.h: No such file or directory for Linux target #1419

Closed
eugmarc opened this issue May 2, 2022 · 6 comments
Closed

cpp_uint32array.h: No such file or directory for Linux target #1419

eugmarc opened this issue May 2, 2022 · 6 comments

Comments

@eugmarc
Copy link

eugmarc commented May 2, 2022

As described in the title, I get cpp_uint32array.h: No such file or directory when trying to build my game for Native Linux. It works for html5.

Steps to reproduce the behavior:

  1. node Kha/make linux --compile or node Kha/make linux --graphics vulkan --compile

Kernel 5.17.5-arch1-1
Kha latest from git
Haxe 4.2.4
Gcc 11.2.0

More output:

g++  -O2 -I./ -I../../../../../../Kha/Kinc/Sources -I../../../../../../Kha/Kinc/Backends/System/Linux/Sources -I../../../../../../Kha/Kinc/Backends/System/POSIX/Sources -I../wayland -I../../../../../../Kha/Kinc/Backends/Graphics5/Vulkan/Sources -I../../../../../../Kha/Kinc/Backends/Graphics4/G4onG5/Sources -I../Sources/include -I../../../../../../Kha/Backends/Kinc-hxcpp/lib -I../../../../../../Kha/Backends/Kinc-hxcpp/khacpp/include -I../../../../../../Kha/Backends/Kinc-hxcpp/khacpp/project/thirdparty/pcre-8.42 -I../../../../../../Kha/Backends/Kinc-hxcpp/khacpp/project/thirdparty/zlib-1.2.11 -I../../../../../../Kha/Backends/Kinc-hxcpp/khacpp/project/libs/nekoapi -I../../../../../../Kha/Backends/Kinc-hxcpp/khacpp/project/thirdparty/mbedtls-2.9.0/include  -DHXCPP_API_LEVEL=400 -DHXCPP_GC_GENERATIONAL -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_VULKAN -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G4ONG5 -DHX_SMART_STRINGS -DKORE_MULTITHREADED_AUDIO -DHX_LINUX -DSTATIC_LINK -DPCRE_STATIC -DHXCPP_VISIT_ALLOCS -DKHA -DKORE -DROTATE90 -DHAVE_CONFIG_H -DSUPPORT_UTF -DSUPPORT_UCP -DNDEBUG   -c ../Sources/src/kha/graphics5/IndexBuffer.cpp -o indexbuffer_.o
In file included from ../Sources/src/kha/graphics5/IndexBuffer.cpp:5:
../Sources/include/hxinc/kha/arrays/Uint32ArrayPrivate.h:11:10: fatal error: cpp_uint32array.h: No such file or directory
   11 | #include "cpp_uint32array.h"
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [makefile:634: indexbuffer_.o] Error 1

Any help would be really appreciated.

@RobDangerous
Copy link
Member

This does not look like "Kha latest from git" at all. Please show us the first lines of the build output. Also please note that your globally installed version of Haxe is irrelevant for Kha.

@RobDangerous
Copy link
Member

Oh and also please use the issue template next time - wouldn't even have to ask for the build output if you had done that.

@eugmarc
Copy link
Author

eugmarc commented May 2, 2022

Hi, sorry for that, i'll be more careful next time.
You mean these lines?

Using Kha (131001da) from /home/em/Kha
Using Kinc (890baf38) from /home/em/Kha/Kinc

@RobDangerous
Copy link
Member

Those are the important ones, yes. So it is indeed current Kha. Try to delete the build dir so everything gets recreated, cpp_uint32array stopped existing last August.

@eugmarc
Copy link
Author

eugmarc commented May 2, 2022

That worked, thank you! I initialized the project using kode studio, may that have been the problem?

EDIT: actually looking at it, it's cuz I used the latest release which is dated 2018, my bad. Thank you again for the help.

@RobDangerous
Copy link
Member

Kode Studio is a bit outdated, please use vscode and the Kha extension pack (just search for Kha in the extension panel) until I manage to change that.

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