masterfeizz / Xash3DS

A port of Xash3D-FWGS for the Nintendo 3DS
GNU General Public License v3.0
153 stars 10 forks source link

Devkitpro Dependencies? #24

Open MakinBacon05 opened 3 years ago

MakinBacon05 commented 3 years ago

I'm trying to compile Xash3DS using msys2 and Devkitpro. However I'm getting errors saying that I am missing libraries, I haven't been able to figure which libraries I need and how to install them

Below Is the error I am getting:

$ make arm-none-eabi-g++ -Wall -O2 -ffast-math -mword-relocations -fomit-frame-pointer -ffunction-sections -fdata-sections -fno-short-enums -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -I/c/devkitpro/xash3ds-0.2/include -I/c/devkitpro/xash3ds-0.2/engine -I/c/devkitpro/xash3ds-0.2/engine/common -I/c/devkitpro/xash3ds-0.2/engine/common/imagelib -I/c/devkitpro/xash3ds-0.2/engine/common/soundlib -I/c/devkitpro/xash3ds-0.2/engine/common/soundlib/libmpg -I/c/devkitpro/xash3ds-0.2/engine/common/stb -I/c/devkitpro/xash3ds-0.2/common -I/c/devkitpro/xash3ds-0.2/engine/server -I/c/devkitpro/xash3ds-0.2/engine/client -I/c/devkitpro/xash3ds-0.2/engine/client/vgui -I/c/devkitpro/xash3ds-0.2/pm_shared -I/opt/devkitpro/libctru/include -I/opt/devkitpro/portlibs/3ds/include -I/opt/devkitpro/picaGL/include -I/c/devkitpro/xash3ds-0.2/include -I/c/devkitpro/xash3ds-0.2/build -DARM11 -D_3DS -DSINGLE_BINARY -DXASH_NO_ASYNC_NS_RESOLVE -DXASH_INTERNAL_GAMELIBS -DXASH_ALLOW_SAVERESTORE_OFFSETS -DXASH_GL_STATIC -fno-rtti -fno-exceptions -std=gnu++11 -specs=3dsx.specs -g -march=armv6k -mtune=mpcore -mfloat-abi=hard -mtp=soft -Wl,-Map,.map,--allow-multiple-definition keyboardOverlay.bin.o touchOverlay.bin.o Sequence.o avikit.o base_cmd.o build.o cfgscript.o cmd.o common.o con_utils.o crashhandler.o crclib.o crtlib.o cvar.o dedicated.o filesystem.o host.o hpak.o identification.o infostring.o launcher.o library.o masterlist.o mathlib.o matrixlib.o mod_studio.o model.o net_buffer.o net_chan.o net_encode.o net_huff.o network.o pm_surface.o pm_trace.o random.o sys_con.o system.o titles.o world.o zone.o img_bmp.o img_dds.o img_main.o img_quant.o img_tga.o img_utils.o img_wad.o snd_main.o snd_mp3.o snd_utils.o snd_wav.o dct36.o dct64.o format.o frame.o index.o layer3.o libmpg.o mpg123.o parse.o reader.o synth.o tabinit.o cl_cmds.o cl_demo.o cl_events.o cl_frame.o cl_game.o cl_main.o cl_menu.o cl_mobile.o cl_netgraph.o cl_parse.o cl_pmove.o cl_remap.o cl_scrn.o cl_tent.o cl_video.o cl_view.o console.o gamma.o gl_backend.o gl_beams.o gl_cull.o gl_decals.o gl_draw.o gl_image.o gl_mirror.o gl_refrag.o gl_rlight.o gl_rmain.o gl_rmath.o gl_rmisc.o gl_rpart.o gl_rstrobe.o gl_rsurf.o gl_sprite.o gl_studio.o gl_warp.o input.o input_evdevkey.o joyinput.o keys.o s_dsp.o s_load.o s_main.o s_mix.o s_mouth.o s_stream.o s_stub.o s_utils.o s_vox.o touch.o vid_common.o vgui_draw.o sv_client.o sv_cmds.o sv_custom.o sv_filter.o sv_frame.o sv_game.o sv_init.o sv_log.o sv_main.o sv_move.o sv_phys.o sv_pmove.o sv_save.o sv_world.o dll_ctr.o in_ctr.o snd_ctr.o vid_ctr.o -L/opt/devkitpro/libctru/lib -L/opt/devkitpro/portlibs/3ds/lib -L/opt/devkitpro/picaGL/lib -L/c/devkitpro/xash3ds-0.2/lib -lpicaGL -lmainui -lclient -lserver -lctru -lm -lstdc++ -o /c/devkitpro/xash3ds-0.2/xash3ds-0.2.elf c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lpicaGL c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lmainui c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lclient c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lserver collect2.exe: error: ld returned 1 exit status make[1]: [/c/devkitpro/xash3ds-0.2/Makefile:210: /c/devkitpro/xash3ds-0.2/xash3ds-0.2.elf] Error 1 make: [Makefile:169: all] Error 2