HaveF / opennero

Automatically exported from code.google.com/p/opennero
Other
0 stars 0 forks source link

starting OpenNERO produces no output #140

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What are you trying to do?
Run either OpenNero or Nero2.0 on ubuntu 12.04

Where have you done to produce desired result?
 I've followed the steps to install OpenNero at: https://code.google.com/p/opennero/wiki/BuildingOpenNero
7. make - make: *** No targets specified and no makefile found.  Stop.
8. cd dist - no directory called dist

What is the expected output? What do you see instead?
Expected: Open program or display error
Instead: Absolutely nothing

What version of the product are you using? On what operating system?
OpenNERO-2011-12-14-x86_64 on Ubuntu 12.04

Please provide any additional information below.

I got all of the packages installed.  When asked to choose one of two i chose  
libgl1-mesa-dev.

Is there something i need to compile it in python or open cmake before running 
the program?

Original issue reported on code.google.com by thevana...@gmail.com on 7 Jul 2012 at 12:42

GoogleCodeExporter commented 9 years ago
Assuming the cmake was successful, it sounds like you're in the wrong directory 
either when you tried make or when you ran cmake. You should also double-check 
the output from cmake.

If all else fails, you could download the precompiled package from the download 
section.

Original comment by hjalmarn...@gmail.com on 8 Jul 2012 at 5:45

GoogleCodeExporter commented 9 years ago
I have tried the precompiled package: OpenNERO-2011-12-14-x86_64; opening the 
file does nothing... no response from computer, no error, nothing. It is set to 
open as an executable. 

Per the instructions, i switched to the build-of-trunk directory, then 
commanded cmake ../trunk, then make.  Error above was received. I'm sure there 
is something i need to add because there was "No targets specified and no 
makefile found.  Stop."
e

Getting either of these to work (precompiled or not) would be great. 

Original comment by thevana...@gmail.com on 11 Jul 2012 at 12:44

GoogleCodeExporter commented 9 years ago
Hello,

I am not surprised that the rather old precompiled executable doesn't work - it 
is a bit surprising that there is no output at all. When you say "open the 
file" do you mean double clicking on the executable? If so, could you try to 
open Terminal, change to the directory with the opennero executable, and run:

./OpenNERO

You should then at least get some text error.

Another way to see what happened would be to check the contents of 
~/.opennero/nero_log.txt file.

As for compilation, please confirm that after running cmake, a Makefile was 
generated? If not, cmake should have reported some problem with the process...

Original comment by ikarpov on 11 Jul 2012 at 4:26

GoogleCodeExporter commented 9 years ago
Yes "Open the file" means running executable.  Apologies for the confusion. 
Opened terminal and typed ./OpenNERO as suggested, received text output 
"./OpenNERO: error while loading shared libraries: libpython 2.6.so.1.0: cannot 
open shared object file: No such file or directory.  

I am unsure if there was an issue with the CMake process.  I will try the 
process again... hopefully i can get the computer back to a "from scratch" 
state before i make this attempt.

Original comment by thevana...@gmail.com on 17 Sep 2012 at 1:01

GoogleCodeExporter commented 9 years ago
CMake worked !!
Proceeded to make, achieved 77 percent completion and received this error:

[ 77%] Building C object 
external/source/Irrlicht/CMakeFiles/Irrlicht.dir/lzma/LzmaDec.c.o
Linking CXX shared library ../../../dist/libIrrlicht.so
/usr/bin/ld: ../../../dist/libpng.a(png.c.o): relocation R_X86_64_32 against 
`.rodata.str1.8' can not be used when making a shared object; recompile with 
-fPIC
../../../dist/libpng.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [dist/libIrrlicht.so] Error 1
make[1]: *** [external/source/Irrlicht/CMakeFiles/Irrlicht.dir/all] Error 2
make: *** [all] Error 2

Original comment by thevana...@gmail.com on 19 Sep 2012 at 1:38

GoogleCodeExporter commented 9 years ago
This looks like it was actually the same problem with building on x64 as issue 
#83. Marking as duplicate.

Original comment by ikarpov on 1 Sep 2013 at 7:13