Closed vido89 closed 6 years ago
did you run make zip_and_copy_resources
after make
?
No I did not, but now I did and I'v got this
make zip_and_copy_resources
make: *** No rule to make target 'zip_and_copy_resources'. Stop.
and after that I run this
$ ninja zip_and_copy_resources [1/1] Zip and copy resources to build directory
./bin/RoRConfig
19:39:46: log started
19:39:46: searching languages in languages
19:39:46: no Languages found!
19:39:46: preferred language: English (U.S.)
19:39:46: lang file: languages/en/LC_MESSAGES/ror.mo
19:39:46: language not existing, no lang_locale support!
19:39:46: Creating dialog
19:39:46: Known Audio Devices:
19:39:46: *ALSA Default
19:39:46: *HDA Intel, ALC883 Analog (CARD=Intel,DEV=0)
19:39:46: *HDA Intel, ALC883 Digital (CARD=Intel,DEV=1)
19:39:46: *HDA NVidia, HDMI 0 (CARD=NVidia,DEV=3)
19:39:46: *HDA NVidia, HDMI 1 (CARD=NVidia,DEV=7)
19:39:46: Sound Extensions:
19:39:46: Setting default values
19:39:46: Loading config
19:39:46: Loading RoR.cfg
19:39:46: reading from Config file: /home/slobodan/.rigsofrods//config/RoR.cfg
19:39:46: Creating Ogre root
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
ArchiveFactory for archive type EmbeddedZip registered.
DDS codec registering
FreeImage version: 3.17.0
This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,sgi,rgb,rgba,bw,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti,x3f,webp,jxr,wdp,hdp
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
*-*-* OGRE Initialising
*-*-* Version 1.9.0 (Ghadamon)
Loading library ./RenderSystem_GL
19:39:46: failed to load plugin: ./RenderSystem_GL: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library ./RenderSystem_GL. System Error: ./RenderSystem_GL.so.1.9.0: cannot open shared object file: No such file or directory in DynLib::load at /home/conan/.conan/data/OGRE/1.9.1/anotherfoxguy/stable/build/90ee443cae5dd5c1b4861766ac14dc6fae231a92/OgreMain/src/OgreDynLib.cpp (line 109)
Loading library ./Plugin_ParticleFX
19:39:46: failed to load plugin: ./Plugin_ParticleFX: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library ./Plugin_ParticleFX. System Error: ./Plugin_ParticleFX.so.1.9.0: cannot open shared object file: No such file or directory in DynLib::load at /home/conan/.conan/data/OGRE/1.9.1/anotherfoxguy/stable/build/90ee443cae5dd5c1b4861766ac14dc6fae231a92/OgreMain/src/OgreDynLib.cpp (line 109)
Loading library ./Plugin_OctreeSceneManager
19:39:46: failed to load plugin: ./Plugin_OctreeSceneManager: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library ./Plugin_OctreeSceneManager. System Error: ./Plugin_OctreeSceneManager.so.1.9.0: cannot open shared object file: No such file or directory in DynLib::load at /home/conan/.conan/data/OGRE/1.9.1/anotherfoxguy/stable/build/90ee443cae5dd5c1b4861766ac14dc6fae231a92/OgreMain/src/OgreDynLib.cpp (line 109)
Loading library ./Plugin_CgProgramManager
19:39:46: failed to load plugin: ./Plugin_CgProgramManager: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library ./Plugin_CgProgramManager. System Error: ./Plugin_CgProgramManager.so.1.9.0: cannot open shared object file: No such file or directory in DynLib::load at /home/conan/.conan/data/OGRE/1.9.1/anotherfoxguy/stable/build/90ee443cae5dd5c1b4861766ac14dc6fae231a92/OgreMain/src/OgreDynLib.cpp (line 109)
19:39:46: Root restore config
19:39:48: Showing dialog
19:39:48: App ready
Segmentation fault (core dumped)
do you have nvidia-cg-toolkit installed?
actually post your plugins.cfg
sudo apt-get install nvidia-cg-toolkit
[sudo] password for slobodan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-cg-toolkit is already the newest version (3.1.0013-2).
The following package was automatically installed and is no longer required:
cmake-data
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
plugins.cfg is probably wrong
$ cat ./bin/plugins.cfg
PluginFolder=.
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX Plugin=Plugin_OctreeSceneManager Plugin=Plugin_CgProgramManage
ok conan voodoo stuff, @AnotherFoxGuy help
https://anotherfoxguy.itch.io/rigs-of-rods doesn't work for you?
@vido89 where is RenderSystem_GL.so
located?
I build ror-depencendies with:
cmake -DCMAKE_BUILD_TYPE=Release ./
make -j32
and then rigs-of-rods with:
cmake -DCMAKE_PREFIX_PATH=~/ror-dependencies/Dependencies_Linux/ -DCMAKE_BUILD_TYPE=Release ./
make -j32
make zip_and_copy_resources
@vido89 Did you try running conan with conan install --build=missing -u
?
@vido89 where is
RenderSystem_GL.so
located?
/home/slobodan/rigs-of-rods/bin/RenderSystem_GL.so
maybe try PluginFolder=/home/slobodan/rigs-of-rods/bin/
in plugins.cfg
@vido89 Did you try running conan with
conan install --build=missing -u
?
conan install --build=missing -u
usage: conan install [-h] [-g GENERATOR] [-if INSTALL_FOLDER] [-m [MANIFESTS]]
[-mi [MANIFESTS_INTERACTIVE]] [-v [VERIFY]]
[--no-imports] [-j JSON] [-b [BUILD]] [-e ENV]
[-o OPTIONS] [-pr PROFILE] [-r REMOTE] [-s SETTINGS] [-u]
path_or_reference
conan install: error: the following arguments are required: path_or_reference
ERROR: Exiting with code: 2
maybe try
PluginFolder=/home/slobodan/rigs-of-rods/bin/
in plugins.cfg
Yup that was it it WORKS, its amazing :) Tnx guys
I'v just compiled RoR but cant run it, I did first run RoRConfig RoR.log