Page 1 of 3

PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 10:30 am
by Fred
Hi there,

After quite a lot of work, here is the beta of the new version of PureBasic, mainly focused on OS X. It introduces full Cocoa support and a brand new x64 version. A lot of libraries have been reworked from scratch so don't panic if a lot of things are not working in this first beta. Feature wise, we plan to add some more 3D functions before the final 4.70 release, it will be done in a next beta. Priority is to iron out the Cocoa related bugs so we can move forward on other topics. We are very proud to finally have 64-bit support for all supported platforms, which is really a big achievement. Here is the changes:

Code: Select all

- Added: Cocoa support on OS X (now the default toolkit)
- Added: 64-bit version of PureBasic for OS X
- Added: Carbon subsystem for PowerPC and x86 version of PureBasic (use 'carbon' as subsystem to enable it)
- Added: InitScintilla() on Linux and OS X avoid compilation issues (empty function)

- Changed: SetModulePosition() is now in milliseconds, no more in pattern

- Updated: Scintilla updated to 3.1.0
- Updated: Expat updated to 2.1.0
- Updated: libjpeg updated to 8.0d
- Updated: ModPlug lib update to 0.8.8.4
- Updated: Use of VC++ 2010 instead of VC++ 2005 to compile the Windows libraries (32-bit and 64-bit), resulting of better optimized code
Cocoa'ified libraries:

Code: Select all

- 2DDrawing
- Clipboard
- Desktop
- Dragdrop
- Engine3D
- Font
- Gadget
- Help
- Image
- Menu
- Printer
- Requester
- Scintilla
- Screen
- StatusBar
- Systray
- ToolBar
- Window
Have fun and don't hesitate to report any bugs or inconsistencies you may encounter !

The Fantaisie Software Team.

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 10:36 am
by Shield
Good news, thanks. :)

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 10:48 am
by IdeasVacuum
We are very proud to finally have 64-bit support for all supported platforms
Very fine work, makes PB useful for years to come. Well done Fred and the Team. 8)

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 12:06 pm
by KJ67
Nice news!
Getting my copy now. :D

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 12:19 pm
by Polo
Wow, thanks!! Will try it out!!!!

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 12:49 pm
by jesperbrannmark
Oh happy day :D

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 12:55 pm
by jesperbrannmark
First report:
4.70b1, 64 bit Mac OS X (mountain lion).
Had bunch of tabs open in editor. opened one more. waited, nothing happened and then switched to another tab:
An Error has been detected in the IDE!
Error: Segmentation violation
File : /Users/fred/svn/v4.70/Fr34k/PureBasicIDE/ScintillaHilightning.pb
Line : 2978

IDE build on 08/01/2012 [14:49] by fred
Branch: v4.70 Revision: 1336

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 1:01 pm
by DoubleDutch
Great news. Thanks. :)

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 1:05 pm
by J. Baker
Sweet! Thanks a lot. I know what I'll be doing all day. :D

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 1:11 pm
by jesperbrannmark
4.70b1, 32 bit mac os x(mountain lion)
Next one, I wish I could trace the line of code producing this - but probably in 2Ddrawing.
Undefined symbols for architecture i386:
"_PB_2DDrawing_PreparePixelQuartz", referenced from:
_PB_SpriteOutput in Sprite.a(SpriteOutput.o)
(maybe you meant: _PB_2DDrawing_PreparePixelQuartzCocoa)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 1:14 pm
by J. Baker
jesperbrannmark wrote:4.70b1, 32 bit mac os x(mountain lion)
Next one, I wish I could trace the line of code producing this - but probably in 2Ddrawing.
Undefined symbols for architecture i386:
"_PB_2DDrawing_PreparePixelQuartz", referenced from:
_PB_SpriteOutput in Sprite.a(SpriteOutput.o)
(maybe you meant: _PB_2DDrawing_PreparePixelQuartzCocoa)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
Yeah, got the following myself...
Undefined symbols for architecture x86_64:
"_PB_WindowOutput_UNICODE", referenced from:
_main in purebasic.o
_Procedure6 in purebasic.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 1:19 pm
by jesperbrannmark
compiling same code with subssystem carbon. (i really wish i could give more and better info on where/how to trace the problem.. but..)
Undefined symbols for architecture i386:
"_PB_Window_GetID", referenced from:
-[PBMenuDelegate eventHandler:] in Cocoa.a(MenuDelegate.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 2:01 pm
by DoubleDutch
I get that error message too using carbon as the subsystem.

I've found a bug with pb_any images that I've now posted in the bugs section.

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 2:19 pm
by Fred
Please posts the bugs in the bug report section, thanks !

Re: PureBasic 4.70 beta 1 is ready !

Posted: Thu Aug 02, 2012 2:22 pm
by PrincieD
That's really awesome work Fred!! :D thanks! :D