|
RE: [Vxl-users] Strange errors when building VXL on MSVC++
From: Jain, Ankit <ankit.jain@lm...> - 2004-07-22 17:57
|
CMake did not give me any errors while it was performing its test nor
while it was building the files. However, it fails the compiler test if
I don't explicitly create a build directory myself, or if I don't
specify a particular path where a build directory should be created.
Also, when I tried to run "cl", an "Unable to Locate Component" message
popped up with the text "This application has failed to start because
mspdb71.dll was not found. Re-installing the application may fix this
problem." I searched for this file and found it in two different
locations, but apparently the cl program cannot find it. (When I ran
"devenv", it opened up the development environment with no problems).
The files you listed did not exist in the build directory, but I found
the following files in the source directory:
vcl/vcl_config_compiler.h.in
vcl/vcl_config_manual.h.in
vcl/vcl_config_headers.h.in
core/vxl_config.h.in
I'm guessing that these *.in files should have been converted into
regular *.h files by CMake and placed into the build directory.
What's the next step?
Thanks for the help,
Ankit
-----Original Message-----
From: Amitha Perera [mailto:perera@...]
Sent: Thursday, July 22, 2004 6:58 AM
To: Jain, Ankit
Cc: vxl-users@...
Subject: Re: [Vxl-users] Strange errors when building VXL on MSVC++
On Wed 21 Jul 2004, Jain, Ankit wrote:
> I'm using Microsoft Visual C++ .net v2003 Standard on Windows XP, and
> I'm having some trouble building the VXL libraries. I downloaded the
> zip file (VXL v1.0.0) and used CMake v2.0 to generate the build files.
> I kept all the default settings: all the cache values are ON except
> BUILD_SHARED_LIBS, BUILD_TARGETJR, and BUILD_VGUI. I then opened the
> 'vxl.sln' project and compiled the 'ALL_BUILD' project, which proceeds
> to compile all 355 projects in the 'vxl.sln'. When it is finished
> compiling, 307 have succeeded, 42 have failed, and 6 are unaccounted
> for. The mbl project fails because of too many syntactical errors of
> the following types:
>
> 1) error C2059: syntax error : ':'
> 2) error C2143: syntax error : missing '{' before ':'
> 3) error C2059: syntax error : '<'
> 4) error C2143: syntax error : missing '{' before '<'
These kinds of errors at the start of a file typically imply that the
configuration did not succeed.
When you initially ran CMake, it should have run a series of tests to
determine your compiler capabilities. Did you get any error, while
running CMakeSetup, about CMake not being able to run a compiler?
Open a command shell and run "cl" and "devenv". Both should cause
something to happen. If the response is something like "command not
found", then your compiler setup is not complete.
If the programs are found, and you received no errors during the
CMakeSetup phase, please check for the files
vcl/vcl_config_compiler.h
vcl/vcl_config_manual.h
vcl/vcl_config_headers.h
core/vxl_config.h
in your *build* directory (not your source directory).
Check that these files *do not* exist in your source directory.
If all these files are there, mail them and we can try to figure out
what may be wrong.
Amitha.
|
| Thread | Author | Date |
|---|---|---|
| RE: [Vxl-users] Strange errors when building VXL on MSVC++ | Jain, Ankit <ankit.jain@lm...> |