Installation with theora enabled - Fixed (nearly)

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
vovim
Posts: 5
Joined: 04.10.2009
With us: 15 years 4 months

Installation with theora enabled - Fixed (nearly)

Post #1by vovim » 04.10.2009, 14:44

When I try to install celestia 1.6.0 on x86_64 slackware 13 I get the following errors:

oggtheoracapture.o: In function `OggTheoraCapture::cleanup()':
oggtheoracapture.cpp:(.text+0x229): undefined reference to `theora_encode_YUVin'
oggtheoracapture.cpp:(.text+0x239): undefined reference to `theora_encode_packetout'
oggtheoracapture.cpp:(.text+0x244): undefined reference to `ogg_stream_packetin'
oggtheoracapture.cpp:(.text+0x2aa): undefined reference to `ogg_stream_pageout'
oggtheoracapture.cpp:(.text+0x2b9): undefined reference to `ogg_stream_flush'
oggtheoracapture.cpp:(.text+0x310): undefined reference to `theora_clear'
oggtheoracapture.cpp:(.text+0x318): undefined reference to `ogg_stream_clear'
oggtheoracapture.o: In function `OggTheoraCapture::captureFrame()':
oggtheoracapture.cpp:(.text+0x472): undefined reference to `ogg_stream_pageout'
oggtheoracapture.cpp:(.text+0x47e): undefined reference to `ogg_stream_eos'
oggtheoracapture.cpp:(.text+0x742): undefined reference to `theora_encode_YUVin'
oggtheoracapture.cpp:(.text+0x74f): undefined reference to `theora_encode_packetout'
oggtheoracapture.cpp:(.text+0x75a): undefined reference to `ogg_stream_packetin'
oggtheoracapture.o: In function `OggTheoraCapture::start(std::basic_string<char, std::char_traits<char>, std::allocator<char>const&, int, int, float)':
oggtheoracapture.cpp:(.text+0xb8e): undefined reference to `ogg_stream_init'
oggtheoracapture.cpp:(.text+0xc3e): undefined reference to `theora_info_init'
oggtheoracapture.cpp:(.text+0xd39): undefined reference to `theora_encode_init'
oggtheoracapture.cpp:(.text+0xd41): undefined reference to `theora_info_clear'
oggtheoracapture.cpp:(.text+0xd4c): undefined reference to `theora_encode_header'
oggtheoracapture.cpp:(.text+0xd57): undefined reference to `ogg_stream_packetin'
oggtheoracapture.cpp:(.text+0xd62): undefined reference to `ogg_stream_pageout'
oggtheoracapture.cpp:(.text+0xe87): undefined reference to `theora_comment_init'
oggtheoracapture.cpp:(.text+0xe92): undefined reference to `theora_encode_comment'
oggtheoracapture.cpp:(.text+0xe9a): undefined reference to `theora_comment_clear'
oggtheoracapture.cpp:(.text+0xea5): undefined reference to `ogg_stream_packetin'
oggtheoracapture.cpp:(.text+0xeb0): undefined reference to `theora_encode_tables'
oggtheoracapture.cpp:(.text+0xebb): undefined reference to `ogg_stream_packetin'
oggtheoracapture.cpp:(.text+0xf13): undefined reference to `ogg_stream_flush'
collect2: ld returned 1 exit status
make[4]: *** [celestia] Error 1
make[4]: Leaving directory `/home/david/prog_temp/tmp/celestia-1.6.0/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/david/prog_temp/tmp/celestia-1.6.0/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/david/prog_temp/tmp/celestia-1.6.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/david/prog_temp/tmp/celestia-1.6.0'
make: *** [all] Error 2 :(

Any help in solving this problem would be greatly appreciated.

Thanks.
Last edited by vovim on 10.10.2009, 12:21, edited 1 time in total.

Avatar
John Van Vliet
Posts: 2948
Joined: 28.08.2002
With us: 22 years 5 months

Re: Installation with theora enabled

Post #2by John Van Vliet » 05.10.2009, 05:44

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 01:15, edited 1 time in total.

duds26
Posts: 328
Joined: 05.02.2007
Age: 35
With us: 18 years
Location: Europe

Re: Installation with theora enabled

Post #3by duds26 » 09.10.2009, 15:04

Looks like libtheora isn't present.
You will need to install that.
If you do have that, try to get the version 1.0 if it's 1.1,
it shouldn't have issues but you never know.
Do try to use 1.1 if possible.

Topic author
vovim
Posts: 5
Joined: 04.10.2009
With us: 15 years 4 months

Re: Installation with theora enabled

Post #4by vovim » 10.10.2009, 12:20

Hi, Sorry for the delay in replying.
This is fixed. Well nearly fixed.
I was trying to use theora with the glut interface because I could not get Celestia to compile with KDE or GTK. I then read in the changelog that theora capture is only available with KDE or GTK. I installed the missing GTK package and it then installed O.K. (including theora).
It will not run very well under KDE 4 with Desktop Effects enabled, but with Desktop Effects disabled it runs O.K.
However when I exit Celestia then any application that I open afterwards has weird colours. I need to exit from KDE and restart it.
Does anybody have any ideas on fixing those weird colours after Celestia has exited ?

Thanks.

Avatar
John Van Vliet
Posts: 2948
Joined: 28.08.2002
With us: 22 years 5 months

Re: Installation with theora enabled - Fixed (nearly)

Post #5by John Van Vliet » 10.10.2009, 20:07

--- edit ---
Last edited by John Van Vliet on 21.10.2013, 01:12, edited 1 time in total.

Topic author
vovim
Posts: 5
Joined: 04.10.2009
With us: 15 years 4 months

Re: Installation with theora enabled - Fixed (nearly)

Post #6by vovim » 28.11.2009, 14:27

Hi, Sorry for the delay in replying. I was installing multilib so that I can compile and run 32 bit software on this 64 bit OS. However I can't compile celestia as 32 bit !
I am therefore still having problems with the strange colours. A few applications, however are immune from this behaviour. They are dolphin (File Manager), and Thunderbird. I have also noticed that if I click on the background the colours return to normal until I click in the application again when they go weird again.
Also I am not using compiz. Just strightforward KDE4.
Here is a screenshot of the weird colours as requested.

Avatar
John Van Vliet
Posts: 2948
Joined: 28.08.2002
With us: 22 years 5 months

Re: Installation with theora enabled - Fixed (nearly)

Post #7by John Van Vliet » 05.12.2009, 01:43

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:27, edited 1 time in total.

Topic author
vovim
Posts: 5
Joined: 04.10.2009
With us: 15 years 4 months

Re: Installation with theora enabled - Fixed (nearly)

Post #8by vovim » 07.12.2009, 17:29

No, not fixed yet. I have tried both the default vesa driver and the X11 radeon driver.

Also another problem:
When I try to use lua_edu_tools I get a segmentation fault in celestia just after the splash screen shows.
I installed lua and protea audio but to get protea-audio to work I had to compile both protea audio and lua with -fPIC.

Do you think that all my woes are because I am trying to build this on a 64 bit machine ?

Avatar
John Van Vliet
Posts: 2948
Joined: 28.08.2002
With us: 22 years 5 months

Re: Installation with theora enabled - Fixed (nearly)

Post #9by John Van Vliet » 08.12.2009, 05:09

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:25, edited 1 time in total.

Topic author
vovim
Posts: 5
Joined: 04.10.2009
With us: 15 years 4 months

Re: Installation with theora enabled - Fixed (nearly)

Post #10by vovim » 13.12.2009, 12:08

Hi, I've got the weird colours sorted out. I just needed the following line in the Device section of my xorg.conf file.
Option "AccelMethod" "exa"
However I still have the segmentation fault when I try to use the lua_edu_tools.
And the dialog boxes for "Capture Image" and "Capture Movie" do not work (some of the directory icons are missing and the "Save" button does not close the dialog box.
I am going to return to a 32 bit OS.
My conclusion is that Celestia is NOT ready for 64 bit.


Return to “Help Central”