ExcellentGamer / Super-Mario-64-DS-Remastered

**OPEN SOURCE EPIC**
27 stars 4 forks source link

can't build #1

Open B-Nerd opened 7 months ago

B-Nerd commented 7 months ago

Describe your bug here.

i tried building this from source with all the steps on the github but after following all the steps after i ran make -j4 i got the error In file included from include/sm64.h:6, from src/engine/behavior_script.c:3: include/types.h:12:10: fatal error: data/dynos.c.h: No such file or directory 12 | #include "data/dynos.c.h" | ^~~~ compilation terminated. make: [Makefile:1014: build/us_pc/src/engine/behavior_script.o] Error 1 make: Waiting for unfinished jobs.... In file included from include/sm64.h:6, from src/engine/graph_node.c:2: include/types.h:12:10: fatal error: data/dynos.c.h: No such file or directory 12 | #include "data/dynos.c.h" | ^~~~ compilation terminated. make: [Makefile:1014: build/us_pc/src/engine/graph_node.o] Error 1 In file included from src/engine/graph_node_manager.c:3: include/types.h:12:10: fatal error: data/dynos.c.h: No such file or directory 12 | #include "data/dynos.c.h" | ^~~~ compilation terminated. make: [Makefile:1014: build/us_pc/src/engine/graph_node_manager.o] Error 1 In file included from include/sm64.h:6, from src/engine/geo_layout.c:2: include/types.h:12:10: fatal error: data/dynos.c.h: No such file or directory 12 | #include "data/dynos.c.h" | ^~~~ compilation terminated. make: *** [Makefile:1014: build/us_pc/src/engine/geo_layout.o] Error 1

Are you building manually or with Builder2?

Manually

What is your build target?

Linux

thanone2 commented 1 month ago

Follow this guide: https://github.com/sm64-port/sm64-port but including his instructions.

B-Nerd commented 1 month ago

