Author Topic: raknet4.0 unity3d iphone  (Read 10287 times)

am8888

  • Not-a-newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
raknet4.0 unity3d iphone
« on: June 14, 2012, 11:42:20 PM »
i want use Raknet4.0 in unity3d (c#develop) and server use c++ develop.
now i had problem.

window: i develop unity3d plugs dll ( swig c#).and it is good
Mac:     i develop unity3d plugs  bundle( swig c#) .and it is good;
iphone : when i build app use xcode .i had error:  Duplicate symbol _englishCharacterFrequencies in libiPhone-lib.a(StringCompressor.o)

how can i link StringCompressor.o and  ignore libiPhone-lib.a


thanks  sorry my pool english

Rak'kar

  • Administrator
  • Hero Member
  • *****
  • Posts: 6895
  • Karma: 291
    • View Profile
    • RakNet
Re: raknet4.0 unity3d iphone
« Reply #1 on: June 15, 2012, 12:01:18 AM »
Does it work if you rename englishCharacterFrequencies?

am8888

  • Not-a-newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: raknet4.0 unity3d iphone
« Reply #2 on: June 15, 2012, 12:31:11 AM »
i can't   rename englishCharacterFrequencies .
because libiPhone-lib.a is unity3d lib .it has raknet3.7 . my app use raknet4.0 and libiphone-lib.a. so all raknet function  is repeat.
the gcc link report error: Duplicate symbol all the raknet funtions

Rak'kar

  • Administrator
  • Hero Member
  • *****
  • Posts: 6895
  • Karma: 291
    • View Profile
    • RakNet
Re: raknet4.0 unity3d iphone
« Reply #3 on: June 15, 2012, 09:35:38 AM »
What if you rename it in RakNet 4? Or are you saying every symbol is repeated?