After downloading OpenCv2.0 I run:
cd opencv
cmake CMakeList && make
on my Ubuntu 9.10 everything compiles fine. Then doing the same thing on a
Fedora 11 64 bits, the compilation fails.
Both machines have gcc 4.4.1
The error I get is:
[ 48%] Building CXX object
src/cxcore/CMakeFiles/cxcore_pch_dephelp.dir/cxcore_pch_dephelp.o
/home/rodrigob/OpenCV-2.0.0/src/cxcore/cxcore_pch_dephelp.cxx:1:111: error:
/home/rodrigob/OpenCV-2.0.0/src/cxcore/_cxcore.h: No such file or
directory
/home/rodrigob/OpenCV-2.0.0/src/cxcore/cxcore_pch_dephelp.cxx:1:111: error:
one or more PCH files were found, but they were invalid
/home/rodrigob/OpenCV-2.0.0/src/cxcore/cxcore_pch_dephelp.cxx:1:111: error:
use -Winvalid-pch for more information
make[2]: ***
[src/cxcore/CMakeFiles/cxcore_pch_dephelp.dir/cxcore_pch_dephelp.o] Error
1
make[1]: *** [src/cxcore/CMakeFiles/cxcore_pch_dephelp.dir/all] Error 2
I tried also the SVN trunk r2252 but I get the same error.
From my point of view this looks like a bug.
Nobody/Anonymous
Build system
linux-specific
Public
|
Date: 2009-10-28 12:58 Good news, I have found a workaround to my problem: |
|
Date: 2009-10-27 18:25 Here is also my CMakeCache.txt . I guess that with it you can compare your |
|
Date: 2009-10-27 18:19 Which additional information can I send ? |
|
Date: 2009-10-27 18:00 I tried the trunk on Fedora 11 x64 and it builds fine; default cmake |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Pending | 2009-10-27 18:19 | rodrigo_b |
| close_date | 2009-10-27 18:00 | 2009-10-27 18:19 | rodrigo_b |
| status_id | Open | 2009-10-27 18:00 | vp153 |
| resolution_id | None | 2009-10-27 18:00 | vp153 |
| close_date | - | 2009-10-27 18:00 | vp153 |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use