i tried the whole thing over again in case forgot sudo somewhere or something.. but this time it failed here:
Code:
user@Ubuntu01:~/ror-codehg$ cmake -DROR_USE_MYGUI="TRUE" \
> -DROR_USE_OPENAL="TRUE" \
> -DROR_USE_LUA="TRUE" \
> -DROR_USE_SOCKETW="TRUE" \
> -DROR_USE_MOFILEREADER="TRUE" \
> -DROR_USE_PAGED="TRUE" \
> -DROR_USE_CAELUM="TRUE" \
> -DROR_USE_ANGELSCRIPT="TRUE" .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- checking for module 'gtk+-2.0'
-- found gtk+-2.0, version 2.24.10
-- checking for module 'gdk-pixbuf-2.0'
-- found gdk-pixbuf-2.0, version 2.26.1
-- checking for module 'OGRE'
-- found OGRE, version 1.7.4
-- checking for module 'OGRE-Terrain'
-- found OGRE-Terrain, version 1.7.4
-- checking for module 'OGRE-Paging'
-- found OGRE-Paging, version 1.7.4
-- checking for module 'OGRE-RTShaderSystem'
-- found OGRE-RTShaderSystem, version 1.7.4
-- checking for module 'OIS'
-- found OIS, version 1.3.0
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
-- checking for module 'MYGUI'
-- found MYGUI, version 3.2.0
-- MYGUI Enabled: YES
-- MYGUI_INCLUDE_DIRS: /usr/local/include;/usr/local/include/MYGUI
-- MYGUI_LIBRARY_DIRS: /usr/local/lib
-- MYGUI_LIBRARIES: MyGUIEngine;/usr/local/lib/libMyGUI.OgrePlatform.a
-- OPENAL Enabled: YES
-- OPENAL_INCLUDE_DIRS: /usr/include/AL
-- OPENAL_LIBRARY_DIRS:
-- OPENAL_LIBRARIES: /usr/lib/x86_64-linux-gnu/libopenal.so
-- CURL Enabled: NO
-- SOCKETW Enabled: NO
-- PAGED Enabled: YES
-- PAGED_INCLUDE_DIRS: /usr/local/include;/usr/local/include/PagedGeometry
-- PAGED_LIBRARY_DIRS:
-- PAGED_LIBRARIES: /usr/local/lib/libPagedGeometry.a
-- CAELUM Enabled: YES
-- CAELUM_INCLUDE_DIRS: /usr/local/include/Caelum
-- CAELUM_LIBRARY_DIRS:
-- CAELUM_LIBRARIES: /usr/local/lib/libCaelum.so
-- ANGELSCRIPT Enabled: YES
-- ANGELSCRIPT_INCLUDE_DIRS: /usr/local/include;/home/user/ror-codehg/source/angelscript_addons
-- ANGELSCRIPT_LIBRARY_DIRS:
-- ANGELSCRIPT_LIBRARIES: /usr/local/lib/libangelscript.so
-- Found wxWidgets: TRUE
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
ROR_USE_LUA
ROR_USE_MOFILEREADER
-- Build files have been written to: /home/user/ror-codehg
user@Ubuntu01:~/ror-codehg$
user@Ubuntu01:~/ror-codehg$ make
Scanning dependencies of target angelscript_addons
[ 0%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptfile/scriptfile.cpp.o
[ 1%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/contextmgr/contextmgr.cpp.o
[ 1%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/serializer/serializer.cpp.o
[ 2%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptmath/scriptmath.cpp.o
[ 3%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptmath/scriptmathcomplex.cpp.o
[ 3%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptmath3d/scriptmath3d.cpp.o
[ 4%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/autowrapper/generator/generateheader.cpp.o
[ 4%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptdictionary/scriptdictionary.cpp.o
[ 5%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scripthelper/scripthelper.cpp.o
[ 5%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/debugger/debugger.cpp.o
[ 6%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scripthandle/scripthandle.cpp.o
[ 6%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptany/scriptany.cpp.o
[ 7%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptstdstring/scriptstdstring.cpp.o
[ 7%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptstdstring/scriptstdstring_utils.cpp.o
[ 8%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptbuilder/scriptbuilder.cpp.o
[ 8%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptstring/scriptstring.cpp.o
[ 9%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptstring/scriptstring_utils.cpp.o
[ 10%] Building CXX object source/angelscript_addons/CMakeFiles/angelscript_addons.dir/scriptarray/scriptarray.cpp.o
Linking CXX static library ../../bin/libangelscript_addons.a
[ 10%] Built target angelscript_addons
Scanning dependencies of target RoR
[ 10%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/audio/SoundScriptManager.cpp.o
[ 11%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/audio/Sound.cpp.o
[ 11%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/audio/SoundManager.cpp.o
[ 12%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/AutoPilot.cpp.o
[ 12%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/BeamEngine.cpp.o
[ 13%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/PlayerColours.cpp.o
[ 13%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/Skin.cpp.o
[ 14%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/MaterialReplacer.cpp.o
[ 14%] Building CXX object source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/ChatSystem.cpp.o
/home/user/ror-codehg/source/main/gameplay/ChatSystem.cpp: In member function ‘virtual void ChatSystem::receiveStreamData(unsigned int&, int&, unsigned int&, char*, unsigned int&)’:
/home/user/ror-codehg/source/main/gameplay/ChatSystem.cpp:176:42: error: invalid use of incomplete type ‘struct Network’
/home/user/ror-codehg/source/main/GlobalEnvironment.h:28:7: error: forward declaration of ‘struct Network’
/home/user/ror-codehg/source/main/gameplay/ChatSystem.cpp:179:33: error: invalid use of incomplete type ‘struct Network’
/home/user/ror-codehg/source/main/GlobalEnvironment.h:28:7: error: forward declaration of ‘struct Network’
make[2]: *** [source/main/main_sim/CMakeFiles/RoR.dir/__/gameplay/ChatSystem.cpp.o] Error 1
make[1]: *** [source/main/main_sim/CMakeFiles/RoR.dir/all] Error 2
make: *** [all] Error 2
what is failing??
EDIT:
are you sure libssl-dev gives you my socketw support?
Code:
> -DROR_USE_OPENAL="TRUE" \
> -DROR_USE_LUA="TRUE" \
> -DROR_USE_SOCKETW="TRUE" \
> -DROR_USE_MOFILEREADER="TRUE" \
> -DROR_USE_PAGED="TRUE" \
> -DROR_USE_CAELUM="TRUE" \
> -DROR_USE_ANGELSCRIPT="TRUE" .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- checking for module 'gtk+-2.0'
-- found gtk+-2.0, version 2.24.10
-- checking for module 'gdk-pixbuf-2.0'
-- found gdk-pixbuf-2.0, version 2.26.1
-- checking for module 'OGRE'
-- found OGRE, version 1.7.4
-- checking for module 'OGRE-Terrain'
-- found OGRE-Terrain, version 1.7.4
-- checking for module 'OGRE-Paging'
-- found OGRE-Paging, version 1.7.4
-- checking for module 'OGRE-RTShaderSystem'
-- found OGRE-RTShaderSystem, version 1.7.4
-- checking for module 'OIS'
-- found OIS, version 1.3.0
-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
-- checking for module 'MYGUI'
-- found MYGUI, version 3.2.0
-- MYGUI Enabled: YES
-- MYGUI_INCLUDE_DIRS: /usr/local/include;/usr/local/include/MYGUI
-- MYGUI_LIBRARY_DIRS: /usr/local/lib
-- MYGUI_LIBRARIES: MyGUIEngine;/usr/local/lib/libMyGUI.OgrePlatform.a
-- OPENAL Enabled: YES
-- OPENAL_INCLUDE_DIRS: /usr/include/AL
-- OPENAL_LIBRARY_DIRS:
-- OPENAL_LIBRARIES: /usr/lib/x86_64-linux-gnu/libopenal.so
-- CURL Enabled: NO
-- SOCKETW Enabled: NO
-- PAGED Enabled: YES
-- PAGED_INCLUDE_DIRS: /usr/local/include;/usr/local/include/PagedGeometry
-- PAGED_LIBRARY_DIRS:
-- PAGED_LIBRARIES: /usr/local/lib/libPagedGeometry.a
-- CAELUM Enabled: YES
-- CAELUM_INCLUDE_DIRS: /usr/local/include/Caelum
-- CAELUM_LIBRARY_DIRS:
-- CAELUM_LIBRARIES: /usr/local/lib/libCaelum.so
-- ANGELSCRIPT Enabled: YES
-- ANGELSCRIPT_INCLUDE_DIRS: /usr/local/include;/home/user/ror-codehg/source/angelscript_addons
-- ANGELSCRIPT_LIBRARY_DIRS:
-- ANGELSCRIPT_LIBRARIES: /usr/local/lib/libangelscript.so
-- Found wxWidgets: TRUE
libssl-dev installed..
MySocketW
NOTE: You have to install the OpenSSL development package before you compile. In Ubuntu and Debian run sudo apt-get install libssl-dev
, in CentOS run yum install libssl-dev
. This needs another patch
Media:Socketw.patch to fix socketw for newer compilers
wget
http://www.digitalfanatics.org/cal/s...W031026.tar.gz -O SocketW031026.tar.gz tar xzf SocketW031026.tar.gz cd SocketW031026/ wget
http://wiki.rigsofrods.com/images/c/c0/Socketw.patch -O Socketw.patch patch -p0 -d src < Socketw.patch rm Socketw.patch make -j2 --silent shared sudo make install cd ..
since there is no uninstall script run this to remove SocketW
sudo rm /usr/local/lib/libSocketW* sudo rm /usr/local/include/SocketW.h sudo rm /usr/local/include/sw_*.h
maybe they mean you have to install openssl AND compile mysocketw?
hmm..
going to try that..
EDIT 2:
[100%] Built target RoRConfig
[ 97%] Built target RoR
but when i run rorconfig, i get a dialogue box saying:
Unable to load the render systems. Please check if all required files are there and the plugins.cfg file is correct.
This is a fatal error and the game will not start.
in plugins.cfg, it says:
# Defines plugins to load
# Define plugin folder
PluginFolder=/usr/local/lib/OGRE/
# Define plugins
Plugin=RenderSystem_Direct3D9
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Plugin=Plugin_OctreeSceneManager
Plugin=Plugin_CgProgramManager
Plugin=libCaelum.so
however, there IS no OGRE directory in /usr/share/local/
should i create it?
Bookmarks