Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Antares QR Code

Discussion in 'Assets and Asset Store' started by Neodrop, May 16, 2011.

  1. JeDi

    JeDi

    Joined:
    Jun 16, 2010
    Posts:
    52
    Do you guys plan on supporting WebcamTexture directly? Because as far as I know, we have to use Get/SetPixels32 and Apply to copy the pixels over to a Texture2D so we can process it with the QR library. Because your library probably reads the pixels back from the texture, this seems like a lot of overkill (and indeed, our framerate suffers a lot from it because we need to do somewhat continuous scanning for a while in our game).
     
  2. parogames

    parogames

    Joined:
    Apr 12, 2011
    Posts:
    30
    Hi Neodrop,

    I tried to integrate this plugin with iOS project. However the texture is 90 degree rotated and flipped invert horizontally.....orz
    Does anyone know how to fix this since the QR plugin doesn't recognize the texture.
    I tried to flip the Color32[] but the GetPixels32() only return a 1d array but not 2d.....orz
    A sample project of how this plugin works in iOS environment will be very great.

    Here is the code that I use:

    Code (csharp):
    1. using Antares.QRCode;
    2. using UnityEngine;
    3. using System.Collections;
    4.  
    5. public class PhotoMe : MonoBehaviour {
    6.    
    7.     public GUIText DisplayText;
    8.     public GUITexture DisplayCam;
    9.    
    10.     private WebCamTexture cam;
    11.     private Texture2D tex;
    12.     private Color32[] data;
    13.    
    14.     private bool initDone = false;
    15.    
    16.     IEnumerator Start () {
    17.         cam = new WebCamTexture(512, 512, 15);
    18.         cam.Play();
    19.         while(true)
    20.         {
    21.             if(cam.didUpdateThisFrame)
    22.             {
    23.                 data = new Color32[cam.width * cam.height];
    24.                 tex = new Texture2D(cam.width, cam.height, TextureFormat.RGB24, false);
    25.                 initDone = true;
    26.                 break;
    27.             }
    28.             else
    29.                 yield return null;
    30.         }
    31.     }
    32.    
    33.     void Update(){
    34.         if(initDone  cam.didUpdateThisFrame)
    35.         {
    36.             cam.GetPixels32(data);
    37.             tex.SetPixels32(data);
    38.             tex.Apply();
    39.             DisplayCam.texture = tex;
    40.         }
    41.     }
    42.    
    43.      public void OnGUI()
    44.     {
    45.         GUILayout.BeginArea(new Rect(10, 10, Screen.width - 20, Screen.height - 20));
    46.         GUILayout.BeginHorizontal();
    47.         if (GUILayout.Button("Decode"))
    48.         {
    49.             Result result = QRCodeProcessor.Decode(tex);
    50.             if (result!= null)
    51.             {
    52.                 DisplayText.text = result.Text;
    53.             }
    54.             else
    55.             {
    56.                 DisplayText.text = "This is not QR code!";
    57.             }
    58.         }
    59.         GUILayout.EndHorizontal();
    60.         GUILayout.EndArea();
    61.     }
    62. }
    63.  
     
    Last edited: Mar 11, 2012
  3. PAX

    PAX

    Joined:
    Oct 12, 2010
    Posts:
    54
  4. parogames

    parogames

    Joined:
    Apr 12, 2011
    Posts:
    30
  5. PAX

    PAX

    Joined:
    Oct 12, 2010
    Posts:
    54
    it's so obvious... try this function
    PHP:
        public static Color GetColor(Color[] pixelsint textureWidthint xint y)
        {
            return 
    pixels[textureWidth x];
        }
    And you can use GetPixel and SetPixel in 2d.
     
  6. parogames

    parogames

    Joined:
    Apr 12, 2011
    Posts:
    30
    Thanks very much...
    Seems I missed GetPixel this function...orz
    I thought there is only GetPixels32 before >.<"
     
  7. Firewalker

    Firewalker

    Joined:
    Mar 30, 2012
    Posts:
    38
    You don't need to use Apply.. but anyway, this is a insane overkill.

    We have 3 steps completely unnecessary:
    1. copying pixels from camera into buffer (flipping the image)
    2. copying buffer to texture
    3. copying from texture to buffer (probably inside QR decompress)

    What I have at disposal from iPads camera and QCAR kit is a byte[] , size of buffer, resolution and pixel format. With that you don't need anything else.. just use it.

    Please guys, can you make modifications and implement direct access to already available memory!
    It would improve performance amazingly

    Thanx
     
  8. sesariza

    sesariza

    Joined:
    Apr 6, 2012
    Posts:
    1
    I really need to read QRcode from Texture
    Can someone give me sample to do that?
    Because when I'm convert the texture to Texture2D, Antares won't read it.

    This is my code:

    Code (csharp):
    1.        void Update(){
    2.  
    3.         if(initDone)
    4.  
    5.         {
    6.             tex = DisplayCam.texture as Texture2D;
    7.                        
    8.             Result result = QRCodeProcessor.Decode(tex);
    9.  
    10.             if (result!= null)
    11.  
    12.             {
    13.                  DisplayText.text = result.Text;
    14.             }
    15.  
    16.         }
    17.  
    18.     }
    19.  
    20. }
    21.  
    22.  
    There no response when I running it.

    Thanks
     
  9. tiagoam

    tiagoam

    Joined:
    Aug 11, 2008
    Posts:
    3
    Hy Neodrop,

    I bought the plugin but always returns null.
    I downloaded other QR-Code applications from market place and iTunes Store and all return the contents correctly.
    The example of your video (http://www.youtube.com/watch?v=Sw8T3JUG-0c) does not work, I'm using the Texture2D and GUITexture but always returns null.

    Works only Encode> Decode, but I need to get the contents from Texture2D.

    I am using Unity 3.5.1.
    I also tried the Unity 3.4.2 as well and does not work.

    tks
     
  10. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    This plugin don't work with GUITexture.
    Can you past here your code?
     
  11. gary_bbgames

    gary_bbgames

    Joined:
    Jan 20, 2012
    Posts:
    22
    I am also having some images pulling a result from a Texture2D. I went back and followed the YouTube video and get no result from that either.

    I'm using Unity 3.5.2
     
  12. gary_bbgames

    gary_bbgames

    Joined:
    Jan 20, 2012
    Posts:
    22
    Sorry guys, I hadn't followed the demo exactly and was missing the read/write check box in the texture import. I also had to change the compression. I am still unable to get the camera to recognise it but I feel this may be due to the camera rotation. I will post when I get it sorted.
     
  13. Russel

    Russel

    Joined:
    Oct 12, 2011
    Posts:
    40
    Hey!

    Antares QR Code crashes on QR-Code vCards in Android. Can you fix this?

     
  14. umetyuu

    umetyuu

    Joined:
    Jul 13, 2011
    Posts:
    1
    I can not decode this QR image using Antares QR. However, other QR decoder can decode.
    Could you fix this problem?

    I'm using Unity 3.5.3 and WebCamTexture.

     
  15. tomihr2

    tomihr2

    Joined:
    Oct 25, 2010
    Posts:
    29
    Hello,

    Great plugin, just need to know if it can red QR code from the mobile phone camera .

    Thanks
     
  16. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    This plugin work with Texture2D. It can't work with the video stream.
     
  17. PlanetTimmy

    PlanetTimmy

    Joined:
    Mar 13, 2010
    Posts:
    117
    Hello, I've just been trying to get it to work with a webcam. I've altered your demo code to add a new button that takes a frame from the webcam and tries to decode it.

    I've been testing it with a handheld webcam that I point at the QR code on the spinning cube onscreen when the demo scene runs. I've also tried it with some other QRCodes from around the web, and I can't get them to decode.

    Here's the modified demo script:
    Code (csharp):
    1.  
    2.  
    3. using Antares.QRCode;
    4. using UnityEngine;
    5.  
    6. public class QRCodeDemo : MonoBehaviour
    7. {
    8.  
    9.     public Texture2D qrCodeImage;
    10.     private string _textToEncode = "Hello QRCode!";
    11.     private int _width = 128;
    12.     private int _height = 128;
    13.  
    14.     private string _decodedString = "";
    15.    
    16.     private WebCamTexture m_camTexture;
    17.    
    18.     void Start()
    19.     {
    20.         WebCamDevice[] devices = WebCamTexture.devices;
    21.         foreach (WebCamDevice device in devices)
    22.         {
    23.             Debug.Log(device.name);
    24.         }
    25.         m_camTexture = new WebCamTexture(devices[0].name, 640, 480, 30);
    26.         renderer.material.mainTexture = m_camTexture;
    27.         m_camTexture.Play();
    28.     }
    29.  
    30.     public void OnGUI()
    31.     {
    32.         GUILayout.BeginArea(new Rect(10, 10, Screen.width - 20, Screen.height - 20));
    33.         GUILayout.BeginHorizontal();
    34.         {
    35.             GUILayout.BeginVertical(GUI.skin.box, GUILayout.Width(300), GUILayout.ExpandHeight(true));
    36.             {
    37.                 GUILayout.BeginVertical(GUI.skin.box);
    38.                 {
    39.                     GUILayout.Label("Text to encode:");
    40.                     _textToEncode = GUILayout.TextArea(_textToEncode, GUILayout.Height(50));
    41.                 }
    42.                 GUILayout.EndVertical();
    43.  
    44.  
    45.  
    46.                 GUILayout.BeginVertical(GUI.skin.box);
    47.                 {
    48.                     GUILayout.Label("Texture width: " + _width);
    49.                     _width = (int)GUILayout.HorizontalSlider(_width, 64, 512);
    50.                 }
    51.                 GUILayout.EndVertical();
    52.  
    53.                 GUILayout.BeginVertical(GUI.skin.box);
    54.                 {
    55.                     GUILayout.Label("Texture height: " + _height);
    56.                     _height = (int)GUILayout.HorizontalSlider(_height, 64, 512);
    57.                 }
    58.                 GUILayout.EndVertical();
    59.  
    60.                 if (GUILayout.Button("Encode"))
    61.                 {
    62.                     if (qrCodeImage != null) Destroy(qrCodeImage);
    63.                     qrCodeImage = QRCodeProcessor.Encode(_textToEncode, _width, _height );
    64.                 }
    65.  
    66.                 GUILayout.Space(10);
    67.                 GUILayout.BeginVertical(GUI.skin.box);
    68.                 GUILayout.EndVertical();
    69.                 GUILayout.Space(10);
    70.                
    71.                 GUILayout.Box(m_camTexture);
    72.  
    73.                
    74.  
    75.                 if (GUILayout.Button("Decode"))
    76.                 {
    77.                     var result = QRCodeProcessor.Decode(qrCodeImage);
    78.                     if (result!= null)
    79.                     {
    80.                         _decodedString = result.Text;
    81.                     }
    82.                     else
    83.                     {
    84.                         _decodedString = "Error while reading QRCode Image!";
    85.                     }
    86.                 }
    87.                
    88.                 GUI.enabled = qrCodeImage != null;
    89.                 if (GUILayout.Button("Decode From Webcam"))
    90.                 {
    91.                     RenderTexture rndrTxtr = new RenderTexture(m_camTexture.width, m_camTexture.height, 24);
    92.                     Graphics.Blit(m_camTexture, rndrTxtr);
    93.                     RenderTexture oldActiveTexture = RenderTexture.active;
    94.                     RenderTexture.active = rndrTxtr;
    95.                     Texture2D camTex2d = new Texture2D(m_camTexture.width, m_camTexture.height);
    96.                     camTex2d.ReadPixels(new Rect(0, 0, m_camTexture.width, m_camTexture.height), 0, 0);
    97.                     RenderTexture.active = oldActiveTexture;
    98.                    
    99.                    
    100.                     var result = QRCodeProcessor.Decode(camTex2d);
    101.                     if (result!= null)
    102.                     {
    103.                         _decodedString = result.Text;
    104.                     }
    105.                     else
    106.                     {
    107.                         _decodedString = "Error while reading QRCode Image!";
    108.                     }
    109.                 }
    110.                
    111.                
    112.                
    113.  
    114.                 GUILayout.BeginVertical(GUI.skin.box);
    115.                 {
    116.                     GUILayout.Label("Decoded text:");
    117.                     GUILayout.TextArea(_decodedString, GUILayout.Height(50));
    118.                 }
    119.                 GUILayout.EndVertical();
    120.  
    121.                 GUI.enabled = true;
    122.             }
    123.             GUILayout.EndVertical();
    124.  
    125.  
    126.  
    127.  
    128.             GUILayout.BeginVertical(/*GUI.skin.box,*/ GUILayout.ExpandHeight(true));
    129.             {
    130.                 GUILayout.FlexibleSpace();
    131.                 GUILayout.BeginHorizontal();
    132.                 {
    133.                     GUILayout.FlexibleSpace();
    134.                     if (qrCodeImage != null)
    135.                     {
    136.                         //GUILayout.Label(qrCodeImage);
    137.                     }
    138.                     else
    139.                     {
    140.                         GUILayout.Label("Press \"Encode\" to generate QRCode texture.");
    141.                     }
    142.                     GUILayout.FlexibleSpace();
    143.                 }
    144.                 GUILayout.EndHorizontal();
    145.                 GUILayout.FlexibleSpace();
    146.             }
    147.             GUILayout.EndVertical();
    148.         }
    149.         GUILayout.EndHorizontal();
    150.         GUILayout.EndArea();
    151.     }
    152.  
    153.  
    154.     public void Update()
    155.     {
    156.         transform.rotation *= Quaternion.Euler(0.1f, 0.2f, 0.3f);
    157.  
    158.         this.renderer.material.mainTexture = qrCodeImage;
    159.     }
    160.  
    161. }
    162.  
    163.  
    164.  
     
  18. PlanetTimmy

    PlanetTimmy

    Joined:
    Mar 13, 2010
    Posts:
    117
    Okay - I fixed it - I wasn't correctly converting the texture to a Texture2D.

    However, I do find that the QR code reading is not very robust.
     
  19. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    I have upload new version (1.3) but it many days in pending. I don't know why.
     
  20. TacticalSpace

    TacticalSpace

    Joined:
    Aug 14, 2012
    Posts:
    3
    The version on Asset Store is still 1.22. Any idea how long until 1.3 becomes available? I am waiting for this version before I buy it.

    Also, does this have direct Webcamtexture access?
     
  21. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    I will write to the Store support.

    1.3 have no direct webcam access. As before, you should pass Texture2D to the plugin methods.
     
  22. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    1.3 has been accepted.

     
  23. Greenny

    Greenny

    Joined:
    Jul 4, 2012
    Posts:
    2
    Can it return the position where the code was found on the image?
     
  24. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    What position ?
     
  25. Greenny

    Greenny

    Joined:
    Jul 4, 2012
    Posts:
    2
    Sorry for unclear question - I mean the image, which is not the code itself, but the image, which contain the QR Code. I need the position on the texture, where the library found the code to replace it with my own object/image.
     
  26. quitebuttery

    quitebuttery

    Joined:
    Mar 12, 2011
    Posts:
    323
    Yeah or at the very least I'd like to be able to highlight the QR code on the texture somehow. Having the 2D coordinates of where the QR Code was recognized would help.
     
  27. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    Sorry - currently, this ability is not supported.
     
  28. as-justis

    as-justis

    Joined:
    Aug 29, 2012
    Posts:
    10
    Hi,

    I just bought Antares Library. In Unity unmodified examples are working, but in XCode I get the error shown in attached image. I'm using XCode 4.4.1. Please advise further :)
     

    Attached Files:

  29. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    I will looking for it in next few days, but this picture is not enougth clear.
     
  30. Romz89

    Romz89

    Joined:
    Sep 4, 2012
    Posts:
    3
    Hello Neodrop!
    First of all, thanks a lot for your plugin!

    But I'm experiencing an issue while trying to decode a QRCode that is encoded with special chars (included in the extended ASCII table). When I apply a small algo to crypt a string and then create the qr code with the crypted string, the plugin cannot even detect the qr code, while other QR code reader as QR Droid can detect the QR code.

    As far as I'm concerned, I'm working on Android and iPhone, and Unity 3.5.

    Do you have any idea about this problem?
    Thanks a lot.

    EDIT: I've finally found a way to avoid this issue. It seems like if there is one or more very special char, the QR Code cannot be decoded... Unless you tell me I forgot any important detail?
     
    Last edited: Sep 13, 2012
  31. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    The main developer of this plugin is PAX
    but, unfortunately, his stop the support of this plugin. Try to call him direct or by PM. In this case I'm just a publisher.
     
  32. TJBRB

    TJBRB

    Joined:
    Apr 13, 2012
    Posts:
    8
    I can get Xcode to compile to a Mac Client. But to iOS it bombs like yours. But I guess at some point the iOS version worked ?
     
  33. UnityTiger

    UnityTiger

    Joined:
    Aug 1, 2011
    Posts:
    25
    Please provide solution for this error it will not able build an app for iOS...



    it gv me error in XCODE

    Code (csharp):
    1. CompileC /Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Antares.QRCode.dll.o Libraries/Antares.QRCode.dll.s normal armv7 assembler-with-cpp com.apple.compilers.llvm.clang.1_0.compiler
    2.     cd "/Users/unity3d/QR code/QR"
    3.     setenv LANG en_US.US-ASCII
    4.     setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    5.     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x assembler-with-cpp -arch armv7 -fmessage-length=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=6.0 -iquote /Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/xtpl-generated-files.hmap -I/Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/xtpl-own-target-headers.hmap -I/Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/xtpl-all-target-headers.hmap -iquote /Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/xtpl-project-headers.hmap -I/Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Products/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources/armv7 -I/Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/DerivedSources -F/Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Products -mno-thumb -MMD -MT dependencies -MF /Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Antares.QRCode.dll.d --serialize-diagnostics /Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Antares.QRCode.dll.dia -c "/Users/unity3d/QR code/QR/Libraries/Antares.QRCode.dll.s" -o /Users/unity3d/Library/Developer/Xcode/DerivedData/Unity-iPhone-geaklgybdnluhueyrjzetzyufjfj/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/Antares.QRCode.dll.o
    6.  
    7. /Users/unity3d/QR code/QR/Libraries/Antares.QRCode.dll.s:29339:1: error: invalid symbol redefinition
    8. plt__class_init_____:
    9. ^
    10. /Users/unity3d/QR code/QR/Libraries/Antares.QRCode.dll.s:29484:1: error: invalid symbol redefinition
    11. plt__class_init_____:
    12. ^
    13. Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
    14.  
     

    Attached Files:

    Last edited: Nov 21, 2012
  34. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    I can't figure what this errors mean. I never saw such one.
     
  35. Eugenio

    Eugenio

    Joined:
    Mar 21, 2013
    Posts:
    197
    Any solution about that error? I got the same today !!!!

    $Screen Shot 2013-07-11 at 14.29.56.png

    EDIT: I forgot to mention that I use Unity 4.1.5f1 and the 1.3 version of your plugin.
     
    Last edited: Jul 11, 2013
  36. tamalive

    tamalive

    Joined:
    Jul 21, 2011
    Posts:
    11
    I use Unity 4.3.4 and Xcode 5. I got the same error. Can you helm me please.

    /Users/me/Documents/PROJECT/_EXPORT Xcode/QR Scan/Libraries/Antares.QRCode.dll.s:31600:1: error: invalid symbol redefinition
    plt__class_init_____:
    ^
    /Users/me/Documents/PROJECT/_EXPORT Xcode/QR Scan/Libraries/Antares.QRCode.dll.s:31745:1: error: invalid symbol redefinition
    plt__class_init_____:
    ^
    Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1


     
  37. Onialonn

    Onialonn

    Joined:
    Mar 13, 2014
    Posts:
    13
    Try use different stripping mode, or turn off it.
     
  38. tamalive

    tamalive

    Joined:
    Jul 21, 2011
    Posts:
    11
    I'm already change it in Unity but it's still error :(

    /Users/me/Documents/PROJECT/_EXPORT Xcode/QR Scan/Libraries/Antares.QRCode.dll.s:31600:1: error: invalid symbol redefinition
    plt__class_init_____:
    ^
    /Users/me/Documents/PROJECT/_EXPORT Xcode/QR Scan/Libraries/Antares.QRCode.dll.s:31745:1: error: invalid symbol redefinition
    plt__class_init_____:
    ^
    Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
     
  39. Keng0326

    Keng0326

    Joined:
    Apr 17, 2014
    Posts:
    1
    I use Unity 4.3.4 and Xcode 5.1 .
    I can't build on Xcode.

    get this error :
    /Users/eits/Desktop/QR/Libraries/Antares.QRCode.dll.s:31600:1: error: invalid symbol redefinition
    plt__class_init_____:
    ^
    /Users/eits/Desktop/QR/Libraries/Antares.QRCode.dll.s:31745:1: error: invalid symbol redefinition
    plt__class_init_____:
    ^
    Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
     
  40. arronlee

    arronlee

    Joined:
    May 7, 2013
    Posts:
    1
    Hi,
    As for me, I am testing the related
    java qr code generation projects these days. Do you have any ideas about it? Or any good suggestion? I am totally a green hand on barcode generating field. Any suggestion will be appreciated. Thanks in advance.


    Best regards,
    Arron
     
  41. Neodrop

    Neodrop

    Joined:
    Oct 24, 2008
    Posts:
    1,359
    As I see, it's seems as good solution for Unity. But the price is a bit expensive
     
    Last edited: Jun 24, 2014
  42. ralmeidab

    ralmeidab

    Joined:
    Dec 12, 2013
    Posts:
    2
    Neodrop,

    What encoding are the strings returned with? Can this return raw bytes as a byte[]? We have an application where we need to read binary data from a QRCode, which naturally will have some non-legible bytes on it (such as 0x0), but all the libraries I tried so far are returning strings, and obviously mess up the non-legible chars, corrupting the code.

    Can your library be used to solve this?

    Best regards.
     
  43. fenden

    fenden

    Joined:
    Dec 22, 2014
    Posts:
    8
  44. alonsoGarrote

    alonsoGarrote

    Joined:
    Jun 23, 2012
    Posts:
    25
    Hi there,
    Are you still supporting this asset?, I want to know if I can use it on latest Android/iOS versions,
    regards,
     
  45. jian_cq

    jian_cq

    Joined:
    Jul 5, 2014
    Posts:
    1
    hello,I used your package, but when it couldn't Decode the QRcode,it threw an error. i was trying to use the "try catch" to get it, but it couldn't prevent the error from throwing!What should I do?
    QRCodeReaderException: Exception of type 'Antares.QRCode.QRCodeReaderException' was thrown.
    aq.b ()
    aq.a (System.Collections.Hashtable A_0)
    av.a (System.Collections.Hashtable A_0)
    r.a (UnityEngine.Texture2D A_0, System.Collections.Hashtable A_1)
    r.a (UnityEngine.Texture2D A_0)
    Antares.QRCode.QRCodeProcessor.Decode (UnityEngine.Texture2D image)
    QRCodeDemo_OnGUI () (at Assets/QRCode/DemoScene/QRCodeDemo.cs:63)