Jump to content
  • Advertisement

scottgordon

Member
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

1 Neutral

About scottgordon

  • Rank
    Newbie

Personal Information

  • Interests
    Programming

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. scottgordon

    can't get SOIL2 to work with XCODE

    That was a huge hint. I went back into "Link Binary with Libraries", and added the CoreFoundation framework. It then built successfully. It's having other issues, but thank you that looks like it got me past one hump. Is it normal to have to specify that manually like that? EDIT: BTW, a HUGE thank you for actually trying it yourself. That was very nice of you. EDIT2: Got everything else to work too. recp, I owe you one. For the benefit of anyone stumbling on this thread, here are all the shenanigans I had to do to get SOIL2 to finally work in XCODE: compiled soil2 with premake and make on the Mac. I used the command that sets up for make, rather than for xcode, and used "make" rather than xcode to build soil2. This resulted in a soil2-debug. added all the header files to /usr/local/include/SOIL2 (had to use sudo for this) added a reference to /usr/local/include to Header Search Paths in Build Settings added a reference to the directory containing the libsoil2-debug.a file to "Link Binary with libraries" under Build Phases added the path to the .a file also to the Library Search Paths searched for and added CoreFoundation framework into the "Link Binary with Libraries" (under Build Phases) added "#include <SOIL2/SOIL2.h> to the program
  2. scottgordon

    can't get SOIL2 to work with XCODE

    It's already listed in Linked Frameworks and Libraries. Tried adding the other linker flag, no change.
  3. scottgordon

    can't get SOIL2 to work with XCODE

    Thanks for the reply! I'm getting tons of messages of the form "_CFxxxxxx" referenced from: xxxxx in libsoil2-debug.a(SOIL2.o). So, I'm guessing that it's finding the .a file, but not the stuff that it in turn references? Would adding a linker flag help? The soil documentation doesn't mention needing to add one. By the way, I think soil2 is a static library.
  4. Getting OpenGL to work with XCODE (on a Macbook) is a wrestling match. But I've managed to get everything to work except the image managing library SOIL2. Has anyone had success with this? I have done the following steps: compiled soil2 with premake and make on the Mac. added all the header files to /usr/local/include/SOIL2 added a reference to /usr/local/include to Header Search Paths in Build Settings added a reference to the directory containing the libsoil2-debug.a file to "Link Binary with libraries" under Build Phases added "#include <SOIL2/SOIL2.h> to the program The error message I get is from the linker, that it can't find the soil2 library. I tried adding a path to the .a file also to the Library Search Paths, but then I get lots more errors. After a couple of days going in circles, I'm really stuck. Had no problem getting soil2 working on the PC under VS. Any ideas for XCODE?
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!