Hi Stefan,
I have deleted all SOFA folders in the superbuild directory, i.e., SOFA-cmake,
SOFA-src, SOFA-build, and all ex-SOFA[n] directories. Then start the superbuild
again.
the SOFA tarball has been downloaded correctly into the SOFA-src folder,then
it was also extracted into ex-SOFA1234.Afterward,the folders named ex-SOFA1234
are renamed to SOFA-src. but there are still other errors happen.
5>C:\MITK\bin\SOFA-src\modules\sofa/component/engine/Distances.inl
(81): error C2001: newline in constant
5>
5>C:\MITK\bin\SOFA-src\modules\sofa/component/engine/Distances.inl
(86): error C2958: the left parenthesis??("( found
at"c:\mitk\bin\sofa-src\modules
\sofa\component\engine\distances.inl(81)??)was not matched correctly
5>
5> 38>
5>
5> 38>Generation failed.
5>52>LINK : fatal error LNK1104: cannot open file ??..\..\..\..\lib\Debug
\SofaMiscEngine_1_0d.lib??
5>
5> 52>
5>
5> 52>Generation failed.
5>53>LINK : fatal error LNK1104: cannot open file ??..\..\..\..\lib\Debug
\SofaComponentMisc_1_0d.lib??
5>
5> 53>
5>
5> 53>Generation failed.
19>2>LINK : fatal error LNK1104: cannot open file
??SofaComponentMain_1_0d.lib??
19>
19> 2>
19>
19> 2>Generation failed.
19>3>LINK : fatal error LNK1104: cannot open file
??..\..\..\bin\Debug\Simulation.lib??
19>
19> 3>
19>
19> 3>Generation failed.
I am using the following versions:
Windows 7;MITK 2013.10.04;QT 4.8.4;Visual Studio 2010;CMake 2.8.11;
Thanks in advance,
Wenchao zhao
------------------ Original ------------------
From: "Kislinskiy, Stefan";<s.kislins...@dkfz-heidelberg.de>;
Date: Mon, Oct 7, 2013 04:02 AM
To: "Wenchao"<455760...@qq.com>;
"mitk-users"<mitk-users@lists.sourceforge.net>;
Subject: AW: [mitk-users] Generation failed
Hi!
General information about the build process of external projects:
when CMaking the superbuild, for each external project a folder named
[project]-cmake is generated in the build directory. During the superbuild,
tarballs of the project sources are downloaded into these folders. Then they
are extracted into a temporary folder named ex-[project]1234, the current
folders named [project]-src are deleted if already present and the folders
named ex-[project]1234 are renamed to [project]-src. The superbuild then CMakes
these [project]-src folders and generate the build-files into [project]-build,
where the projects are built into as well. Some projects like boost need an
install-step afterwards in which case a [project]-install folder is created and
the built project is installed into it.
Specific information about your error message:
It seems that the SOFA tarball has been downloaded correctly into the
SOFA-cmake/src folder. It was also extracted into ex-SOFA1234 but an error
occurred when deleting the old SOFA-src folder or when ex-SOFA1234 was about to
be renamed to SOFA-src. We can't tell you the exact reason for that by looking
at your error message but with the information provided above you might get an
idea of what went wrong.
Sometimes there is an operating system fault during all the file operations. A
general solution could be to delete all SOFA folders in the superbuild
directory, i.e., SOFA-cmake, SOFA-src, SOFA-build, and all ex-SOFA[n]
directories. Then CMake the superbuild again and start the superbuild. If the
same error occurrs again you have to dig deeper. Try to manually delete the
SOFA-src folder and rename the ex-SOFA1234 folder to SOFA-src. Then you might
get a more descriptive error message from Windows about what's going wrong here.
Best,
Stefan
________________________________________
Von: Wenchao Zhao [455760...@qq.com]
Gesendet: Sonntag, 6. Oktober 2013 09:01
An: mitk-users
Betreff: [mitk-users] Generation failed
Hi all,
I know that the third-party libraries can be uesed with MITK by default and can
,in part,be automatically downloaded during superbuild.Such as Boost , SOFA.
But,I am facing some issues with generation failed during superbuild now. the
Boost is failed to build,how to fix it?
Visual studio 2010 give me the following point:
one:
5> -- extracting... [analysis]
5> -- extracting... [rename]
5> CMake Error at SOFA-cmake/src/SOFA-stamp/extract-SOFA.cmake:50 (file):
5> file RENAME failed to rename
5>
5> C:/MITK/bin/ex-SOFA1234
5>
5> to
5>
5> C:/MITK/bin/SOFA-src
5>
5> because: Directory not empty
5>
5>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error
MSB6006: ??cmd.exe?? exited with code 1.
5>
5>Generation failed.
two:
19>57>LINK : fatal error LNK1104:cannot open file
??..\..\..\bin\Debug\Simulation.lib??
19>
19> 57>
19>
19> 57>Generation failed.
Any idea of why this happens, and how it could be fixed, would be highly
appreciated .
I am using the following versions:
Windows 7;MITK 2013.10.04;QT 4.8.4;Visual Studio 2010;CMake 2.8.11;
Thanks in advance,
Wenchao zhao
.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users