Comments (7)
Okay so:
- rename
dr_wav.h
todr_wav.c
- rename
libdeflate.lib
to eitherdeflate.lib
orlibdeflate.a
- delete all LodePNG stuff except for
lodepng.c
andlodepng.h
(this includessrc/pngdetail.cpp
) - delete
glfw3.dll
andglfw3dll.lib
fromlib/
those arent needed either
I'm not exactly sure what causes your GLFW3 and enet linking errors, but are you sure they are compatible to gcc? The missing functions __GSHandlerCheck
and __security_check_cookie
indicate these libraries were built with MSVC.
For GLFW3, download this, you will need lib-mingw/libglfw3.a
from the zip.
from betterspades.
Something I forgot regarding dr_wav.c
is you will have to uncomment Line 9 , which will define DR_WAV_IMPLEMENTATION
from betterspades.
Thank you for your kind response.
Existing errors had been fixed after replacing files, cleaning /build and rebuilding.
But I got another error: https://pastebin.com/c5y423du
I used lib-mingw/libglfw3.a
as you suggested.
I'm using mingw-w64
on Windows 10 x64
.
from betterspades.
Well for x64 you obv need the 64 bit library of glfw (lib-mingw-w64/libglfw3.a
in the zip).
Your enet build is still not accepted by gcc, maybe rebuild that one with mingw-w64?
You should be able to compile it with the
msys
(+autotools
) environment on windows, which you can download as a package from the mingw-updater. (for me its installed on pathC:\MinGW\msys\1.0\msys.bat
)
EDIT: I just found out enet can also be build with cmake, which is prob easier. It will work with the same command like on this project
from betterspades.
I finally succeeded in compiling. Thanks.
Redownloaded enet, glfw and libdeflate, and It worked like a charm :)
Attaching sources just in case someone needed it.
BetterSpades-standalone.zip
from betterspades.
ehm... now, how do I play? I tried with F2, so not much happens, help me xD
from betterspades.
Keyboard commands:
- F1-F4: change camera mode (F1: top down view, F2: first person, F3: free camera, F4: third person)
- V: be careful, this one teleports you to the center of the map (only for testing, might get you banned)
- 8: will join the server defined in
main.c
atLine 1071
- 9: will join the best team, Green
Note that this can change any time in the future, and is only temporary.
from betterspades.
Related Issues (20)
- OpenAL32.dll HOT 1
- Show raw orientation in 1st person spectator. HOT 3
- Go through blocks
- Blow me up
- Specific keys show up as question marks (?) in the Controls settings
- Change command output colour for spectators to something other than black HOT 2
- Cursor moves itself in-game whenever you tab out of/exit BetterSpades HOT 1
- Incorrect ammo and HP counters displayed when spectating someone HOT 2
- [Enhancement] Make the screenshot times human-readable
- Add support for newlines in chat
- Intel randomly disappears and becomes glitched
- Add support for unicode utf-8
- add support for raspberry pi HOT 2
- BetterSpades ignores reload stop
- LAN server disappears
- Voxlap Models crashes on linux
- build on arch linux HOT 2
- Sound not matching where the player is pointing at in spectator mode
- Building fails on Archlinux with error HOT 2
- A new opportunity/update of Android Port
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from betterspades.