libcvd-members
[Top][All Lists]

## Re: [libcvd-members] Problems installing LibCVD on Windows XP

 From: Edward Rosten Subject: Re: [libcvd-members] Problems installing LibCVD on Windows XP Date: Tue, 10 May 2011 14:21:51 +0100 (BST) User-agent: Alpine 2.00 (LSU 1167 2008-08-23)

```On Tue, 10 May 2011, Downey, Frances wrote:

```
```Hi Ed

I have done what you suggested and now get this error.
```
```
Hi,

```
I think I know the problem. That version of cvd has a bug in it where it doesn't compile properly if there are spaces in the filenames. The two choices are, either make a directory without spaces in the name from which to do the compiling, or get a copy of the latest version of libCVD.
```
```
You can get the latest version from the CVS repository. Probably the most convenient way is using http://www.tortoisecvs.org/
```
-Ed

```
```Build Log

Build started: Project: libcvd, Configuration: Debug|Win32

Command Lines

Creating temporary file "c:\Documents and Settings\Frances\My Documents\Visual
Studio
2010\libcvd-20100511\libcvd-20100511\build\vc2008\Debug\BAT000002116767440.bat" with
contents
[
@echo off

copy c:\Documents and Settings\Frances\My Documents\Visual Studio
2010\libcvd-20100511\libcvd-20100511\build\vc2005\config.h ..\..\cvd

if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0019: A tool returned an error code from "Performing Custom
Build Step"

exit 1

:VCEnd
]
Creating command line """c:\Documents and Settings\Frances\My Documents\Visual Studio
2010\libcvd-20100511\libcvd-20100511\build\vc2008\Debug\BAT000002116767440.bat"""
Output Window

Performing Custom Build Step
The system cannot find the file specified.
Project : error PRJ0019: A tool returned an error code from "Performing Custom Build
Step"
Results

Build log was saved at "file://c:\Documents and Settings\Frances\My Documents\Visual
Studio 2010\libcvd-20100511\libcvd-20100511\build\vc2008\Debug\BuildLog.htm"
libcvd - 1 error(s), 0 warning(s)

Frances Downey
Randall Division of Cell and Molecular Physics
King's College London
3rd Floor, New Hunt's House
Guy's Campus
London SE1 1UL

Tel: 020 7848 6519
Mob: 07737 488 348
________________________________________
Sent: 10 May 2011 10:53
To: Downey, Frances
Subject: Re: [libcvd-members] Problems installing LibCVD on Windows XP

On Tue, 10 May 2011, Downey, Frances wrote:

```
```Hi all

I am trying to install LibCVD onto my computer, which uses Windows XP,
but I think it is failing to compile. I have cut and paste the Build Log
file below. Does anyone know what is going on? Is it possible to fix?
```
```

I believe you need to do the following:

create a directory tree somewhere, e.g.:

c:\local\include
c:\local\lib
c:\local\bin

Now set up some environment variables to tell the libCVD build process

set the variables:

INCLUDEDIR=c:\local\include
LIBDIR=c:\local\lib
BINDIR=c:\local\bin

Then compile the prerequisites and put them in the new directory tree:

Compile libjpeg, and put the headers in c:\local\include and the .lib
or dll file in c:\local\lib.

Then do the same for pthreads-win32. I believe it is available
pre-compiled.

is no compiling).

Now libCVD should compile. If you use the installer, it will put libCVD in
the directory tree that you created.

In order to use libCVD, you need only point the compiler at
c:\local\include and c:\local\lib, and it will find all the correct
libraries.

-Ed

```
```Build Log

Build started: Project: libcvd, Configuration: Debug|Win32

Command Lines

Build machine environment variables may not be correct.
Creating temporary file "c:\Documents and Settings\Frances\My Documents\Visual
Studio 2010\libcvd-20100511\libcvd-20100511\build\vc2008\Debug\BAT0000043716596.bat"
with contents
[
@echo off

copy c:\Documents and Settings\Frances\My Documents\Visual Studio
2010\libcvd-20100511\libcvd-20100511\build\vc2005\config.h ..\..\cvd

if errorlevel 1 goto VCReportError

goto VCEnd

:VCReportError

echo Project : error PRJ0019: A tool returned an error code from "Performing Custom
Build Step"

exit 1

:VCEnd
]
Creating command line """c:\Documents and Settings\Frances\My Documents\Visual Studio
2010\libcvd-20100511\libcvd-20100511\build\vc2008\Debug\BAT0000043716596.bat"""
Output Window

Performing Custom Build Step
The system cannot find the file specified.
Project : error PRJ0019: A tool returned an error code from "Performing Custom Build
Step"
Project : warning PRJ0018 : The following environment variables were not found:
\$(LIBDIR)
Results

Build log was saved at "file://c:\Documents and Settings\Frances\My Documents\Visual
Studio 2010\libcvd-20100511\libcvd-20100511\build\vc2008\Debug\BuildLog.htm"
libcvd - 1 error(s), 0 warning(s)

Frances Downey
Randall Division of Cell and Molecular Physics
King's College London
3rd Floor, New Hunt's House
Guy's Campus
London SE1 1UL

Tel: 020 7848 6519
Mob: 07737 488 348
_______________________________________________
libcvd-members mailing list
https://lists.nongnu.org/mailman/listinfo/libcvd-members

```
```
--
Edward Rosten                     Machine Intelligence Laboratory
http://mi.eng.cam.ac.uk/~er258          Department of Engineering
+44 1223 7 65960                          University of Cambridge

```
```
--
Edward Rosten                     Machine Intelligence Laboratory
http://mi.eng.cam.ac.uk/~er258          Department of Engineering
+44 1223 7 65960                          University of Cambridge

```