Author Topic: Polonius (0.5) - now with added goodness  (Read 15282 times)

0 Members and 1 Guest are viewing this topic.

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Polonius (0.5) - now with added goodness


Well, go on now! Get to it! :p

Edit: http://fs2source.warpcore.org/temp/polonius.zip
« Last Edit: November 13, 2005, 12:29:54 pm by WMCoolmon »
-C

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Polonius (0.5) - now with added goodness
"Polonius"?

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Polonius (0.5) - now with added goodness
I used Laertes for the first FS2-related wxWidgets app?

I suppose VPMagus would be more in tune with my previous naming scheme. :p
-C

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Polonius (0.5) - now with added goodness
*Bump*

Everyone using VPCS2 or something? :nervous:
-C

 

Offline Fractux

  • 28
Polonius (0.5) - now with added goodness
Thanks for the tool WM.

I'ce previously been using DMTOOLS browser through wine, but there are some problems using it that way.

This is great. Keep it up!

Cheers!
« Last Edit: October 01, 2005, 11:40:59 am by 1248 »
-What exactly gets separated in "mechanically separated chicken" ?

 

Offline Amon_Re

  • 28
    • http://www.kefren.be
Re: Polonius (0.5) - now with added goodness


Well, go on now! Get to it! :p

I'd love too... link?
Sig? What sig?

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Polonius (0.5) - now with added goodness
It was an attachment, so it didn't carry over with the board move. :p

Here:

http://fs2source.warpcore.org/temp/polonius.zip
-C

  
Re: Polonius (0.5) - now with added goodness
Hi.
I just wanted to say, that I get errors when building polonius or wxFRED2. These errors are the same in both apps...
The CFLAGS WXCFLAGS etc. ARE correct...
And those apps are the only ones that give me errors like this...

Here are the error-messages:
Error with wxWindows 2.4
Error with wxWindows 2.6

I have both wxWindows 2.4 and 2.6 on my PC... With seperate wx-configs... (wx-config for 2.4 and wx-config-2.6)...

 
Re: Polonius (0.5) - now with added goodness
Hey Mr_Maniac and WMCoolmon,

You didn't compile wxWidgets with "--enable-unicode", did you?

Because I experienced those errors mentioned by you, but in greater numbers when compiled with unicode support.

Try adding wxT() around the strings and look if it helps.

I made a patch for the polonius.cpp file, but I could only correct it in places without concating two or more strings together.

Hope this helps, because it seems to me, that most if not every wxWidgets application in this forum doesn't like unicode wxWidgets builds.

 
Re: Polonius (0.5) - now with added goodness
That's right...
My wxGTK IS an unicode-build...
My whole System is unicoded ;)
Hmm... Okay.... Thanks for the info!

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Re: Polonius (0.5) - now with added goodness
Hey Mr_Maniac and WMCoolmon,

You didn't compile wxWidgets with "--enable-unicode", did you?

Because I experienced those errors mentioned by you, but in greater numbers when compiled with unicode support.

Try adding wxT() around the strings and look if it helps.

I made a patch for the polonius.cpp file, but I could only correct it in places without concating two or more strings together.

Hope this helps, because it seems to me, that most if not every wxWidgets application in this forum doesn't like unicode wxWidgets builds.

I was definitely sloppy about the wxT() thing, so that could be it.

But, are you saying that I'd have to add wxT() around everything? AFAIK I only needed to use it when passing a var to a wxWidgets function. (Although since it worked without, I kept it out to keep the code cleaner).
-C

 
Re: Polonius (0.5) - now with added goodness
Well, just look at the make output, in the link below. As I said before, I added wxT macros, where I found it easy to correct the errors. I can send you the patch, so you can spare a few parts adding wxT to.

make.log with wxWidgets 2.6.2

 
Re: Polonius (0.5) - now with added goodness
Gentoo installs wxGTK 2.4 and 2.6 with unicode AND ansi-support...

So I only have to select the right wx-config...

And so I was able to compile polonius :)
But wxFRED2... Well...
It compiles but it won't link...

Oh... And how about changeing the Makefile a bit?
I added a variable
Code: [Select]
WXCFLAGS=$(shell /usr/bin/wxgtk2-2.4-config --cflags --libs)and replaced the whole
Code: [Select]
`wx-config --cflags --libs`with it...
It didn't seem to work anyway... gcc didn't show the CFLAGS and LDFLAGS from wxGTK, it showed the `wx-config --cflags --libs`...