epix-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ePiX-users] Compilation failing after install


From: Ben Tillman
Subject: Re: [ePiX-users] Compilation failing after install
Date: Sun, 2 Dec 2007 16:22:54 +1100

On 02/12/2007, Andrew D. Hwang <address@hidden> wrote:
On Sun, 2 Dec 2007, Ben Tillman wrote:

> [when I] try to compile an .xp file, I get the following error:
>
> $ epix -v sphere.xp
> epix: Processing sphere.xp:
> epix: /usr/bin/g++ epix-3232/sphere- tmp.cc -w -o epix-3232/sphere
> -I/usr/local/include -L/usr/local/lib/epix -lm -lepix
> epix: WARNING: Compilation of sphere.xp failed
>
Hi Ben,

Unfortunately I don't have easy access to an XP machine, so I can't try to
duplicate your problem in the near future. In view of Jay's idea about
symbolic links, please try these commands from Cygwin, at least one of
which presumably fails. The "%" represents the prompt.

1. (a) Create a symbolic link.

   % ln -s sphere.xp sphere.cc

   (b) If (a) fails, make a copy with recognizable extension.

   % cp sphere.xp sphere.cc

2. Compile and link.

   % /usr/bin/g++ sphere.cc -I/usr/local/include -L/usr/local/lib/epix -lm -lepix

Does either command work, and if not, what errors do you get?

Best,
Andy

Andrew D. Hwang                 address@hidden
Department of Math and CS       http://mathcs.holycross.edu/~ahwang
College of the Holy Cross       (508) 793-2458 (Office: 320 Swords)
Worcester, MA, 01610-2395       (508) 793-3530 (fax)


_______________________________________________
ePiX-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/epix-users

Both commands work, which is great news. Thanks! Unfortunately, the output file isn't recognisable by gv or elaps. Here is the output of ls -la in case these file sizes look abnormal:

$ ls -la sp*
lrwxrwxrwx 1 Ben None       9 Dec  2 15:49 sphere.cc -> sphere.xp
-rwxr-xr-x 1 Ben None 3911576 Dec  2 16:17 sphere.eepic
-rw-r--r-- 1 Ben None    1228 Aug  2 05:43 sphere.xp
-rw-r--r-- 1 Ben None   31961 Dec  2 16:16 sphere_eepic.log
-rw-r--r-- 1 Ben None     195 Dec  2 10:58 sphere_xp.log

Though I'm convinced it's something I'm doing now. Thanks for your time.

Cheers,
Ben

reply via email to

[Prev in Thread] Current Thread [Next in Thread]