Building FiveMac apps from HBIDE !!!

Building FiveMac apps from HBIDE !!!

Postby Antonio Linares » Wed Jul 14, 2010 8:22 am

There is a HBIDE bug to be fixed on OSX, but besides that, we can already build FiveMac apps from HBIDE !!! :-)

Image

I used these settings for HBIDE (you can run it as a script or better do an auto load script in HBIDE):
settings.prg
Code: Select all  Expand view

FUNCTION main( oIde )

  hb_setEnv( "PATH", hb_getEnv( "PATH" ) +
":/Users/anto/harbour/harbour/bin/darwin/gcc" )

  hb_setEnv( "HB_COMPILER", "gcc" )
  hb_setEnv( "HB_USER_PRGFLAGS", "-i/Users/anto/fivemac/include"   )
  hb_setEnv( "HB_USER_LDFLAGS", "-L/Users/anto/fivemac/lib -framework Cocoa" )
  hb_setEnv( "HB_USER_LIBS", "five.lib fivec.lib" )
  hb_setEnv( "HB_GUI", "1" )

  MsgBox( "FiveMac settings loaded" )

RETURN NIL
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Building FiveMac apps from HBIDE !!!

Postby Antonio Linares » Wed Jul 14, 2010 9:51 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Building FiveMac apps from HBIDE !!!

Postby IBTC » Wed Jul 14, 2010 11:43 am



After I made this:

If you move /Users/anto/fivemac/ to /Users/anto/harbour/harbour/addons/fivemac,
you can even use:

hb_setEnv( "HB_COMPILER", "gcc" )
hb_setEnv( "HBMK_OPTIONS", 'fivemac.hbc' )


HBIDE didn't work anymore :( After starting HBIDE hangs. Removing addons/fivemac didn't change anything. At the moment I didn't have enough time to find out what happened. I think it is better to wait till HBIDE is more stable (on Mac OS X)... I will concentrate on using gcc instead of Borland C on Windows first...
Best Regards,
Ruediger Alich

---
HMG 3.1.3 | FTDN/FWH 13.12 | Harbour 3.2 | BCC/MinGW | Windows XP/Vista/7/8/10 (32/64-Bit), Wine (Linux/Mac) - started 1999 with FW, 1989 with Clipper
User avatar
IBTC
 
Posts: 103
Joined: Sat Oct 18, 2008 8:13 pm
Location: Stuttgart, Germany

Re: Building FiveMac apps from HBIDE !!!

Postby Antonio Linares » Wed Jul 14, 2010 3:22 pm

Fixed a little HBIDE bug that was causing the edited source code not to be seen:

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Building FiveMac apps from HBIDE !!!

Postby Antonio Linares » Wed Jul 14, 2010 9:53 pm

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42098
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveMac / FivePhone (iPhone, iPad)

Who is online

Users browsing this forum: No registered users and 0 guests