Steamworks API wrapper for Go
benlubar / steamworks Goto Github PK
View Code? Open in Web Editor NEWSteamworks API wrapper for Go
License: MIT License
Steamworks API wrapper for Go
License: MIT License
OSX
github.com/BenLubar/steamworks/internal
ld: library not found for -lsteam_api
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The terminal process "/bin/bash '-c', 'go build'" terminated with exit code: 2
Greetings,
the go get github.com/BenLubar/steamworks
command fails because one of the dependencies of this project fails the version check from the go.mod file.
PS D:\GoProj\xxxxxx> go get github.com/BenLubar/steamworks
go: github.com/BenLubar/steamworks upgrade => v0.0.0-20181009034830-72424b225176
go get: github.com/BenLubar/[email protected] requires
golang.org/x/[email protected]: invalid pseudo-version: does not match version-control timestamp (expected 20181008205924)
main.go
package main
import (
"fmt"
"net"
SteamWorks "github.com/BenLubar/steamworks"
)
func main() {
ServerIP := net.IPv4(uint8(123), uint8(123), uint8(123), uint8(123))
ServerPort := uint16(12345)
GamePort := uint16(12346)
QueryPort := uint16(12347)
SteamWorks.InitServer(ServerIP, ServerPort, GamePort, QueryPort, SteamWorks.Authentication, "2022.07.13", true)
}
❯ uname -a
Linux 4.18.0-348.12.2.el8_5.x86_64 #1 SMP Wed Jan 19 17:53:40 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
❯ grep . /etc/*-release
/etc/centos-release:Rocky Linux release 8.6 (Green Obsidian)
/etc/os-release:NAME="Rocky Linux"
/etc/os-release:VERSION="8.6 (Green Obsidian)"
/etc/os-release:ID="rocky"
/etc/os-release:ID_LIKE="rhel centos fedora"
/etc/os-release:VERSION_ID="8.6"
/etc/os-release:PLATFORM_ID="platform:el8"
/etc/os-release:PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
/etc/os-release:ANSI_COLOR="0;32"
/etc/os-release:CPE_NAME="cpe:/o:rocky:rocky:8:GA"
/etc/os-release:HOME_URL="https://rockylinux.org/"
/etc/os-release:BUG_REPORT_URL="https://bugs.rockylinux.org/"
/etc/os-release:ROCKY_SUPPORT_PRODUCT="Rocky Linux"
/etc/os-release:ROCKY_SUPPORT_PRODUCT_VERSION="8"
/etc/os-release:REDHAT_SUPPORT_PRODUCT="Rocky Linux"
/etc/os-release:REDHAT_SUPPORT_PRODUCT_VERSION="8"
/etc/redhat-release:Rocky Linux release 8.6 (Green Obsidian)
/etc/rocky-release:Rocky Linux release 8.6 (Green Obsidian)
/etc/system-release:Rocky Linux release 8.6 (Green Obsidian)
go run ./main.go
/tmp/go-build3774866012/b001/exe/main: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory
exit status 127
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.