-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.GL_PROBLEMS
More file actions
42 lines (28 loc) · 1.43 KB
/
README.GL_PROBLEMS
File metadata and controls
42 lines (28 loc) · 1.43 KB
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
41
-- HOW TO FIX --
** If you have problems in the final linking stage of ReZound
because of GL libraries missing, you can try this: In the
top level source directory you should find a libtool.GL.patch
file. Change directories there and apply the patch:
[prompt]$ cd toplevel_source_dir
[prompt]$ patch < libtool.GL.patch
and then rerun 'make'. The patch must be applied *AFTER*
you have run configure. And if configure is re-run, it will
probably be necessary to apply the patch again since
configure will probably regenerate libtool.
** ALSO, if you build and installed the FOX library yourself,
then you can re-configure FOX with an '--with-opengl=no'
flag and reinstall FOX. However, if you're the one that built
FOX, then it probably required OpenGL at that time, or you
already used this flag to configure FOX and are not even reading
this document!
-- WHAT IT DOES --
** This patch simply hacks the libtool script to exclude GL
library references from the .la files' dependency_libs
value.
Unfortunatly, at this point, the FOX GUI library contains some
OpenGL widgets and thus wants to link with the OpenGL libraries.
ReZound does not use any of these OpenGL widgets and so excluding
the libraries from the link command works around the problem.
(Actually, this works because (hopefully) your linker does not
require a symbol referenced from a library if it was never called
by the applicating being linked with that library.)