Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building for Linux #3

Open
drequivalent opened this issue Feb 27, 2017 · 2 comments
Open

Building for Linux #3

drequivalent opened this issue Feb 27, 2017 · 2 comments

Comments

@drequivalent
Copy link

Hello,

You've described building for Windows. But what if I want to build your engine for Linux instead?

@AlexandreBonneau
Copy link

There is a cmake_linux.sh file in the repo root directory, I guess that's what you should use?

@volumetricsteve
Copy link

volumetricsteve commented Sep 6, 2017

I wasn't really sure what to do either, I found cmake_linux.sh, which quietly makes build scripts somewhere else. Somewhere else turned out to be:

./build/gcc/release

which I'm sure is dependent upon what switches you throw when running cmake_linux.sh

Did you get any further with your build? Mine is failing on what looks like proprietary Id code: (What's interesting is that it fails at the same place when compiling with clang instead of gcc, it's like the code itself is actually broken, I wonder if the author has compiled successfully on linux recently?)


[ 11%] Built target idlib
[ 11%] Building CXX object neo/game/CMakeFiles/fhGame-x86.dir/Actor.cpp.o
In file included from /aux/fhDOOM-master/neo/game/Game_local.h:93:0,
                 from /aux/fhDOOM-master/neo/game/Actor.cpp:32:
/aux/fhDOOM-master/neo/game/gamesys/Class.h:60:2: error: 'intptr_t' does not name a type
  intptr_t value;
  ^~~~~~~~
/aux/fhDOOM-master/neo/game/gamesys/Class.h: In constructor 'idEventArg::idEventArg()':
/aux/fhDOOM-master/neo/game/gamesys/Class.h:62:48: error: 'value' was not declared in this scope
  idEventArg()        { type = D_EVENT_INTEGER; value = 0; };
                                                ^~~~~
/aux/fhDOOM-master/neo/game/gamesys/Class.h: In constructor 'idEventArg::idEventArg(int)':
/aux/fhDOOM-master/neo/game/gamesys/Class.h:63:56: error: 'value' was not declared in this scope
  idEventArg( int data )      { type = D_EVENT_INTEGER; value = data; };
                                                        ^~~~~
/aux/fhDOOM-master/neo/game/gamesys/Class.h: In constructor 'idEventArg::idEventArg(float)':
/aux/fhDOOM-master/neo/game/gamesys/Class.h:64:55: error: 'value' was not declared in this scope
  idEventArg( float data )     { type = D_EVENT_FLOAT; value = *reinterpret_cast<int *>( &data ); };

MamiyaOtaru pushed a commit to MamiyaOtaru/fhDOOM that referenced this issue Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants