msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.24k stars 1.21k forks source link

problem in mingw32 #7517

Open maksim105 opened 3 years ago

maksim105 commented 3 years ago

make[1]: Entering directory '/c/Users/User/AppData/Roaming/OpenArena/baseoa/engine-master/engine-master'

Building in build/release-mingw32-x86: PLATFORM: mingw32 ARCH: x86 VERSION: 3.0.0a COMPILE_PLATFORM: mingw32 COMPILE_ARCH: x86_64 CC: /mingw32/bin/i686-w64-mingw32-gcc WINDRES: windres -F pe-i386

CFLAGS: -std=gnu99 -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -DUSE_ICON -DWINVER=0x501 -m32 -DNO_GZIP -Icode/zlib -DUSE_INTERNAL_JPEG -Icode/jpeg-8c -DUSE_LOCAL_HEADERS -DSTANDALONE -DPRODUCT_VERSION="3.0.0a" -Wformat=2 -Wno-format-zero-length -Wformat-security -Wno-format-nonliteral -Wstrict-aliasing=2 -Wmissing-format-attribute -Wdisabled-optimization -Werror-implicit-function-declaration -MMD -DNDEBUG -O3 -march=i586 -fno-omit-frame-pointer -funroll-loops -ffast-math -flto

CLIENT_CFLAGS: -DUSE_CONSOLE_WINDOW -DCURL_STATICLIB -Icode/SDL12/include -DUSE_OPENAL -DUSE_OPENAL_DLOPEN -DUSE_CURL -DUSE_CODEC_VORBIS -DUSE_CODEC_XMP -Icode/libogg-1.3.1/include -DUSE_MUMBLE -DUSE_VOIP -DFLOATING_POINT -DUSE_ALLOCA -Icode/libspeex/include

SERVER_CFLAGS: -DUSE_VOIP

LDFLAGS:

LIBS: -lws2_32 -lwinmm -lcomdlg32 -lcomctl32 -lgdi32 -lole32 -lcomctl32 -lcomdlg32

CLIENT_LIBS: -lgdi32 -lole32 -lcomdlg32 -lcomctl32 code/libs/win32/libcurl.a -lmingw32 code/libs/win32/libSDLmain.a code/libs/win32/libSDL.dll.a -lvorbisfile -lvorbis -lxmp

Output: oa_ded.x86.exe openarena.x86.exe

make[2]: Entering directory '/c/Users/User/AppData/Roaming/OpenArena/baseoa/engine-master/engine-master' make[2]: 'build/release-mingw32-x86/oa_ded.x86.exe' is up to date. CC code/client/snd_codec_xmp.c code/client/snd_codec_xmp.c:33:10: fatal error: xmp.h: No such file or directory 33 | #include | ^~~ compilation terminated. make[2]: [Makefile:2644: build/release-mingw32-x86/client/snd_codec_xmp.o] Error 1 make[2]: Leaving directory '/c/Users/User/AppData/Roaming/OpenArena/baseoa/engine-master/engine-master' make[1]: [Makefile:1289: targets] Error 2 make[1]: Leaving directory '/c/Users/User/AppData/Roaming/OpenArena/baseoa/engine-master/engine-master' make: *** [Makefile:1232: release] Error 2

Biswa96 commented 3 years ago

Would you like to explain your issue? Like what project are you compiling? Commands to reproduce your issue? etc.

maksim105 commented 3 years ago

I need to make graphics in the openarena game, but I get this error

maksim105 commented 3 years ago

I like I used a lot of things and did everything strictly according to the instructions

maksim105 commented 3 years ago

there were 2 include vorbisfile and codec and I don't have the third

Biswa96 commented 3 years ago

What is the repository link?

maksim105 commented 3 years ago

http://wiki.ioquake3.org/Building_ioquake3_on_Windows_-_msys2

maksim105 commented 3 years ago

and here is the first repository https://github.com/OpenArena/engine

mingwandroid commented 3 years ago

Please try to create a PKGBUILD recipe and make a PR. That way we can help you and you can help us and learn how to make packages.

maksim105 commented 3 years ago

and where to do it

Biswa96 commented 3 years ago

Creating a PKGBUILD for new users will be hard. I am trying to do something and will report my progress.

maksim105 commented 3 years ago

Okay, I will be waiting

Biswa96 commented 3 years ago
mingwandroid commented 3 years ago

Creating a PKGBUILD for new users will be hard. I am trying to do something and will report my progress.

Well, maybe, but it's the best way to learn I think.

and where to do it

From a personal fork of this repo.

mingwandroid commented 3 years ago

@Biswa96 Looking forward to playing some ioq3 :-)

maksim105 commented 3 years ago

I need multiplayer there for better graphics

maksim105 commented 3 years ago

Quake 3 has everything ready

maksim105 commented 3 years ago

oa_ded.x86.exe and openarena.x86.exe

maksim105 commented 3 years ago

and library files in order to change them

maksim105 commented 3 years ago

is it possible to somehow pick up files for this

maksim105 commented 3 years ago

how are you doing