February 09, 2010, 07:49:04 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Polonius (0.5) - now with added goodness  (Read 7837 times)
0 Members and 1 Guest are viewing this topic.
WMCoolmon
Purveyor of space crack
213

Offline Offline

Posts: 8,653


WWW
« on: September 25, 2005, 07:32:47 pm »



Well, go on now! Get to it!

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

-C

"The line has to be drawn here. This far, and no further!" - Quark
"admit it, virgin's a whore" -Nuke, January 2008
Goober5000
91st Shadows, GTI
Administrator
213

Offline Offline

Posts: 14,580



WWW
« Reply #1 on: September 25, 2005, 09:12:07 pm »

"Polonius"?
Logged

Fortunes of War | Ross 128 | Deus Ex Machina | Terran-Vasudan War Project | FreeSpace Port | Silent Threat: Reborn | Scroll of Atankharzim

Report SCP bugs with Mantis

"How I wish you could put things like that on your CV though.  'Accidentally fooled Computer Press into thinking Freespace 3 was going to be on the XBox.'  That's very nearly a 'Goob wins the Internet' moment, at the very least a high end-of-level boss." -- Flipside

"I view Python for game usage about the same as going fishing with a stick of dynamite.  It will do the job but it's big, noisy, you'll probably get soaking wet and you've still got to get the damn fish out of the water." -- Taylor
WMCoolmon
Purveyor of space crack
213

Offline Offline

Posts: 8,653


WWW
« Reply #2 on: September 25, 2005, 09:26:52 pm »

I used Laertes for the first FS2-related wxWidgets app?

I suppose VPMagus would be more in tune with my previous naming scheme.
Logged

-C

"The line has to be drawn here. This far, and no further!" - Quark
"admit it, virgin's a whore" -Nuke, January 2008
WMCoolmon
Purveyor of space crack
213

Offline Offline

Posts: 8,653


WWW
« Reply #3 on: September 30, 2005, 07:34:47 pm »

*Bump*

Everyone using VPCS2 or something?
Logged

-C

"The line has to be drawn here. This far, and no further!" - Quark
"admit it, virgin's a whore" -Nuke, January 2008
Fractux
28

Offline Offline

Posts: 441


WWW
« Reply #4 on: October 01, 2005, 11:38:57 am »

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 » Logged

-What exactly gets separated in "mechanically separated chicken" ?
-In the 21st Century we are able to do nothing faster than we ever have before.
Amon_Re
28

Offline Offline

Posts: 295


WWW
« Reply #5 on: November 13, 2005, 07:51:57 am »



Well, go on now! Get to it!

I'd love too... link?
Logged

Sig? What sig?
WMCoolmon
Purveyor of space crack
213

Offline Offline

Posts: 8,653


WWW
« Reply #6 on: November 13, 2005, 01:29:32 pm »

It was an attachment, so it didn't carry over with the board move.

Here:

http://fs2source.warpcore.org/temp/polonius.zip
Logged

-C

"The line has to be drawn here. This far, and no further!" - Quark
"admit it, virgin's a whore" -Nuke, January 2008
Mr_Maniac
28

Offline Offline

Posts: 341


WWW
« Reply #7 on: November 19, 2005, 11:02:10 am »

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)...
Logged
Christoph_Berg
25

Offline Offline

Posts: 49


WWW
« Reply #8 on: November 20, 2005, 01:43:00 pm »

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.
Logged
Mr_Maniac
28

Offline Offline

Posts: 341


WWW
« Reply #9 on: November 20, 2005, 03:00:14 pm »

That's right...
My wxGTK IS an unicode-build...
My whole System is unicoded
Hmm... Okay.... Thanks for the info!
Logged
WMCoolmon
Purveyor of space crack
213

Offline Offline

Posts: 8,653


WWW
« Reply #10 on: November 20, 2005, 03:32:26 pm »

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).
Logged

-C

"The line has to be drawn here. This far, and no further!" - Quark
"admit it, virgin's a whore" -Nuke, January 2008
Christoph_Berg
25

Offline Offline

Posts: 49


WWW
« Reply #11 on: November 21, 2005, 08:46:57 am »

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
Logged
Mr_Maniac
28

Offline Offline

Posts: 341


WWW
« Reply #12 on: December 09, 2005, 02:35:08 pm »

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:
WXCFLAGS=$(shell /usr/bin/wxgtk2-2.4-config --cflags --libs)
and replaced the whole
Code:
`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`...
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!