The workaround was just to do a normal message. Not sure what the magic was all
about.
It works on my Mac with GNUstep make now, and it compiles on Linux, but after I
ported the test suit, I got this message:
EXCEPTION: NSInvalidArgumentException GSDictionary(instance) does not recognize
BSONEncode (null)
That method is added to NSDictionary using a category, over
here: https://github.com/pepijndevos/bson-objc/blob/master/BSONCodec.h#L31
So problem one: How do I make that category work?
Problem two: How do I run the rest of the tests? (those that require the Base64
encoding)
Pepijn
________________________________
From: pepijn de vos <[email protected]>
To: "[email protected]" <[email protected]>
Sent: Saturday, September 15, 2012 9:57 PM
Subject: Re: Converting xcodeproj to makefile
I wrote a makefile for the other one, and fixed a few warnings and errors, but
now I'm also stuck there, because GNUstep does not seem to support
objc_msgSend: https://github.com/martinkou/bson-objc/blob/master/BSONCodec.m#L194
Is there a workaround, other than rewriting it to avoid all these categories
and class objects?
Pepijn
________________________________
From: pepijn de vos <[email protected]>
To: "[email protected]" <[email protected]>
Sent: Saturday, September 15, 2012 7:53 PM
Subject: Converting xcodeproj to makefile
Hey,
I'm trying to read/write some BSON, and while there is a C lib, I'd rather use
an implementation that supports NSDictionaries.
I found this wrapper, but it is (of course...) and Xcode
project: https://github.com/noa--/ObjCMongoDB
I read on the wiki that one can use pbxbuild or pbtomake to generate a
makefile. Neither of these worked for me though.
pbxbuild segfaults on my mac, and generates a broken makefile on Linux("[[: not
found"). pbtomake gives a lot of errors about paths being group-relative, but I
can't figure out how to fix that.
Finally, I tried to write my own makefile, but I'm not sure how to incorporate
all the pieces. The C lib comes with its own maekfile, and there is also code
included for an ordered dictionary.
Another one I might try is this one, which looks a lot simpler, but hasn't been
updated for a year: https://github.com/martinkou/bson-objc
Pepijn
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep