README.macosx 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. How do I compile the library ?
  2. ----------------------------------
  3. Download and install. In the Unix way it will produce a shared library.
  4. Using the project file for the Apple Developer Tools you can get a framework.
  5. However they are without the external libraries which are needed to be installed.
  6. However the packages are somehow out of date. but anyone can setup a new project easily.
  7. DevIL was packaging them along with the distribution but that's was to hard to mantain
  8. for each update of these libraries.
  9. Libraries needed to compile DevIL* :
  10. -----------------------------------
  11. Needs the same libraries as the *nix version.
  12. Installation:
  13. -------------
  14. All the libraries can be easiliy installed from source, manually or using
  15. some tools like the fink project or the darwinports project.
  16. to use fink you must set the environment variables. for some libraries you must have
  17. the PATH correctly set up to execute programs installed with the tools.
  18. tcsh:
  19. setenv LDFLAGS -L/sw/lib
  20. setenv CFLAGS -I/sw/include -L/sw/lib
  21. sh:
  22. export LDFLAGS=-L/sw/lib
  23. export CFLAGS=-I/sw/includee -L/sw/lib
  24. same thing with darwinports
  25. tcsh:
  26. setenv LDFLAGS -L/opt/local/lib
  27. setenv CFLAGS -I/opt/local/include -L/opt/local/lib
  28. sh:
  29. export LDFLAGS=-L/opt/local/lib
  30. export CFLAGS=-I/opt/local/include -L/opt/local/lib