so replace this Firstly, you have to have the Render96 repo already cloned... (You can clone it from here: git clone https://github.com/Render96/Render96ex)

with Firstly, you have to have the Render96 repo already cloned... (You can clone it from here: git clone https://github.com/sm64-port/sm64-port.git) this?

i still get a error this one

make[1]: [Makefile:78: armips] Error 1 make[1]: Waiting for unfinished jobs.... Makefile:258: *** Failed to build tools. Stop.

thanone2 commented 1 month ago

so replace this Firstly, you have to have the Render96 repo already cloned... (You can clone it from here: git clone https://github.com/Render96/Render96ex)

with Firstly, you have to have the Render96 repo already cloned... (You can clone it from here: git clone https://github.com/sm64-port/sm64-port.git) this?

i still get a error this one

make[1]: [Makefile:78: armips] Error 1 make[1]: Waiting for unfinished jobs.... Makefile:258: *** Failed to build tools. Stop.

Try running make again ( no need for -j4 btw)

B-Nerd commented 1 month ago

so replace this Firstly, you have to have the Render96 repo already cloned... (You can clone it from here: git clone https://github.com/Render96/Render96ex) with Firstly, you have to have the Render96 repo already cloned... (You can clone it from here: git clone https://github.com/sm64-port/sm64-port.git) this? i still get a error this one make[1]: [Makefile:78: armips] Error 1 make[1]: Waiting for unfinished jobs.... Makefile:258: *** Failed to build tools. Stop.

Try running make again ( no need for -j4 btw)

nope still a error | ~~~^~~ armips.cpp:13550:51: note: remove ‘std::move’ call /usr/include/c++/14.1.1/limits: In static member function ‘static constexpr float128 std::numeric_limits<__float128>::min()’: /usr/include/c++/14.1.1/limits:2100:37: error: unable to find numeric literal operator ‘operator""Q’ 2100 | return extension 0x1.0p-16382Q; | ^~ /usr/include/c++/14.1.1/limits:2100:37: note: use ‘-fext-numeric-literals’ to enable more built-in suffixes /usr/include/c++/14.1.1/limits:2102:7: error: body of ‘constexpr’ function ‘static constexpr __float128 std::numeric_limits<float128>::min()’ not a return-statement 2102 | } | ^ /usr/include/c++/14.1.1/limits: In static member function ‘static constexpr float128 std::numeric_limits<__float128>::max()’: /usr/include/c++/14.1.1/limits:2114:64: error: unable to find numeric literal operator ‘operator""Q’ 2114 | return extension 0x1.ffffffffffffffffffffffffffffp+16383Q; | ^~ /usr/include/c++/14.1.1/limits:2114:64: note: use ‘-fext-numeric-literals’ to enable more built-in suffixes /usr/include/c++/14.1.1/limits:2116:7: error: body of ‘constexpr’ function ‘static constexpr __float128 std::numeric_limits<float128>::max()’ not a return-statement 2116 | } | ^ /usr/include/c++/14.1.1/limits: In static member function ‘static constexpr float128 std::numeric_limits<__float128>::denorm_min()’: /usr/include/c++/14.1.1/limits:2183:37: error: unable to find numeric literal operator ‘operator""Q’ 2183 | return extension 0x1.0p-16494Q; | ^~ /usr/include/c++/14.1.1/limits:2183:37: note: use ‘-fext-numeric-literals’ to enable more built-in suffixes /usr/include/c++/14.1.1/limits:2185:7: error: body of ‘constexpr’ function ‘static constexpr float128 std::numeric_limits<__float128>::denorm_min()’ not a return-statement 2185 | } | ^ make[1]: [Makefile:78: armips] Error 1 Makefile:258: Failed to build tools. Stop.

thanone2 commented 1 month ago

so replace this Firstly, you have to have the Render96 repo already cloned... (You can clone it from here: git clone https://github.com/Render96/Render96ex) with Firstly, you have to have the Render96 repo already cloned... (You can clone it from here: git clone https://github.com/sm64-port/sm64-port.git) this? i still get a error this one make[1]: [Makefile:78: armips] Error 1 make[1]: Waiting for unfinished jobs.... Makefile:258: *** Failed to build tools. Stop.

Try running make again ( no need for -j4 btw)

nope still a error | ~~~^~~ armips.cpp:13550:51: note: remove ‘std::move’ call /usr/include/c++/14.1.1/limits: In static member function ‘static constexpr float128 std::numeric_limits<__float128>::min()’: /usr/include/c++/14.1.1/limits:2100:37: error: unable to find numeric literal operator ‘operator""Q’ 2100 | return extension 0x1.0p-16382Q; | ^~ /usr/include/c++/14.1.1/limits:2100:37: note: use ‘-fext-numeric-literals’ to enable more built-in suffixes /usr/include/c++/14.1.1/limits:2102:7: error: body of ‘constexpr’ function ‘static constexpr __float128 std::numeric_limits<float128>::min()’ not a return-statement 2102 | } | ^ /usr/include/c++/14.1.1/limits: In static member function ‘static constexpr float128 std::numeric_limits<__float128>::max()’: /usr/include/c++/14.1.1/limits:2114:64: error: unable to find numeric literal operator ‘operator""Q’ 2114 | return extension 0x1.ffffffffffffffffffffffffffffp+16383Q; | ^~ /usr/include/c++/14.1.1/limits:2114:64: note: use ‘-fext-numeric-literals’ to enable more built-in suffixes /usr/include/c++/14.1.1/limits:2116:7: error: body of ‘constexpr’ function ‘static constexpr __float128 std::numeric_limits<float128>::max()’ not a return-statement 2116 | } | ^ /usr/include/c++/14.1.1/limits: In static member function ‘static constexpr float128 std::numeric_limits<__float128>::denorm_min()’: /usr/include/c++/14.1.1/limits:2183:37: error: unable to find numeric literal operator ‘operator""Q’ 2183 | return extension 0x1.0p-16494Q; | ^~ /usr/include/c++/14.1.1/limits:2183:37: note: use ‘-fext-numeric-literals’ to enable more built-in suffixes /usr/include/c++/14.1.1/limits:2185:7: error: body of ‘constexpr’ function ‘static constexpr float128 std::numeric_limits<__float128>::denorm_min()’ not a return-statement 2185 | } | ^ make[1]: [Makefile:78: armips] Error 1 Makefile:258: Failed to build tools. Stop.

Sorry, idk what else to do😟

B-Nerd commented 1 month ago

sad