Comments (9)
Running Manjaro Linux 19 (newest)!
CMake version: 3.16.5
from growtopiaserver2.
Fixed by installing enet in /enet.
from growtopiaserver2.
After running cmake, on make:
make[1]: Entering directory '/home/kuteshi/GrowtopiaServer2'
make[2]: Entering directory '/home/kuteshi/GrowtopiaServer2'
Scanning dependencies of target enet
make[2]: Leaving directory '/home/kuteshi/GrowtopiaServer2'
make[2]: Entering directory '/home/kuteshi/GrowtopiaServer2'
[ 5%] Building C object libs/enet/CMakeFiles/enet.dir/callbacks.c.o
[ 10%] Building C object libs/enet/CMakeFiles/enet.dir/compress.c.o
[ 15%] Building C object libs/enet/CMakeFiles/enet.dir/host.c.o
[ 20%] Building C object libs/enet/CMakeFiles/enet.dir/list.c.o
[ 25%] Building C object libs/enet/CMakeFiles/enet.dir/packet.c.o
[ 30%] Building C object libs/enet/CMakeFiles/enet.dir/peer.c.o
[ 35%] Building C object libs/enet/CMakeFiles/enet.dir/protocol.c.o
[ 40%] Building C object libs/enet/CMakeFiles/enet.dir/unix.c.o
[ 45%] Building C object libs/enet/CMakeFiles/enet.dir/win32.c.o
[ 50%] Linking C static library libenet.a
make[2]: Leaving directory '/home/kuteshi/GrowtopiaServer2'
[ 50%] Built target enet
make[2]: Entering directory '/home/kuteshi/GrowtopiaServer2'
make[2]: Leaving directory '/home/kuteshi/GrowtopiaServer2'
make[2]: Entering directory '/home/kuteshi/GrowtopiaServer2'
[ 55%] Building CXX object CMakeFiles/GrowtopiaServer.dir/src/ENetWrapper/ENetServer.cpp.o
/home/kuteshi/GrowtopiaServer2/src/ENetWrapper/ENetServer.cpp: In member function ‘void ENetServer::setServerData(uint8_t*)’:
/home/kuteshi/GrowtopiaServer2/src/ENetWrapper/ENetServer.cpp:151:10: error: ‘ENetHost’ {aka ‘struct _ENetHost’} has no member named ‘data’
151 | server->data = (void*) data;
| ^~~~
/home/kuteshi/GrowtopiaServer2/src/ENetWrapper/ENetServer.cpp: In member function ‘uint8_t* ENetServer::getServerData()’:
/home/kuteshi/GrowtopiaServer2/src/ENetWrapper/ENetServer.cpp:154:27: error: ‘ENetHost’ {aka ‘struct _ENetHost’} has no member named ‘data’
154 | return (uint8_t*)server->data;
| ^~~~
make[2]: *** [CMakeFiles/GrowtopiaServer.dir/build.make:63: CMakeFiles/GrowtopiaServer.dir/src/ENetWrapper/ENetServer.cpp.o] Error 1
make[2]: Leaving directory '/home/kuteshi/GrowtopiaServer2'
make[1]: *** [CMakeFiles/Makefile2:96: CMakeFiles/GrowtopiaServer.dir/all] Error 2
make[1]: Leaving directory '/home/kuteshi/GrowtopiaServer2'
make: *** [Makefile:84: all] Error 2
I've downloaded enet and put it in the /enet/ folder.
EDIT by GrowtopiaNoobs: fixing code formating
from growtopiaserver2.
Installing enet helps nothing.
from growtopiaserver2.
try use enet from this fork https://github.com/GrowtopiaNoobs/enet
from growtopiaserver2.
@kuteshiki As @NotDark said, using my fork of enet https://github.com/GrowtopiaNoobs/enet should solve this problem.
from growtopiaserver2.
@GrowtopiaNoobs what does your fork of ENet add?
from growtopiaserver2.
You can check commit history. There is added just one variable, which can keep custom data for server.
from growtopiaserver2.
Closing this issue as there hasn't been any new activity, also you can now check build.sh
or download working version from releases.
from growtopiaserver2.
Related Issues (20)
- Growtopia private server is deleted ? HOT 1
- Help. HOT 1
- IOS PLAYER HOT 1
- can i host my custom item in a separate Virtual Machine HOT 4
- [INFO] - Growtopia Private Servers HOT 5
- LAUNCHER AND APK HOT 5
- Looking For People To Make The Best Server!
- Finding hash of custom rttex files
- .. HOT 1
- What is your discord? HOT 2
- Help with running the server HOT 1
- Custom itemszz HOT 1
- The CDN cache/custom cache HOT 2
- App Issue HOT 1
- why not
- do anyone have start.py for play in localhost? HOT 2
- hi
- [ERROR] CMake Windows HOT 4
- Ok now we can purely say this is the end HOT 5
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 growtopiaserver2.