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-18-2005, 06:45 PM   #11
nate
Junior Member
 
Join Date: Aug 2005
Posts: 8
nate
Default

It gives me a lot of errors looking for "GL/gl.h" -- where is this?

Nate
Quote:
Originally posted by pronvit@Aug 18 2005, 03:22 AM
yes of course any information is useful
libcurl3, I'll update info on web page

how compilation goes? any problems?
nate is offline   Reply With Quote
Old 08-18-2005, 08:25 PM   #12
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

you can try to find packages containing "gl" in name, look what of them are installed and install appropriate development packages..
there should be "mesa" "glx" in name of needed package, I don't remember exactly now..
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 08-18-2005, 10:31 PM   #13
nate
Junior Member
 
Join Date: Aug 2005
Posts: 8
nate
Default

Well, I installed everything I could, and it sort of compiles ... but the result segfaults immediately. I could post the error output from the compile if you think that would help.


Quote:
Originally posted by pronvit@Aug 18 2005, 02:25 PM
you can try to find packages containing "gl" in name, look what of them are installed and install appropriate development packages..
there should be "mesa" "glx" in name of needed package, I don't remember exactly now..
nate is offline   Reply With Quote
Old 08-19-2005, 09:26 AM   #14
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

you have to download and install FullInstallationForLinux and then replace its ww2d executable with one from compilation - or you already made it this way?
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 08-19-2005, 04:05 PM   #15
nate
Junior Member
 
Join Date: Aug 2005
Posts: 8
nate
Default

Quote:
Originally posted by pronvit@Aug 19 2005, 03:26 AM
you have to download and install FullInstallationForLinux and then replace its ww2d executable with one from compilation - or you already made it this way?
Did that. I found that the executable must be launched from within the directory (ie, you can't execute it by the full path /usr/local/ww2d/ww2d or whatever it is).

Even so, it launches an empty window. It does not respond to input. I have tried to attach a screenshot below.

I've also added compiler messages in the hopes that they will be helpful....

N
Attached Images
File Type: png ww2d_screenshot.png (86.5 KB, 370 views)
Attached Files
File Type: txt ww2d_make_output.txt (18.7 KB, 485 views)
nate is offline   Reply With Quote
Old 08-19-2005, 06:40 PM   #16
pronvit
Senior Member
 
Join Date: May 2005
Posts: 121
pronvit
Default

please try to checkout latest version from CVS (I can't make source package right now), I fixed several bugs there and I hope this one too
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 08-19-2005, 11:29 PM   #17
Baptiste
Junior Member
 
Join Date: Aug 2005
Posts: 2
Baptiste
Default

Hello,

I tried both the binary and the compilation on Debian / unstable.

For compilation, I used the following versions of the build dependancies:
libwxgtk2.6-dev=2.6.1.1
libcurl3-dev=7.14.0-5

Beware of those: they are not automatically pulled by the libwxgtk2.6-dev package:
xlibmesa-gl-dev=6.8.2.dfsg.1-5
libglu1-xorg-dev=6.8.2.dfsg.1-5 (and not xlibmesa-glu-dev, which is the old xfree86)

Do the compile with the new C++ ABI by using gcc-4:
libstdc++6=4.0.1-5
g++-4.0=4.0.1-5

The packages / versions are mostly relevant for Debian, but I think those packages are in sync between Debian / unstable and the developpement branch of Ubuntu (Breezy). So Nate, it might interest you :-)

I get a bunch of compilation warnings, exactly the same as Nate, but contrary to him, the executable works just the same as the distributed binary.

I have run into a few bugs, like the fact that more often than not, I cannot access the menu (but the software will still respond to the mouse gestures and +/- keys). Also, at startup, the top right tile (Kamtchatka and such) won't appear. I'll check later if those bugs are in CVS, feel free to ignore them for now.

Overall, this software is just great, and works smoothly on a Pentium III. Thank you very much!

B.
Baptiste is offline   Reply With Quote
Old 08-19-2005, 11:42 PM   #18
nate
Junior Member
 
Join Date: Aug 2005
Posts: 8
nate
Default

Quote:
Originally posted by Baptiste+Aug 19 2005, 05:29 PM--><div class='quotetop'>QUOTE(Baptiste @ Aug 19 2005, 05:29 PM)</div><div class='quotemain'>...
Beware of those: they are not automatically pulled by the libwxgtk2.6-dev package:
xlibmesa-gl-dev=6.8.2.dfsg.1-5
libglu1-xorg-dev=6.8.2.dfsg.1-5 (and not xlibmesa-glu-dev, which is the old xfree86)

Do the compile with the new C++ ABI by using gcc-4:
libstdc++6=4.0.1-5
g++-4.0=4.0.1-5
[/b]


Is this the kind of thing that a ./configure can look for? Because the source package doesn't make use of one, so if you know more about that I'm sure it would be welcome input.

<!--QuoteBegin-Baptiste
@Aug 19 2005, 05:29 PM
The packages / versions are mostly relevant for Debian, but I think those packages are in sync between Debian / unstable and the developpement branch of Ubuntu (Breezy). So Nate, it might interest you :-)
[/quote]

Well... the other added complication is that I am running on AMD64 Ubuntu (hoary). I do have the 32b chroot'ed environ, but it's still sometimes red kryptonite with bleeding-edge packages. As much as everyone involved would like for it to be a perfect solution, it's not.

For the record, my compilation experiences have been in the 32b chroot. Where have you installed it? /usr/local/something?

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

Baptiste,
thank you for information, I'm glad that it works for you under Linux w/o any big problems. menu is known bug.. do you have problem with top-right tile every time you start app?

Nate,
Unfortunately ./configure does nothing with packages, it will just tell you that you don't have bla-bla-bla and won't tell what package you need to install to get it (because it's too distro-specific).

my makefile is quite simple, it uses wx-config and curl-config to get right compiler/linker options, that's why I don't use ./configure
__________________
WW2D FreeMagic Pocket GCC Pocket C#
pronvit is offline   Reply With Quote
Old 08-21-2005, 12:22 AM   #20
Baptiste
Junior Member
 
Join Date: Aug 2005
Posts: 2
Baptiste
Default

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.
Baptiste is offline   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 04:07 AM.


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