OpenTechEngine / Discussions

The issues of this project are abused as a discussion forum for Open Tech
4 stars 0 forks source link

I added a pull request and a patch that might come in handy #12

Open BielBdeLuna opened 8 years ago

BielBdeLuna commented 8 years ago

I defaulted the cvar fs_resourceLoadPriority to 0 so it makes it easier to mod the engine: https://github.com/RobertBeckebans/RBDOOM-3-BFG/pull/241

I also added this as a patch for OTE: https://github.com/OpenTechEngine/OpenTechBFG/pull/79

and I added an explanation for compiling in linux: https://github.com/OpenTechEngine/OpenTechBFG/pull/77

what do you think?

ghost commented 8 years ago

fs_resourceLoadPriority will come in handy.

However I still have issues on linux, I'm using Lubuntu 64-bit, not sure if i' doing something wrong. Getting similar messages from the other sh files.

Here is the terminal output:

tiaan@yocto-intel:~/OpenTechBFG/scripts$ sh cmake-linux-release.sh -- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- CMAKE_BUILD_TYPE:Release -- CMAKE_BUILD_TYPE:Release -- CMAKE_BUILD_TYPE:Release -- CMAKE_BUILD_TYPE:Release -- CMAKE_BUILD_TYPE:Release CMake Error at libs/cegui/CMakeLists.txt:124 (add_subdirectory): The source directory

/home/tiaan/OpenTechBFG/libs/cegui/CEGUI.git

does not contain a CMakeLists.txt file.

-- CMAKE_BUILD_TYPE:Release -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found SDL: /usr/lib/x86_64-linux-gnu/libSDLmain.a;/usr/lib/x86_64-linux-gnu/libSDL.so;-lpthread (found version "1.2.15") -- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
-- Configuring incomplete, errors occurred! See also "/home/tiaan/OpenTechBFG/build/CMakeFiles/CMakeOutput.log". See also "/home/tiaan/OpenTechBFG/build/CMakeFiles/CMakeError.log".

kortemik commented 8 years ago

/home/tiaan/OpenTechBFG/libs/cegui/CEGUI.git

does not contain a CMakeLists.txt file.

means you didn't run:

git submodule init

git submodule update

On Fri, Aug 21, 2015 at 2:14 AM, Yetta1 notifications@github.com wrote:

fs_resourceLoadPriority will come in handy.

However I still have issues on linux, I'm using Lubuntu 64-bit, not sure if i' doing something wrong. Getting similar messages from the other sh files.

Here is the terminal output:

tiaan@yocto-intel:~/OpenTechBFG/scripts$ sh cmake-linux-release.sh -- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- CMAKE_BUILD_TYPE:Release -- CMAKE_BUILD_TYPE:Release -- CMAKE_BUILD_TYPE:Release -- CMAKE_BUILD_TYPE:Release -- CMAKE_BUILD_TYPE:Release CMake Error at libs/cegui/CMakeLists.txt:124 (add_subdirectory): The source directory

/home/tiaan/OpenTechBFG/libs/cegui/CEGUI.git

does not contain a CMakeLists.txt file.

-- CMAKE_BUILD_TYPE:Release -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so -- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so

-- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE

-- Found SDL: /usr/lib/x86_64-linux-gnu/libSDLmain.a;/usr/lib/x86_64-linux-gnu/libSDL.so;-lpthread (found version "1.2.15") -- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so

-- Configuring incomplete, errors occurred! See also "/home/tiaan/OpenTechBFG/build/CMakeFiles/CMakeOutput.log". See also "/home/tiaan/OpenTechBFG/build/CMakeFiles/CMakeError.log".

— Reply to this email directly or view it on GitHub https://github.com/OpenTechEngine/Discussions/issues/12#issuecomment-133208817 .

ghost commented 8 years ago

@kortemik Thank you, I did use those commands, however I never did it in the OTE path, which is why it failed. It's working now.