i keep getting the same error message whenever i try to compile my program. i only just got dev c++ yesterday and was completely dumbfounded when i noticed this error come up:
cannot find -lobjc
does anyone know how to solve this problem? or can you point me in the right direction?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, first, a gentle hint: this forum has a search capability, had you searched on this error message, you would have found the answer quickly.
The short version - for one reason or another - an option gets set in the editor to link objective C code - sometimes it is from people clicking buttons at random, sometimes by poltergeists. Look around in your menus for this item (and look at what's there for your general edification) - and unclick the option.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ive searched and cant find anything to help. ive searched my computer for the file and it didnt find it. i looked on every damn tab i could find on dev C++ and still nothing at all! any other ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-10-30
>> any other ideas?
No need for "other ideas" the idea you have been given is what you need! Your search skills need some work.
In compiler options (Tools|Compiler options) make sure the 'Link Objective C program' option set to 'No'.
There is a similar option under Project|Project options...|Compiler, check that too if you are using a project.
And don't screw with options that you don't understand. Wayne is just being nice when he suggests that this happens for no reason. It doesn't, it was set because you or someone else set it.
If you continue to have problems, do post the compile log.
In the unlikely event that you do want to write Objective C code (uncommon outside of MAC OSX or NeXT Step development), you have to download additional support, it is no longer distributed with Dev-C++.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi, this is my first post...
i keep getting the same error message whenever i try to compile my program. i only just got dev c++ yesterday and was completely dumbfounded when i noticed this error come up:
cannot find -lobjc
does anyone know how to solve this problem? or can you point me in the right direction?
Well, first, a gentle hint: this forum has a search capability, had you searched on this error message, you would have found the answer quickly.
The short version - for one reason or another - an option gets set in the editor to link objective C code - sometimes it is from people clicking buttons at random, sometimes by poltergeists. Look around in your menus for this item (and look at what's there for your general edification) - and unclick the option.
Wayne
ive searched and cant find anything to help. ive searched my computer for the file and it didnt find it. i looked on every damn tab i could find on dev C++ and still nothing at all! any other ideas?
>> any other ideas?
No need for "other ideas" the idea you have been given is what you need! Your search skills need some work.
In compiler options (Tools|Compiler options) make sure the 'Link Objective C program' option set to 'No'.
There is a similar option under Project|Project options...|Compiler, check that too if you are using a project.
And don't screw with options that you don't understand. Wayne is just being nice when he suggests that this happens for no reason. It doesn't, it was set because you or someone else set it.
If you continue to have problems, do post the compile log.
In the unlikely event that you do want to write Objective C code (uncommon outside of MAC OSX or NeXT Step development), you have to download additional support, it is no longer distributed with Dev-C++.
Clifford
put "lobjc" in the search box (upper right of the page) and hit search. Your answer awaits you.
The trick is to be smarter then the search engine ;>p