[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question
From: |
David Chisnall |
Subject: |
Re: Question |
Date: |
Wed, 6 Mar 2013 13:08:17 +0000 |
On 6 Mar 2013, at 13:03, Laurent Michel <address@hidden> wrote:
> No I didn't. I'm not familiar with cmake. As I said, I must be missing
> something in how to properly setup.
My instructions had 'mkdir build' and 'cd build' for a reason...
> With
>
> make -f Makefile install
>
> it worked (meaning it installed libobjc2 in /usr/local/lib)
Yes, when you ran cmake in the project root, it overwrote the existing
Makefile, but not the GNUmakefile. If you used GNU make, then it used the
GNUmakefile in preference to the GNUmakefile. This delegated to the Makefile
for building, but not for installation.
> and I managed to execute my program which now goes much further (still not
> running correctly, but now it is probably something related to my build... It
> claims that a method is not implemented even though it
> does work fine on MacOS).
>
> ./queens2: Uncaught exception NSInvalidArgumentException, reason:
> ORModelI(instance) does not recognize addConstraint:
>
> The addConstraint: does exist. Now a matter for me to figure out why it won't
> find it.
Do you have a debug build of the runtime? If so, do you have any error
messages before this? In your back trace, it it being called from a +load
method?
> Also I'm getting lots of messages about autorelease being called without a
> pool in place, but that might be on my end (even though i'm pretty sure an
> autorelease pool is created right from the start with:
>
> int main(int argc,char* argv[])
> {
> @autoreleasepool {
> ...
> }
> }
>
> Maybe there is an issue with this syntax with this version of the runtime?
This should be fine, however you will need to explicitly create autorelease
pools if you have other threads.
David
- Re: Question, (continued)
- Re: Question, Laurent Michel, 2013/03/05
- Re: Question, David Chisnall, 2013/03/06
- Re: Question, Laurent Michel, 2013/03/06
- Re: Question, Laurent Michel, 2013/03/06
- Re: Question, David Chisnall, 2013/03/06
- Re: Question, Charalampos Chrysovalantis Emmanouilidis, 2013/03/06
- Re: Question, Laurent Michel, 2013/03/06
- Re: Question, Laurent Michel, 2013/03/06
- Re: Question, David Chisnall, 2013/03/06
- Re: Question, Laurent Michel, 2013/03/06
- Re: Question,
David Chisnall <=
- Re: Question, Laurent Michel, 2013/03/06
- Re: Question, David Chisnall, 2013/03/06
- Re: Question, Laurent Michel, 2013/03/06
- Re: Question, David Chisnall, 2013/03/06
- Re: Question, Laurent Michel, 2013/03/06
- Re: Question, Patryk Laurent, 2013/03/06
- Re: Question, Charalampos Emmanouilidis, 2013/03/07