FSIC Messageboard
  Tech Talk
  Hippie's plugins under Linux

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Hippie's plugins under Linux
Pachy
Pilot
posted 11-01- 09:26 AM     Click Here to See the Profile for Pachy   Click Here to Email Pachy     Edit/Delete Message   Reply w/Quote
A few months ago Hippie offered to provide us with Linux versions of his plugins. Nobody was interested...

Well since I've reinstalled Linux on my main machine, I've been playing with AC3D a bit and it seems to work better than under windows... Except I can't get most of Hippie's plugins to work. I recompiled them succesfully, but at startup I get a message like this:

code:

platform: Linux
TCL/TK appname: ac3d
OpenGL windows - sharing orth contexts
tcl socket id: sock4
AC3D v3.0a by Andy Colebourne (andy@comp.lancs.ac.uk)
http://www.comp.lancs.ac.uk/computing/users/andy/ac3d.html

Environment variable AC3D_HOME is unset
using current dir - /home/gael/ac3d3linux
prefs file /home/gael/.ac3dprefs loaded OK.
OpenGL 1.2 Mesa 3.2.1 by Brian Paul, renderer: Mesa X11
Font3D plugin V1.0 - by Andy Colebourne
DXF Export Plugin - V1.1 - by Andy Colebourne
Targa picture loader V1.0 - by John Stone/Andy Colebourne
PPM picture loader V1.0 - by John Stone
Gif image loader V1.0 - Based on Dive code by Emanuel Frecon
SV Export Plugin - Version 1.0 - by Andy Colebourne
SV Import Plugin - Version 1.0 - by Andy Colebourne
Add LOD Object Plugin - Version 1.0 - by Greg O'Sullivan
Add Model Object Plugin - Version 1.0 - by Greg O'Sullivan
DOF calculator Plugin - Version 1.0 - by Greg O'Sullivan
LOD Export Plugin - Version 1.0 - by Greg O'Sullivan
failed to load plugin '/home/gael/ac3d3linux/plugins/rotate.p'
error: /home/gael/ac3d3linux/plugins/rotate.p: undefined symbol: op_matrix_identity
LOD Import Plugin - Version 1.0 - by Greg O'Sullivan
failed to load plugin '/home/gael/ac3d3linux/plugins/ol_export.p'
error: /home/gael/ac3d3linux/plugins/ol_export.p: undefined symbol: Eul_FromHMatrix
failed to load plugin '/home/gael/ac3d3linux/plugins/ol_import.p'
error: /home/gael/ac3d3linux/plugins/ol_import.p: undefined symbol: op_matrix_copy
Swap Object Plugin - Version 1.0 - by Greg O'Sullivan
SwitchIn_2 Plugin - Version 1.0 - by Greg O'Sullivan
failed to load plugin '/home/gael/ac3d3linux/plugins/tiffload.p'
error: /home/gael/ac3d3linux/plugins/tiffload.p: undefined symbol: TIFFOpen
failed to load plugin '/home/gael/ac3d3linux/plugins/verts.p'
error: /home/gael/ac3d3linux/plugins/verts.p: undefined symbol: op_matrix_copy
Settings have been saved to /home/gael/.ac3dprefs


Ok, what do I do know ;-)?

IP: Logged

Hippie
Pilot
posted 11-01- 04:50 PM     Click Here to See the Profile for Hippie     Edit/Delete Message   Reply w/Quote
Patchy,

Here is a crude Makefile to build the plugins under Linux, you need ac_plugin.h in the directory and a symbolic link "ofiles" which points to the ac3d object files directory
(ln -s /path/to/ac3d/ofiles ofiles).
Some of the plugins have DOS style paths in them where they call tcl routines, the backslashes need to be changed for forward slashes.


CC=gcc

all: ol_import.p ol_export.p lod_import.p lod_export.p switchin_2.p dof.p rot
ate.p swap.p add_model.p add_lod.p verts.p

ol_import.p: ol_import.o matrix.o EulerAngles.o
gcc -shared -o ol_import.p ol_import.o matrix.o EulerAngles.o ofiles/*.o

lod_import.p: lod_import.o matrix.o EulerAngles.o
gcc -shared -o lod_import.p lod_import.o matrix.o EulerAngles.o ofiles/*
.o

ol_export.p: ol_export.o matrix.o EulerAngles.o
gcc -shared -o ol_export.p ol_export.o matrix.o EulerAngles.o ofiles/*.o

lod_export.p: lod_export.o matrix.o EulerAngles.o
gcc -shared -o lod_export.p lod_export.o matrix.o EulerAngles.o ofiles/*
.o

switchin_2.p: switchin_2.o
gcc -shared -o switchin_2.p switchin_2.o ofiles/*.o

dof.p: dof.o matrix.o EulerAngles.o
gcc -shared -o dof.p dof.o matrix.o EulerAngles.o ofiles/*.o


rotate.p: rotate.o matrix.o EulerAngles.o
gcc -shared -o rotate.p rotate.o matrix.o EulerAngles.o ofiles/*.o

swap.p: swap.o
gcc -shared -o swap.p swap.o ofiles/*.o

add_lod.p: add_lod.o
gcc -shared -o add_lod.p add_lod.o ofiles/*.o

add_model.p: add_model.o
gcc -shared -o add_model.p add_model.o ofiles/*.o

verts.p: verts.o matrix.o EulerAngles.o
gcc -shared -o verts.p verts.o matrix.o EulerAngles.o ofiles/*.o

clean:
rm *.p
rm *.o


Hippie

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c