Apple Mach -o Linker(id) Error

  • OmerMujtaba
    Likes 0

    Problem Description

    I am following the Modern OpenGL 3.0+ (https://www.youtube.com/watch?v=RnXDUFq7T6A), while building my project I am having Apple Mach -o Linker (id) Error. 

     

    Undefined symbols for architecture x86_64:
      "_SOIL_free_image_data", referenced from:
          _main in main.o
      "_SOIL_load_image", referenced from:
          _main in main.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    

     

    Error screenshot: https://drive.google.com/file/d/1fyITTkucA1WGisLbHkEbktI_OfhI9KQc/view?usp=sharing

    Please help :) 


  • OmerMujtaba
    Likes 0

    Solved it :) 

    When adding SOIL2 to your Xcode I need to select “Create Groups” 

     

Login to reply