FIXED: Exemples do not run

Coding Questions, IDE related or anything else

FIXED: Exemples do not run

Postby RzwoDzwo » Sun Mar 14, 2010 2:10 pm

Hello OB-Community,

even when i load an Exemple, i get an Error Message.

E.g. : i load "simple hello world", run and get this Message : Exception NSInvalidArgumentException.
launch path not accessible

Exception in
file 'global.NSObject'
at 'Build2'
line '1394'
callStackSymbols:
(
0 CoreFoundation 0x9097340a __raiseError + 410
1 libobjc.A.dylib 0x97ce3509 objc_exception_throw + 56
2 CoreFoundation 0x90973138 +[NSException raise:format:arguments:] + 136
3 CoreFoundation 0x909730aa +[NSException raise:format:] + 58
4 Foundation 0x92f0a8d1 -[NSConcreteTask launchWithDictionary:] + 487
5 Foundation 0x92f0a6e4 -[NSConcreteTask launch] + 41
6 Objective-Basic 0x00016161 _Z4RUN2P11objc_objectS0_ + 340
7 Objective-Basic 0x0005788b -[global Build2:] + 11452
8 Objective-Basic 0x00053af5 -[global _thBuild] + 137
9 Foundation 0x92eb88d8 -[NSThread main] + 45
10 Foundation 0x92eb8888 __NSThread__main__ + 1499
11 libSystem.B.dylib 0x98bbffbd _pthread_start + 345
12 libSystem.B.dylib 0x98bbfe42 thread_start + 34
)




if i run "calculator" i get this Message : Internal Error. Please report back to us. /Volumes/Programme/ObjectiveBasic.app/Contents/MacOS/Compiler/objc_compile.sh: line 55: g++: command not found

Cheers
r2d2
RzwoDzwo
 
Posts: 16
Joined: Sun Mar 14, 2010 2:19 am

Re: Exemples do not run

Postby Slowdown » Sun Mar 14, 2010 8:49 pm

Latest version of Objb ? (feb 24 2010)
Running OS X 10.6.x ?
and last but not least Xcode installed ?
Kind regards,

Slowdown (on OSX 10.6.x)
Slowdown
 
Posts: 22
Joined: Wed Sep 16, 2009 8:15 pm
Location: The Netherlands

Re: Exemples do not run

Postby RzwoDzwo » Sun Mar 14, 2010 10:59 pm

to all three questions: yes
RzwoDzwo
 
Posts: 16
Joined: Sun Mar 14, 2010 2:19 am

Re: Exemples do not run

Postby berndnoetscher » Mon Mar 15, 2010 8:30 am

RzwoDzwo wrote:to all three questions: yes


g++ seems not to work as expected. Could you please the Mac OS X application Terminal.app and type "g++"?
Does it show a message like "no input files"?
berndnoetscher
Site Admin
 
Posts: 280
Joined: Fri Feb 20, 2009 11:58 am

Re: Exemples do not run

Postby RzwoDzwo » Mon Mar 15, 2010 11:32 am

i get "command not found", maybe i remove important applications and / or files!? What's the complete requirement of Objective-Basic?
RzwoDzwo
 
Posts: 16
Joined: Sun Mar 14, 2010 2:19 am

Re: Exemples do not run

Postby RzwoDzwo » Mon Mar 15, 2010 8:44 pm

What is g++?
RzwoDzwo
 
Posts: 16
Joined: Sun Mar 14, 2010 2:19 am

Re: Exemples do not run

Postby Slowdown » Mon Mar 15, 2010 9:21 pm

Hi RzwoDzwo,

g++ is the compiler.
maybe i remove important applications and / or files!

My guess is that you removed to much.
What's the complete requirement of Objective-Basic?

Think the best way to go is to reinstall Xcode to be save.
Kind regards,

Slowdown (on OSX 10.6.x)
Slowdown
 
Posts: 22
Joined: Wed Sep 16, 2009 8:15 pm
Location: The Netherlands

Re: Exemples do not run

Postby RzwoDzwo » Mon Mar 15, 2010 10:06 pm

hi r2d2

gcc is needed and it is in the following folder on my system.

/usr/bin/g++

The "env" command shows some path entries as well.
Maybe this is the problem.

Another try: open xcode, select new project and let's create a new project with some files and compile them with xcode. Does it work?

Where is xcode located on your Mac?

/Developer/Applications/Xcode.app
RzwoDzwo
 
Posts: 16
Joined: Sun Mar 14, 2010 2:19 am

Re: Exemples do not run

Postby RzwoDzwo » Tue Mar 16, 2010 9:13 pm

RzwoDzwo wrote:hi r2d2

gcc is needed and it is in the following folder on my system.

/usr/bin/g++

The "env" command shows some path entries as well.
Maybe this is the problem.

Another try: open xcode, select new project and let's create a new project with some files and compile them with xcode. Does it work?

Where is xcode located on your Mac?

/Developer/Applications/Xcode.app



i did not posted this Reply, why is this Reply posted with my UserName? But, thanx anyway for the usefully informations, i will check it and tell you the result.

Thanks in advance.
RzwoDzwo
 
Posts: 16
Joined: Sun Mar 14, 2010 2:19 am

Re: Exemples do not run

Postby Slowdown » Tue Mar 16, 2010 9:38 pm

/usr/bin/g++

is correct.
Where is xcode located on your Mac?
/Developer/Applications/Xcode.app

is correct.
my folder,
xcode.tiff
xcode.tiff (29.07 KiB) Viewed 1883 times

Another try: open xcode, select new project and let's create a new project with some files and compile them with xcode. Does it work?

Why would you do this ?
If you have installed developer tools from your DVD (Xcode, interface builder, ect, ect)
and you have placed Objb in your applications folder everything must be working fine.
Last edited by Slowdown on Tue Mar 16, 2010 9:42 pm, edited 1 time in total.
Kind regards,

Slowdown (on OSX 10.6.x)
Slowdown
 
Posts: 22
Joined: Wed Sep 16, 2009 8:15 pm
Location: The Netherlands

Next

Return to Objective-Basic (Xcode 3)

Who is online

Users browsing this forum: No registered users and 0 guests

cron