Building Taucs under Cygwin

109 views
Skip to first unread message

Andrew Somorjai

unread,
Aug 9, 2011, 11:17:04 AM8/9/11
to matrixprogramming
I'm trying to build the taucs library under cygwin with no cygwin.mk
file or at least that is the error I'm getting after running ./
configure and then make?

I'm trying to use the taucs library compiled for MSVS instead with
codeblocks/mingw/gcc and I'm getting and error:

ld.exe||cannot find -latlas.lib|

I'm trying to compile the meshfree++ main.cpp program on this page:

http://www.cec.uchile.cl/~aortizb/codes.htm

Evgenii Rudnyi

unread,
Aug 9, 2011, 2:39:51 PM8/9/11
to matrixpr...@googlegroups.com
On 09.08.2011 17:17 Andrew Somorjai said the following:

I am not sure if I understand what you are doing. If you use gcc for
linking, then why do you want to use Visual Studio at all?

The message by itself

cannot find -latlas.lib

means that you do not have file libatlas.lib.a.

I would advise you first to choose either you use gcc or Visual Studio
and then to work within one environment. It is possible to mix them but
then you need to understand what are you doing.

Evgenii

Andrew Somorjai

unread,
Aug 9, 2011, 11:05:41 PM8/9/11
to matrixprogramming
I'm not using VS at all. The library that I downloaded called meshfree+
+ has a prebuilt library that is made for VS. I'm trying to start from
scratch and rebuilding the taucs library using cygwin so I could used
codeblocks/mingw/gcc to compile the meshfree++ program. Is there a
precompiled taucs library for GCC if so where?

Evgenii Rudnyi

unread,
Aug 10, 2011, 2:17:54 PM8/10/11
to matrixpr...@googlegroups.com
On 10.08.2011 05:05 Andrew Somorjai said the following:

I do not know. As far as I remember, it is pretty straightforward to
compile TAUCS under gcc (on Windows under Cygwin). You need however
additionally METIS and some optimized BLAS. Well, it is also easy to
compile METIS (you need version 4, not 5). As for BLAS you can use for
the start for example the old ATLAS that available here

http://matrixprogramming.com/files/bin/atlas-3.6-win.tar.gz

On my site MatrixProgramming you will find instruction on how compile
TAUCS and METIS under Visual Studio but as I have not documented on how
to compile them under gcc. Please just try it and if you see problems
just ask, then I will see what is would be necessary to document.

Evgenii

Andrew Somorjai

unread,
Aug 11, 2011, 10:47:11 PM8/11/11
to matrixprogramming
Nope... no luck. Now I'm getting an error:

ld.exe||cannot find -latlas|

I already tried compiling the libs you have using that document under
cygwin so I can use it with GCC and cygwin gave up with tons of errors
in make.

Evgenii Rudnyi

unread,
Aug 12, 2011, 1:22:01 PM8/12/11
to matrixpr...@googlegroups.com
On 12.08.2011 04:47 Andrew Somorjai said the following:

...

>
> Nope... no luck. Now I'm getting an error:
>
> ld.exe||cannot find -latlas|
>
> I already tried compiling the libs you have using that document
> under cygwin so I can use it with GCC and cygwin gave up with tons of
> errors in make.
>

I understand that when you do something for the first time than it is
not that easy. On the other hand you can consider this as an opportunity
to learn the process to compile better. To this end, you may want to
start with

http://matrixprogramming.com/2008/03/compilelink

The message above says that ld cannot find libatlas.a, so here it would
be necessary to understand why. If you describe in more detail what you
do and at what step you obtain such an error, then it would be easier to
give an advice.

Reply all
Reply to author
Forward
0 new messages