File: README.macosx

package info (click to toggle)
devil 1.7.8-10
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 9,796 kB
  • sloc: ansic: 45,835; sh: 15,558; cpp: 4,009; python: 1,300; pascal: 792; makefile: 307; cs: 192; fortran: 5
file content (40 lines) | stat: -rw-r--r-- 1,303 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
How do I compile the library ?
----------------------------------

Download and install. In the Unix way it will produce a shared library.
Using the project file for the Apple Developer Tools you can get a framework.
However they are without the external libraries which are needed to be installed.
However the packages are somehow out of date. but anyone can setup a new project easily. 
DevIL was packaging them along with the distribution but that's was to hard to mantain
for each update of these libraries.


Libraries needed to compile DevIL* :
-----------------------------------

Needs the same libraries as the *nix version.

Installation:
-------------
All the libraries can be easiliy installed from source, manually or using
some tools like the fink project or the darwinports project.

to use fink you must set the environment variables. for some libraries you must have
the PATH correctly set up to execute programs installed with the tools.

tcsh:
setenv LDFLAGS -L/sw/lib
setenv CFLAGS -I/sw/include -L/sw/lib

sh:
export LDFLAGS=-L/sw/lib
export CFLAGS=-I/sw/includee -L/sw/lib

same thing with darwinports
tcsh:
setenv LDFLAGS -L/opt/local/lib
setenv CFLAGS -I/opt/local/include -L/opt/local/lib

sh:
export LDFLAGS=-L/opt/local/lib
export CFLAGS=-I/opt/local/include -L/opt/local/lib