Game Development Community

Mac OSX 10.2.3 compile problem

by Frederick Fowles · in Torque Game Engine · 02/03/2003 (3:41 pm) · 5 replies

I cant complile the project file with project builder. The final stages comes up with multiple instance errores and the built application will not run saying it cant find main.cs

can annyone help ?

About the author

Recent Threads


#1
02/03/2003 (4:24 pm)
The errors can be fixed by immediately recompiling without changing anything, however they do not affect the program (theyre just be warnings I think).
The main.cs error is because the program must be in the same directory as the main.cs file (obviously) which is in the torque/example folder. You should move the program into that folder.

EDIT: it did not like my apostrophe (changed it into a "?")
#2
02/03/2003 (5:15 pm)
Assuming you are using the HEAD build, look at the instructions in the README in the PB folder. If that doesn't fix the problem, let me know. If that does fix the problem, let me know. ;)

d
#3
10/31/2003 (11:02 am)
I get the following linker error compiling HEAD using PowerBuilder.

StandaloneExecutable.LinkUsingFileList /Volumes/OS 9/mark/projects/torque/pb/../example/Torque Demo OSX.app/Contents/MacOS/Torque Demo OSX 
    /usr/bin/g++2  -o "/Volumes/OS 9/mark/projects/torque/pb/../example/Torque Demo OSX.app/Contents/MacOS/Torque Demo OSX"  "-L/Volumes/OS 9/mark/projects/torque/pb/../example" "-L../lib/vorbis/macosx"  "-F/Volumes/OS 9/mark/projects/torque/pb/../example"  -filelist "/Volumes/OS 9/mark/projects/torque/pb/../example/torque_pb_2_1.build/Torque-MacCarb-Release.build/Objects-normal/LinkFileList"  "-arch" "ppc" "-prebind" "-Wl,-no_arch_warnings" "-flat_namespace"   "-framework" "AGL" "-framework" "Carbon" "-framework" "OpenGL" "-framework" "CoreFoundation" "-framework" "DrawSprocket" "-logg" "-lvorbis" 
/usr/bin/ld: table of contents for archive: ../lib/vorbis/macosx/libogg.a is out of date; rerun ranlib(1) (can't load from it)
/usr/bin/ld: table of contents for archive: ../lib/vorbis/macosx/libvorbis.a is out of date; rerun ranlib(1) (can't load from it)
/usr/bin/ld: warning prebinding disabled because dependent library: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices can't be searched
...failed StandaloneExecutable.LinkUsingFileList /Volumes/OS 9/mark/projects/torque/pb/../example/Torque Demo OSX.app/Contents/MacOS/Torque Demo OSX ...

Seems there is a problem with the oggvorbis lib. Any ideas?
#4
11/10/2003 (11:47 am)
I hit this too. rerun ranlib like it says.

cd ...../lib/vorbis/macosx/
ranlib libogg.a
ranlib libvorbis.a

click build again and it'll work.
#5
11/14/2003 (3:42 pm)
Yep, I didn't see that until after I posted and reread the docs.