Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not guaranteed to build against libraries built with bundled Tcl/Tk source #6

Open
crcox opened this issue Sep 29, 2015 · 0 comments
Open

Comments

@crcox
Copy link
Owner

crcox commented Sep 29, 2015

On one of my Ubuntu 14.04 boxes, there is a system-level install of Tcl/Tk 8.6.1. Lens is building against this rather than the distributed 8.6.4.

I've ensured that all #include "tcl.h" and #include "tk.h" statements in the Lens source use "" and not <>, and checked that gcc is getting the local lib directory:

gcc -o /home/chris/src/lens/Bin//lens-2.63 \
    ../Obj//main.o ../Obj//type.o ../Obj//util.o ../Obj//network.o \
    ../Obj//connect.o ../Obj//example.o ../Obj//act.o ../Obj//train.o \
    ../Obj//object.o ../Obj//command.o ../Obj//control.o ../Obj//display.o \
    ../Obj//graph.o ../Obj//parallel.o ../Obj//networkCom.o \
    ../Obj//connectCom.o ../Obj//exampleCom.o ../Obj//trainCom.o \
    ../Obj//objectCom.o ../Obj//displayCom.o ../Obj//graphCom.o \
    ../Obj//parallelCom.o ../Obj//canvRect.o ../Obj//extension.o \
     -L/home/chris/src/lens/usr/local/lib \ # relevant line
     -ltk8.6 -ltcl8.6 -lm -lX11 -export-dynamic -ldl
@crcox crcox changed the title Not guaranteed to build against bundled libraries built with bundled Tcl/Tk source Not guaranteed to build against libraries built with bundled Tcl/Tk source Sep 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant