2015-12-22, 15:14
Hi,
I'm attempting to compile latest Kodi on RPi 2015-05-05-raspbian-wheezy. I'm following instructions at: https://github.com/xbmc/xbmc/blob/master...aspberrypi, section 2, "Building Kodi for the Raspberry Pi", step: "$ make"
I'm getting error:
The log file shows two errors:
Is it linking error? Is somewhere "-lstdc++" forgotten? How can I add it?
And another error:
that iostream.h header file is not found. And yes, as far as I see, there is no such file on my system. (Actually, I'm surprised that cmake-native attempts to identify presence of the C++ compiler this way, but OK). Yes, I have g++ & gcc. Both are g++ (Raspbian 4.8.2-21~rpi3rpi1) 4.8.2
What's wrong?
P.S. I'm new to Linux world...
I'm attempting to compile latest Kodi on RPi 2015-05-05-raspbian-wheezy. I'm following instructions at: https://github.com/xbmc/xbmc/blob/master...aspberrypi, section 2, "Building Kodi for the Raspberry Pi", step: "$ make"
I'm getting error:
Quote:...
make[3]: Leaving directory '/home/pi/xbmc/tools/depends/native/yasm-native/i686-linux-native'
make[2]: Leaving directory '/home/pi/xbmc/tools/depends/native/yasm-native'
make -C cmake-native
make[2]: Entering directory '/home/pi/xbmc/tools/depends/native/cmake-native'
make -C i686-linux-native
make[3]: Entering directory '/home/pi/xbmc/tools/depends/native/cmake-native/i686-linux-native'
make[3]: *** No targets specified and no makefile found. Stop.
make[3]: Leaving directory '/home/pi/xbmc/tools/depends/native/cmake-native/i686-linux-native'
Makefile:37: recipe for target 'i686-linux-native/bin/cmake' failed
make[2]: *** [i686-linux-native/bin/cmake] Error 2
make[2]: Leaving directory '/home/pi/xbmc/tools/depends/native/cmake-native'
Makefile:48: recipe for target 'cmake-native' failed
make[1]: *** [cmake-native] Error 2
make[1]: Leaving directory '/home/pi/xbmc/tools/depends/native'
Makefile:8: recipe for target 'native/.installed-i686-linux-native' failed
make: *** [native/.installed-i686-linux-native] Error 2
The log file shows two errors:
Quote:...
------------------------------------------
/tmp/cc6PA4ti.o: In function `main':
cmake_bootstrap_5388_test.cxx.text+0x30): undefined reference to `std::ostream::operator<<(int)'
cmake_bootstrap_5388_test.cxx.text+0x40): undefined reference to `std::ostream::operator<<(std::ostream& (*)(std::ostream&))'
cmake_bootstrap_5388_test.cxx.text+0x54): undefined reference to `std::cout'
...
Is it linking error? Is somewhere "-lstdc++" forgotten? How can I add it?
And another error:
Quote:...
------------------------------------------
cmake_bootstrap_5388_test.cxx:5:23: fatal error: iostream.h: No such file or directory
# include <iostream.h>
^
compilation terminated.
that iostream.h header file is not found. And yes, as far as I see, there is no such file on my system. (Actually, I'm surprised that cmake-native attempts to identify presence of the C++ compiler this way, but OK). Yes, I have g++ & gcc. Both are g++ (Raspbian 4.8.2-21~rpi3rpi1) 4.8.2
What's wrong?
P.S. I'm new to Linux world...