• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[#Red] Red language group

Kaj
5-Mar-2013
[5751]
I could have used you in the past week, but I just fixed cURL networking 
on Windows, after setting up a Windows installation for the first 
time in almost a decade
Paul
5-Mar-2013
[5752]
:-)
Kaj
5-Mar-2013
[5753]
We still have a problem playing sound with SDL on Windows, so if 
you could do something there, that would be great
Paul
5-Mar-2013
[5754x2]
Well good thing is that I have access to good size lab at work.
Can you reproduce the problem?
Kaj
5-Mar-2013
[5756x2]
Yes, it produces an error on XP, but on 7, you see it play in the 
mixer without producing any sound
Even odder is that it just works on WINE
Paul
5-Mar-2013
[5758x2]
If I can reproduce it then we should have no problem fixing it.
What is SDL?
Kaj
5-Mar-2013
[5760x6]
The error on XP seems to be related to DirectSound. Perhaps it needs 
a newer DirectX or a driver, but I'd think SDL would drop down to 
a more primitive sound system
http://www.libsdl.org
The test binaries are here:
http://red.esperconsultancy.nl/Red-test/dir?ci=tip
It's best to use the MSDOS folder. The Windows folder is less complete 
and compiled as GUI apps, so no command line output
The SDL audio program is MSDOS\RedSystem\play-SDL-wav.exe. There's 
a test file sample.wav
Paul
5-Mar-2013
[5766]
Ok, lot of stuff there. So let me explain how I typically operate 
to make this the easiest way for me to help.  I need ONLY the relevant 
files to install, complete with same instrucitons for installation 
that produced the error.  I need to know specific versions as well. 
 Once I know I can re-create the problem, then I need sources (at 
least any programming sources you have) and any symbol files you 
may have or can generate (pdb) files preferred.
Kaj
5-Mar-2013
[5767]
If you wait half an hour, I'll have new binaries
Paul
5-Mar-2013
[5768]
No problem Kaj.
Kaj
5-Mar-2013
[5769]
No installation is needed, but Red doesn't generate extra symbol 
files
DocKimbel
5-Mar-2013
[5770]
Paul: all of them. :-)
Paul
5-Mar-2013
[5771x2]
I don't have any older XP in the house so I may have to do it in 
the lab at work or install it via as a VM and see if it reproduces.
No problem Doc.
Kaj
5-Mar-2013
[5773]
The source is here:
DocKimbel
5-Mar-2013
[5774]
As Kaj said, we do have somtimes odd issues on Windows with some 
third-party libs.
Kaj
5-Mar-2013
[5775]
http://red.esperconsultancy.nl/Red-SDL/dir?ci=tip
Paul
5-Mar-2013
[5776]
Yeah, I spend the days debugging control systems and lots of third 
party stuff.
DocKimbel
5-Mar-2013
[5777]
I do my share too from time to time using IDA Pro. ;-)
Paul
5-Mar-2013
[5778]
Yeah, I am familiar  with IDA Pro, but we use WinDBG mostly.
DocKimbel
5-Mar-2013
[5779]
I'm using it also sometimes, but IDA is really great.
Paul
5-Mar-2013
[5780x2]
Yeah I hear good stuff about it.
We do on premises debugging a lot in front of customers so we have 
to use WinDBG.  Plus some of the software engineers I work with know 
the tool pretty well.  I work with a lot of peole from Sybase, Siemens, 
Rockwell, GE
DocKimbel
5-Mar-2013
[5782]
I franckly sometimes wouldn't mind some more arms for debugging native 
stuff as it can be quickly time-consuming.
Paul
5-Mar-2013
[5783x3]
not a problem.
What native architectures are you targeting with RED?
We talking ARM, and Intel?
DocKimbel
5-Mar-2013
[5786]
Currently we support IA-32 (Pentium 1 being the lowest CPU supported) 
and ARMv5.
Paul
5-Mar-2013
[5787]
Excellent.
DocKimbel
5-Mar-2013
[5788]
In the future, we will target also higher version of ARM, Thumb ARM 
mode, and IA-64.
Kaj
5-Mar-2013
[5789]
Fresh binaries have arrived in the test repository
Paul
5-Mar-2013
[5790]
those binaries also exhibiting the same behavior?
Kaj
5-Mar-2013
[5791x5]
Yes, the SDL problem has been very stable
The easiest way to get all the files is to use the download.r script:
http://red.esperconsultancy.nl/Red-test/dir?ci=tip
Put it in a folder with a Fossil executable and just run the script 
with REBOL
http://www.fossil-scm.org/download.html
Paul
5-Mar-2013
[5796]
What all is that going to download?  Just Red or does that include 
SDL also?
Kaj
5-Mar-2013
[5797x2]
Not really Red, but the compiled executables in the test repository. 
The needed libraries are also in there, including SDL, so you can 
run the programs straight away from their folders
The script also downloads the sources of all the bindings used, including 
the Red/System SDL binding
Paul
5-Mar-2013
[5799]
I was going to run download.r with REBOL but when I double clicked 
it - it launched.  I'm assuming fossil.exe had something to do with 
that.
Kaj
5-Mar-2013
[5800]
Fossil shouldn't affect that. What do you mean by launching?