World Wind Forums

Go Back   World Wind Forums > WorldWind .Net Development > Ports

Ports Porting World Wind to different platforms.

Reply
 
Thread Tools Display Modes
Old 08-21-2005, 03:12 PM   #21
GrahamUK
Guest
 
Posts: n/a
Default

The linux download links are down, anyone know anything about the linux status?


Quote:
Originally posted by Baptiste@Aug 20 2005, 03:22 PM
Pronvit,
yes, at every startup, the top right corner stays white, The map is otherwise normal, it is redrawn if it has been hidden, and responds to the mouse but not to the + key. On the contrary, the menu is not responsive, and not redrawn if hidden. Moving the map with the mouse unblocks the menu, but the top right corner stays white.
I won't be available tomorrow and monday, but probably sometime next week I can give another look at that.

Nate,
I just looked for the latest versions of all dependencies, by searching the package list and reading the descriptions. The package names are mostly the same in Debian and Ubuntu, so if you had used Breezy, you could just apt-get them. As you use Hoary, you can only have earlier versions of those packages, so our experiences do not compare.
As for the installation of the binary, it should not make any difference as long as the Data, Config, etc dirs are present. By the way, why do you try the compile in the chroot ? Is there any reason that it can't work in 64 bit ?

Cheers,
B.
  Reply With Quote
Old 08-21-2005, 07:18 PM   #22
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

they'll be online again tomorrow..
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 08-21-2005, 10:23 PM   #23
Neo3DGfx
Junior Member
 
Join Date: Aug 2005
Posts: 4
Neo3DGfx
Default

Hello,

I downloaded the Windows binary, and it installs and runs perfectly, excecpt that I'm on a laptop, and can't figure out how to zoom in, and all I see is white blocks. (See attachment)

The older version seemed to work slightly, but I recived about fifty dialog error boxes. I'll have to see what they say.

BTW, my system is a Dell Latitude CPx, PIII 500, 600, or 700MHz, 128MB Memory, Windows XP Pro SP1, and a ATI Rage Mobility AGP 2X.
Attached Images
File Type: jpg WW2D_01.JPG (24.7 KB, 343 views)
Neo3DGfx is offline   Reply With Quote
Old 08-22-2005, 05:57 PM   #24
nate
Junior Member
 
Join Date: Aug 2005
Posts: 8
nate
Default

Quote:
Originally posted by Baptiste@Aug 20 2005, 06:22 PM
By the way, why do you try the compile in the chroot ? Is there any reason that it can't work in 64 bit ?
Because it is being developed in 32bit. There could very well be some 64/32 bit bugs; at least this way I only have to worry about making it work like the developer's system.

But I can also assure you from my experiences with Ubuntu backports that no matter which arch you try first, whenever there is a problem some people will insist it could be solved by switching to the other arch. In that sense, it's a no-win situation. As it is, I think it far easier to get it working on 32bit as a baseline, then tackle 64bit.

As for the packages, I can get the breezy packages; that's no problem.

N
nate is offline   Reply With Quote
Old 08-23-2005, 08:55 PM   #25
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

I updated my site with new packages for 0.99.5 containing all bug fixes from CVS and created Add-ons section.

Check http://ww2d.berlios.de


For those who get black'n'white screen instead of map when launching WW2D, please write here your configuration to help me to fix this bug.
Also if you're compiling from sources make sure that /usr/lib/libGL.so link points to right file on my Ubuntu 5.04 it was broken and static build didn't work.
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 08-23-2005, 09:15 PM   #26
nate
Junior Member
 
Join Date: Aug 2005
Posts: 8
nate
Default

Quote:
Originally posted by pronvit@Aug 23 2005, 02:55 PM
I updated my site with new packages for 0.99.5 containing all bug fixes from CVS and created Add-ons section.

Check http://ww2d.berlios.de
For those who get black'n'white screen instead of map when launching WW2D, please write here your configuration to help me to fix this bug.
Also if you're compiling from sources make sure that /usr/lib/libGL.so link points to right file on my Ubuntu 5.04 it was broken and static build didn't work.
Hi. What configuration details exactly?

Also, what should the right file be for /usr/lib/libGL.so to point to?

N
nate is offline   Reply With Quote
Old 08-23-2005, 09:42 PM   #27
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

Quote:
Originally posted by nate@Aug 24 2005, 12:15 AM
Hi. What configuration details exactly?

Also, what should the right file be for /usr/lib/libGL.so to point to?

N
Grahics card model and GL drivers installed (and OS version too). I can't tell exact packages names to look for because they may be different of different distros.

It just must not be broken. For example on my machine it pointed to libGL.so.2 while should point to libGL.so.1.0.7174, first file simply doesn't exist.
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 08-24-2005, 02:34 PM   #28
Corsac
Guest
 
Posts: n/a
Default

Hi people,

i'm trying to get ww2d working under Debian unstable powerpc.

I've built wxwidget 2.6 because it's not in main at the moment for ppc (apt-src -b -i install wxwidgets2.6 )

