Hi,

after solving my problem with the library (thanks again Tim!) I want to see if someone has seen this problem and if there is a solution.

The problem is that sometime the dashed lines would disappear from the display; as if their width were zero. The strange things is that if I select it they will appears perfectly. This happen only if the zoom is not so high and only on my high-resolution display (1600x900 in a laptop, never seen in the lower one).

In the following screenshot, there are two identical squares in the drawing --- one selected and one not.

problem at low zoom: http://imgur.com/yFUWyzE
no problem at higher zoom: http://imgur.com/jHfHrWg

This is version 3.7.48 which came precompiled in Ubuntu 13.10.

Before reporting this bug, I tried to compile a recent version to see if it was fixed. I report my attempts here, I hope they can help someone and/or help adjusting the documentation.

So, firstly I tried to compile the git 3.8 version. I discovered I need to install the following packages for Ubuntu:

sudo apt-get install build-essential libx11-dev libxt-dev automake libtcl-dev tk-dev libxaw7-dev

(maybe it would be nice to know if I have installed more or the correct one --- it would be a useful addition to the compilation instructions).

After ./configure, the first shot at make failed: it seems that it was searching for aclocal-1.11 and automake-1.11 explicitly, when I have version 1.13. Ok, I symlinked 1.13 to 1.11 and it went on.

But then the compilation failed with:

    elements.o: In function `splinebutton':
/home/romano/tmp/xcircuit-3.8/elements.c:1114: undefined reference to `XtAddEventHandler'

...and a millions more. Ok, I gave up. I downloaded the tarball for 3.8.57 and now I could compile.
Unfortunately, when checking with

     export XCIRCUIT_LIB_DIR=./lib
     export XCIRCUIT_SRC_DIR=./lib/tcl
    ./lib/tcl/xcircuit.sh

as suggested by the docs, I had an error --- xcircuit.sh was not made from xcircuit.sh.in (I do not know why). So I recompiled with:

    ./configure --prefix=/home/romano/tmp/testbin

and then make, make install. I can now run /home/romano/tmp/testbin/bin/xcircuit, and:

1) the bug is still there and

2) something has gone bad, the appearance of the app is bad and it seems not to read my ~/.xcircuitrc-3.8 at all. See here: http://imgur.com/rsLDMiD

So --- what am I doing wrong this time?

Thanks!
            Romano








_______________________________________________
Xcircuit-dev mailing list
Xcircuit-dev@opencircuitdesign.com
http://www.opencircuitdesign.com/mailman/listinfo/xcircuit-dev

Reply via email to