Open Forum > What's New

ScriptBasic 2.2 Release

<< < (3/4) > >>

Support:
Update

I have been working on the Windows version of the Mini-XML extension module that works fine under Linux and OSX. I was able to get  the module to compile with AIR's help but it would crash trying to load the XML file. I hit the wall and sent my effort over to Armando to debug As it turns out VC10 corrupts trying to load the tree but AIR was able to compile the same code with TDM-GCC-MinGW32 and it worked. (using the VC10 version of scriba)

Once we know what is causing VC10 to be transparently unhappy, we can send a bug report over to the Mini-XML maintainers.

 

Airr:
The problem seems to be how VC10 compiles the MODULE, not Mini-XML.

I used an older MODULE, compiled with MinGW with Mini-XML compiled with VC10 and it works fine.

Support:
Not sure I understand. I hacked the makefile.vc7 for the mxml extension module to get it to compile. (wasn't using the SB standard .jim/.jam correctly and missing a NTLIBS: def.)

Can you send me or post with an attachment of a VC10 compilable mxml code set?

Support:
We gave it our best shot but Microsoft's Visual C/C++ is too unstable with ANSI/ISO C code. What works in one version of VC doesn't in another.

I'm going with Armando advice and stick with gcc across the board.

Here is the Mini-XML extension module example I have been trying to get working with VC10 now working when compiled with TDM-gcc-MinGW32.

C:\scriptbasic\test>scriba testmxml.sb
name = Belgian Waffles
price = $5.95
description = two of our famous Belgian Waffles with plenty of real maple syrup
calories = 650
name = Strawberry Belgian Waffles
price = $7.95
description = light Belgian waffles covered with strawberries and whipped cream
calories = 900
name = Berry-Berry Belgian Waffles
price = $8.95
description = light Belgian waffles covered with an assortment of fresh berries and whipped cream
calories = 900
name = French Toast
price = $4.50
description = thick slices made from our homemade sourdough bread
calories = 600
name = Homestyle Breakfast
price = $6.95
description = two eggs, bacon or sausage, toast, and our ever-popular hash browns
calories = 950

C:\scriptbasic\test>

Support:
AIR must be busy with real life adventures and hasn't responded with a SB setup that will work with TDM-GCC-MinGW32/64. I used the interface.c from the MinGW-gcc version (SB 3.0) and replaced the VC10 one that was crashing. It seems there is something weird with the version of the mxml extension (Linux) I was trying get working. I will include the mxml VC10 version in the next build.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version