|
Have you tried just including the
source code into your project, and defining ENET_BUILDING_LIB as
1?
That's what I do to use enet on Macs, though I haven't tried for
64 bit. If it works, should be easy enough after that to build a
new static lib project using Xcode for the future.
Cheers,
Aidan.
On 22/06/2013 22:22, Brian Handy wrote:
Hello all,
I have recently started using Enet on Mac with
XCode, and I am hoping there is a way to build enet for both
32bit and 64bit on the same machine.
XCode (conveniently) likes to build for all
architectures, but when I built enet 1.3.7 (./config
&& make && make install, possibly with some
sudos in there) then it appeared to have only built for 64
bit. XCode reported that enet had "Undefined symbols for
architecture i386". There was one other warning relating to
this, "ignoring file /usr/local/lib/libenet.dylib, file was
built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7
0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 6 0x 0 0x 0 0x 0 ) which
is not the architecture being linked (i386):
/usr/local/lib/libenet.dylib"
So, is there a way to do this with enet on a 64bit
computer, or do I need to go find and build this on a 32bit
machine? On StackOverflow, it sounded like doing config
CFLAGS="-m32" CXXFLAGS="-m32" would work, but I have had no
luck with that.
Many thanks!
Brian
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss
|
_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss