Anyone experienced with Linux C++ compil Created 15 years ago2008-10-14 07:19:20 UTC by ChickenFist ChickenFist

Created 15 years ago2008-10-14 07:19:20 UTC by ChickenFist ChickenFist

Posted 15 years ago2008-10-14 07:19:20 UTC Post #257043
Anyone here who has experience with compiling c++ projects for linux?
I tried to compile Flat-Life for linux using Cygwin and it compiled without errors but it doesn't work :(

Anyone who knows anything about these things that could help out or even try compiling it for me? Pretty please =)
ChickenFist ChickenFist<Witty Title>
Posted 15 years ago2008-10-14 07:26:47 UTC Post #257045
I compile c++ with Linux in university. What do you want to know? I just make that:

Creating .o files:

g++ -c mycpp.o mycpp.cpp

Creating the executable:

g++ -o myprogram.exe object1.o object2.o object3.o object4.o object5.o
Posted 15 years ago2008-10-14 07:35:33 UTC Post #257046
Aye, I got that far. I got an .so file but I quote:
Hello Anthony,

Flatlife is not working we get the following error when we try to start
the mod:

LoadLibrary failed
on ./valve/dlls/hl2d_i386.so: ./valve/dlls/hl2d_i386.so: cannot open
shared object file: No such file or directory
Host_Error: Couldn't get DLL API from ./valve/dlls/hl2d_i386.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API
from ./valve/dlls/hl2d_i386.so!

When we create a symlink from the file hl2d_i386.so to hl2d_i486 we get
the following error:

LoadLibrary failed
on ./valve/dlls/hl2d_i386.so: ./valve/dlls/hl2d_i386.so: invalid ELF
header
Host_Error: Couldn't get DLL API from ./valve/dlls/hl2d_i386.so!
FATAL ERROR (shutting down): Host_Error: Couldn't get DLL API
from ./valve/dlls/hl2d_i386.so!

We have reinstalled the server so it's online again. Here is the new
rcon password: htyaJrif

Kind regards,

Rutger Jager
GameServers - Support
This doesn't make any sense to me :P
ChickenFist ChickenFist<Witty Title>
Posted 15 years ago2008-10-14 10:24:14 UTC Post #257051
On my Mac I always did this: g++ -o nameofexecutable main.cpp
Oskar Potatis Oskar Potatis🦔
Posted 15 years ago2008-10-14 15:25:08 UTC Post #257061
i really hope you changed that rcon password.
Penguinboy PenguinboyHaha, I died again!
Posted 15 years ago2008-10-14 15:28:50 UTC Post #257062
lol
Now nice of you to post it.
Oskar Potatis Oskar Potatis🦔
Posted 15 years ago2008-10-14 15:29:38 UTC Post #257063
Changed long ago. ;D
Daubster DaubsterVault Dweller
Posted 15 years ago2008-10-15 12:56:00 UTC Post #257122
Haha shit, sorry :P
ChickenFist ChickenFist<Witty Title>
You must be logged in to post a response.