GLBasic forum

Main forum => GLBasic - en => Topic started by: MrPlow on 2015-Aug-21

Title: GLB 14 adding platforms
Post by: MrPlow on 2015-Aug-21
Hi Guys

What is the process for add Linux / Mac etc for GLB 14 - it doesnt look like a straight copy over...I will try it anyway
Title: Re: GLB 14 adding platforms
Post by: MrPlow on 2015-Aug-21
Sorted - It is just a copy of the extracted folder to the platform folder

But Mac is saying some part is out of date...cygdrive/C/GLBasic_v14/Compiler/platform/Mac/OSX/Lib/libgcc.a is out of date; rerun ranlib(1) (can't load from it)

Whatever this means?
Title: Re: GLB 14 adding platforms
Post by: JFG on 2015-Oct-04
Same error here, first time compiling for OSX
Any idea? I reinstalled everything, still the same

/cygdrive/q/Compiler/platform/Mac/Bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: table of contents for archive: /cygdrive/Q/Compiler/platform/Mac/lib/libGLBasicMac.a is out of date; rerun ranlib(1) (can't load from it)
/cygdrive/q/Compiler/platform/Mac/Bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: table of contents for archive: /cygdrive/Q/Compiler/platform/Mac/OSX/Lib/libSDL_mixer.a is out of date; rerun ranlib(1) (can't load from it)
/cygdrive/q/Compiler/platform/Mac/Bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: table of contents for archive: /cygdrive/Q/Compiler/platform/Mac/OSX/Lib/libSDLmain.a is out of date; rerun ranlib(1) (can't load from it)
/cygdrive/q/Compiler/platform/Mac/Bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: table of contents for archive: /cygdrive/Q/Compiler/platform/Mac/lib/libCxImageMac.a is out of date; rerun ranlib(1) (can't load from it)
/cygdrive/q/Compiler/platform/Mac/Bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: table of contents for archive: /cygdrive/Q/Compiler/platform/Mac/OSX/Lib/libstdc++-static.a is out of date; rerun ranlib(1) (can't load from it)
/cygdrive/q/Compiler/platform/Mac/Bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: table of contents for archive: /cygdrive/Q/Compiler/platform/Mac/OSX/Lib/libstdc++.a is out of date; rerun ranlib(1) (can't load from it)
/cygdrive/q/Compiler/platform/Mac/Bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: table of contents for archive: /cygdrive/Q/Compiler/platform/Mac/OSX/Lib/libgcc.a is out of date; rerun ranlib(1) (can't load from it)
collect2: ld returned 1 exit status
*** FATAL ERROR - Please post this output in the forum
Title: Re: GLB 14 adding platforms
Post by: spacefractal on 2015-Oct-04
Do you uses Universal or the OS-X_x86 buikd?

The OS-X_uni should completly been removed at all. That platform is not supported by Apple in years.
Title: Re: GLB 14 adding platforms
Post by: JFG on 2015-Oct-04
I downloaded "mac.zip", which is OS-X_x86 in GLB.
Should I try an older version of GLB? Like V12?
Title: Re: GLB 14 adding platforms
Post by: spacefractal on 2015-Oct-04
That Q drive can and might cause trouble. Try move glbasic to a folder without (). This can also happens with Android AZ well.
Title: Re: GLB 14 adding platforms
Post by: JFG on 2015-Oct-05
Doesn't work  :(
Title: Re: GLB 14 adding platforms
Post by: spacefractal on 2015-Oct-05
I'm take a look when time. Currently I'm have focus on Apple TV and Android TV. Hopefully Gernot take a look on that as well. Until then, use v12.
Title: Re: GLB 14 adding platforms
Post by: Kitty Hello on 2015-Oct-06
The lib is outdated? Try reinstalling it all from scratch. First the sdk, then platforms THEN the update.
Title: Re: GLB 14 adding platforms
Post by: mrplant on 2015-Dec-07
I get same and tried full v14 reinstall from scratch
Title: Re: GLB 14 adding platforms
Post by: bigsofty on 2015-Dec-07
Do you have any other GCC distros on your system PATH ?
Title: Re: GLB 14 adding platforms
Post by: mrplant on 2015-Dec-14
Nope
Title: Re: GLB 14 adding platforms
Post by: erico on 2015-Dec-14
Me neither, I can generate the output, but it crashes on a mac.
Title: Re: GLB 14 adding platforms
Post by: spacefractal on 2015-Dec-14
IM pretty sure its a real issue really. We have property not have compiled the source code correctly, which cause some of the lib files have not have updated correctly and then we see the issue.

Im thinks the a files is still a old version and have not been compiled from the o file correctly or some sort of that, which confuse it. Property ranlib have not been called in the bat file.
Title: Re: GLB 14 adding platforms
Post by: Kitty Hello on 2015-Dec-21
When I compile I get:
Code (glbasic) Select


_______________________________________
*** Configuration: OS-X_X86 ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:cdb86f6b - 3D, NET
Wordcount:41 commands
compile+link:
      0 [main] png2icns 8900 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.  Please report this problem to
the public mailing list cygwin@cygwin.com
cygwin warning:
  MS-DOS style path detected: C:\Users\gf\Documents\GLBasic\_test\MacIcon.icns
  Preferred POSIX equivalent is: /cygdrive/c/Users/gf/Documents/GLBasic/_test/MacIcon.icns
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Using icns type 'ic09' (ARGB) for 'C:\Users\gf\Documents\GLBasic\_test\tmpMacIcon.png'
Saved icns file to C:\Users\gf\Documents\GLBasic\_test\MacIcon.icns
Creating .app for _test
run: "C:\Users\gf\Documents\SourceCode\frisch\fun\GLBasic\Tools\Icons.exe" "C:\Users\gf\Documents\GLBasic\_test\icon.png" /MACOSX
erfolgreich
_______________________________________
*** Fertig ***
Dauer: 4.0 sek. Zeit: 20:33
Erstellen: 1 erfolgreich.


I have a proper executable generated - which I didn't test if it will run, but it seems at least to compile.

Do you get the file "....\distribute\MacOSX\XXXX.app\Contents\MacOS\MacOSX" ?
If you run that on a console window - what do you get?
My lib is dated:
"GLBasic\Compiler\platform\Mac\lib\libGLBasicMac.a"
1593964 Bytes
Changed 15 nov 2015 20:20:56