getting Build Failed, while following OpenGL texture tutorial(SOIL)

  • ankmachine
    Likes 0

    Problem Description

    Hi,

    I was following tutorial on Modern Opengl: texture(https://www.youtube.com/watch?v=RnXDUFq7T6A&list=PLRtjMdoYXLf6zUMDJVRZYV-6g6n62vet8&index=15). When i am running my code I am getting Build failed. This is specifically happening due to this line: 

    unsigned char *image = SOIL_load_image( "resources/images/wall.jpg", &width, &height, 0, SOIL_LOAD_RGBA );

    While googling i found that i need to include bunch of .c file in compile source of project on xcode. But i am still getting build failed error. My OS is 10.14.4 (MacOs mojave).

    Thanks in advance

     


  • ankmachine
    Likes 0

    This is fixed now, i had to include all .c files inside src folder of SOIL2. Not just the bunch i found after googling.


  • Sonar Systems admin
    Likes 0

    Good to hear you solved it

Login to reply