Then I build ww2d from cvs, compilation is fine, some warnings but no errors.

Then I copy the executable in the x86 installation, execute it.

I can see the ww2d window, then it segfaults.

Running in gdb shows:

Code:
corsac@hidalgo: gdb ./ww2d               [~/downloads/ww2d/linux]
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /home/corsac/downloads/ww2d/linux/ww2d
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 9784)]
[New Thread 32769 (LWP 9787)]
[New Thread 16386 (LWP 9788)]
[New Thread 32771 (LWP 9789)]
[New Thread 49156 (LWP 9790)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 49156 (LWP 9790)]
0x0f3665d8 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
(gdb) bt
#0 0x0f3665d8 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#1 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#2 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#3 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#4 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#5 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#6 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#7 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#8 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#9 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#10 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#11 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#12 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#13 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#14 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#15 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#16 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#17 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#18 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#19 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#20 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#21 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#22 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
---Type <return> to continue, or q <return> to quit---
It seems that it's an endless loop in glGenTextures isnt it ?
  Reply With Quote
Old 08-24-2005, 05:01 PM   #29
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

Quote:
Originally posted by Corsac@Aug 24 2005, 05:34 PM
Hi people,

i'm trying to get ww2d working under Debian unstable powerpc.

I've built wxwidget 2.6 because it's not in main at the moment for ppc (apt-src -b -i install wxwidgets2.6 )

Then I build ww2d from cvs, compilation is fine, some warnings but no errors.

Then I copy the executable in the x86 installation, execute it.

I can see the ww2d window, then it segfaults.

Running in gdb shows:

Code:
corsac@hidalgo: gdb ./ww2d               [~/downloads/ww2d/linux]
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-linux"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /home/corsac/downloads/ww2d/linux/ww2d
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 9784)]
[New Thread 32769 (LWP 9787)]
[New Thread 16386 (LWP 9788)]
[New Thread 32771 (LWP 9789)]
[New Thread 49156 (LWP 9790)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 49156 (LWP 9790)]
0x0f3665d8 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
(gdb) bt
#0 0x0f3665d8 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#1 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#2 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#3 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#4 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#5 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#6 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#7 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#8 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#9 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#10 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#11 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#12 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#13 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#14 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#15 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#16 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#17 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#18 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#19 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#20 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#21 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
#22 0x0f366628 in glGenTextures () from /usr/X11R6/lib/libGL.so.1
---Type <return> to continue, or q <return> to quit---
It seems that it's an endless loop in glGenTextures isnt it ?

I added debug target to Makefile in CVS. You can try to build wxWidgets with debugging enabled (btw WW2D doesn't require 2.6, I build it with 2.5.3, so maybe packages exist for wxWidgets) and then build WW2D with make CONFIG=linuxdynamicdebug and use gdb to see from where these glGenTextures are called.
I can't think of place where they can be called in endless loop. Maybe there just many of them because I'm loading many texures..
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 08-27-2005, 12:21 PM   #30
qwert
Guest
 
Posts: n/a
Default

Hello

When I try run ww2d on SUSE 9.3 I get a segfault.
Code:
~/extract/ww2d> ./ww2d
Speicherzugriffsfehler
But it does run like this:
Code:
~/extract/ww2d> env LANG='C' ./ww2d
It works also with other options than 'C', but not with my system standard LANG=de_DE.UTF-8
Knowing that, for me it now works, but probably others do have the same problem.
You can try it:
Code:
~/extract/ww2d> env LANG='de_DE.UTF-8' ./ww2d
Speicherzugriffsfehler
Actually I did compile the program myself, because the binary version ww2d-0.99.5-x86.tar.bz2 requires very new packages: libtiff.so.4 and libexpat.so.1. I guess not much people have such a new distribution (SUSE 9.3 is quite recent).
These requirements seem to be unnecessary. I compiled ww2d using wxGTK-2.5.3, libexpat.0 and libtiff.so.3, the standard versions on SUSE 9.3. Even when I take the binary version of ww2d and type the folling commands, it does work too.
Code:
~/extract/ww2d> ln -s /usr/lib/libtiff.so.3 libtiff.so.4
~/extract/ww2d> ln -s /usr/lib/libexpat.so.0 libexpat.so.1
~/extract/ww2d> export LD_LIBRARY_PATH=.
~/extract/ww2d> env LANG='C' ./ww2d
./ww2d: /usr/lib/libpng12.so.0: no version information available (required by ./ww2d)
Despite the last error message ww2d runs. (The error message does not occur when I use the self-compiled version.)

I hope this information is useful for you. Thank you, pronvit, for your great work!
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
WW2D is ready! pronvit Ports 66 01-19-2008 09:23 PM
Beta Install Bug urobots Developers' Corner 1 10-21-2005 05:17 AM
1.3.2 beta 1 released Jessi Developers' Corner 11 07-28-2005 06:30 PM


All times are GMT +1. The time now is 11:31 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.