antopilo / Nuake

Nuake is a modern engine inspired by the Quake engine that integrates with Trenchbroom
https://nuake.antopilo.dev
MIT License
203 stars 21 forks source link

Coral build issues. #65

Closed jopadan closed 4 months ago

jopadan commented 4 months ago

Running ./build.sh -r I get:

Error: ...nes/id/idtech1/nuake/jopadan/nuake/NuakeNet/premake5.lua:9: attempt to call a nil value (global 'propertytags')
==== Building JoltPhysics (release) ====
Running prebuild commands
cp ../Jolt.cpp ./
Jolt.cpp
Linking JoltPhysics
==== Building Soloud (release) ====
==== Building Coral.Native (release) ====
==== Building Coral.Managed (release) ====
Source/ManagedObject.cs(10,24): error CS1514: { expected
Source/GarbageCollector.cs(6,24): error CS1514: { expected
Source/ExtensionMethods.cs(3,24): error CS1514: { expected
Source/InternalCalls.cs(6,32): error CS1514: { expected
Source/InteropTypes.cs(7,32): error CS1514: { expected
Source/AssemblyLoader.cs(12,24): error CS1514: { expected
Source/ExtensionMethods.cs(11,2): error CS1513: } expected
Source/AssemblyLoader.cs(249,2): error CS1513: } expected
Source/InternalCalls.cs(75,2): error CS1513: } expected
Source/ManagedObject.cs(447,2): error CS1513: } expected
Source/GarbageCollector.cs(40,2): error CS1513: } expected
Source/ManagedHost.cs(6,24): error CS1514: { expected
Source/InteropTypes.cs(197,2): error CS1513: } expected
Source/ManagedHost.cs(44,2): error CS1513: } expected
Source/UniqueList.cs(5,24): error CS1514: { expected
Source/UniqueList.cs(37,2): error CS1513: } expected
Source/Marshalling.cs(8,24): error CS1514: { expected
Source/Marshalling.cs(236,2): error CS1513: } expected
Source/TypeInterface.cs(9,24): error CS1514: { expected
Source/TypeInterface.cs(830,2): error CS1513: } expected
Source/TypeNotFoundException.cs(3,24): error CS1514: { expected
Source/TypeNotFoundException.cs(20,2): error CS1513: } expected
make[1]: *** [Makefile:91: bin/Release/Coral.Managed.dll] Error 1
make: *** [Makefile:71: Coral.Managed] Error 2

Calling ./Build.sh -c Release in Nuake/dependencies/Coral/ works fine

antopilo commented 4 months ago

Are yon windows or linux?

jopadan commented 4 months ago
Linux 94-65-9c-c6-a4-58.de.thecloud.eu 6.9.3-gentoo #2 SMP PREEMPT_DYNAMIC Wed Jun  5 15:52:35 CEST 2024 x86_64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz GenuineIntel GNU/Linux
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/14/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-14.1.1_p20240608/work/gcc-14-20240608/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/14 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/14/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/14/python --enable-objc-gc --enable-languages=c,c++,d,go,objc,obj-c++,fortran,ada,m2,rust --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 14.1.1_p20240608 p2' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --enable-cet --disable-systemtap --disable-valgrind-annotations --enable-vtable-verify --with-zstd --with-isl --disable-isl-version-check --enable-default-pie --enable-host-pie --enable-host-bind-now --enable-default-ssp --disable-fixincludes --with-build-config='bootstrap-O3 bootstrap-lto bootstrap-cet'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.1.1 20240608 (Gentoo 14.1.1_p20240608 p2) 
.NET SDK:
 Version:           8.0.105
 Commit:            eae90abaaf
 Workload version:  8.0.100-manifests.c1c70047

Runtime Environment:
 OS Name:     gentoo
 OS Version:  2.15
 OS Platform: Linux
 RID:         linux-x64
 Base Path:   /opt/dotnet-sdk-bin-8.0/sdk/8.0.105/

.NET workloads installed:
 Workload version: 8.0.100-manifests.c1c70047
There are no installed workloads to display.

Host:
  Version:      8.0.5
  Architecture: x64
  Commit:       087e15321b

.NET SDKs installed:
  8.0.105 [/opt/dotnet-sdk-bin-8.0/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 8.0.5 [/opt/dotnet-sdk-bin-8.0/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 8.0.5 [/opt/dotnet-sdk-bin-8.0/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/opt/dotnet-sdk-bin-8.0]

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download
antopilo commented 4 months ago

Yeah, the current linux build is broken since I added Coral, it will need some fixing on its own, its on the roadmap!