[Haskell-cafe] Linkage errors in scenegraph
Gregory D. Weber
gdweber at indiana.edu
Wed Jun 3 15:23:37 EDT 2009
Thank you very much. Adding these lines to scenegraph.cabal makes it work:
other-modules: Graphics.SceneGraph.Matrix
Graphics.SceneGraph.MySTM
Graphics.SceneGraph.ReadImage
Graphics.SceneGraph.TGA
Graphics.SceneGraph.Utils
I've contacted the author, who seems willing to fix the "official" package
-- although he'd like to find someone else to maintain it.
Greg
On 2009-May-17, Sven Panne wrote:
> Am Sonntag, 17. Mai 2009 01:07:55 schrieb Gregory D. Weber:
> > I'd like to get the scenegraph package
> > (http://hackage.haskell.org/cgi-bin/hackage-scripts/package/scenegraph)
> > to work, but am encountering linkage errors.
> > [...]
> > Also, I notice that in the cabal file for scenegraph, the
> > list of exposed modules
> >
> > Exposed-Modules: Graphics.SceneGraph,
> > Graphics.SceneGraph.Basic,
> > Graphics.SceneGraph.Vector,
> > Graphics.SceneGraph.Render,
> > Graphics.SceneGraph.SimpleViewport,
> > Graphics.SceneGraph.GraphViz,
> > Graphics.SceneGraph.Library,
> > Graphics.SceneGraph.Dump,
> > Graphics.SceneGraph.Textures
> >
> > does not include Graphics.SceneGraph.Matrix, but that should only mean
> > that I can't call functions of that module directly -- not that the
> > other SceneGraph modules can't call them -- right? [...]
>
> That basically means that the scenegraph package is broken. ;-) Internal
> modules have to be listed in "other-modules:", a section the Cabal file
> doesn't contain. As a quick fix, you can add all missing modules in this
> section, but this should of course be fixed in the official package, too.
>
> http://www.haskell.org/cabal/release/cabal-latest/doc/users-
> guide/authors.html#buildinfo
>
> Cheers,
> S.
--
___ ___ __ _
/ _ \ / _ \| | | | Gregory D. Weber, Associate Professor
/ /_\// / | | | /\ | | Indiana University East
/ /_\\/ /__| | |/ \| | http://mypage.iu.edu/~gdweber/
\____/\_____/\___/\__/ Tel. (765) 973-8420; FAX (765) 973-8550
More information about the Haskell-Cafe
mailing list