Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - vcastro99

#1
Ok, I am trying to compile a program that compiles fine under win32 but when I try Mac OSX I get this:
--------------------
*** Configuration: OS-X_X86 ***
precompiling:
GPC - GLBasic Precompiler V.10.037 SN:c850ec23 - 3D, NET
Wordcount:12055 commands
compile+link:
/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
_______________________________________
*** Finished ***
Elapsed: 38.7 sec. Time: 19:59
Build: 0 succeeded.
*** 1 FAILED ***
-----------------------

This program has compiled fine in previous versions of GLBasic under Mac OSX... not sure what happened! I have seen other people posting this issue but I have not seen a clear solution...

Help!!

#2
Well, that did it! I zipped the folder and it worked fine! Thank you very much.

#3
Ok, I am sure I am missing something silly...

I am able to compile and run programs for windows but when I compile anything for Mac OS X and move it to the Mac to run it, the app does not start at all. Here is what I am doing:

1) I open a sample project, let's say "Hello_World.gbap"
2) I compile it using the Build for Multiplatform selecting "OS-X_x86" (I have an intel Imac)
3) I get the following message:

*** Configuration: OS-X_X86 ***
precompiling:
GPC - GLBasic Precompiler V.10.060 SN:a4f26297 - 3D, NET
Wordcount:3 commands
compile+link:
Can't load image: C:\GLProgramming\GLBasic\Samples\Basics\icon.png
Creating .app for Hello_world
run: "Q:\Tools\Icons.exe" "C:\GLProgramming\GLBasic\Samples\Basics\icon.png" /MACOSX
success
_______________________________________
*** Finished ***
Elapsed: 2.6 sec. Time: 19:59
Build: 1 succeeded.


4) I then copy the "Hello_World.app" folder from the "distribute\MacOSX" folder in windows to the "Applications" folder in the Mac (I am using a Parallels VM)

5) I then try to start the Hello_World app in the mac by clicking on it on the mac and the app seems to start and die immediately (the icon for the app flashes on the Dock bar and then disappears)

I have tried comprising multiple projects the same way and they all behave the same...

Can somebody tell me what am I missing or not doing right?

Thanks!