Workflow of statismo building on VS12 in win7 help

102 views
Skip to first unread message

xiongyun...@gmail.com

unread,
Apr 5, 2015, 10:18:05 PM4/5/15
to statism...@googlegroups.com

Has anyone built statismo on VS12 in win7. 
First, I try to use cmake to built it. Set the source code from /superbuild.
Then, I configure to use the compilation of VS12.
Finally, I generate it.
Unfortunately, it doesn't work because  "Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)"
The ReadMe file says that To make the installation easier, statismo provides a superbuild that downloads and compiles all the dependencies.
In win7, do I need to downloads all the dependencies?

Marcel Luethi

unread,
Apr 7, 2015, 2:54:26 AM4/7/15
to xiongyun...@gmail.com, statism...@googlegroups.com
Hi,


Sorry for the late reply (due to the eastern holidays).

The superbuild is tested with VS12 on Windows 7. It should download all dependencies, compile and install them for you.
You get error messages like this, when you run CMake using the wrong source folder. But you explicitly mention that you used the superbuild folder in CMake.

Can you send us the full output from CMake, such that we can see what goes wrong?

Thanks.

Marcel

--
You received this message because you are subscribed to the Google Groups "statismo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to statismo-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Marcel Lüthi, PhD
Department of Mathematics and Computer Science
University of Basel
Tel: +41 61 267 04 42

Christoph Langguth

unread,
Apr 8, 2015, 5:35:00 AM4/8/15
to xiongyun...@gmail.com, statism...@googlegroups.com
Hi,

just a short addition. First, you can find a log of a successful
(command-line) build here: https://statismo.cs.unibas.ch/logs/log-1.txt

Maybe you can find some hints concerning how things should be invoked,
and where stuff looks/behaves differently on your machine.

Anyway, while looking through it, I realized once more that the Visual
Studio naming scheme is nothing short of utterly confusing. So yes, we
are actually using "Visual Studio 2012", but that is in fact Visual
Studio 11. I don't know if you have the same version, or if you have a
newer one? (maybe VS12 is nicknamed "Visual Studio 2014"? :-O ... I
don't regularly use Windows, so I'm not up to date on that...)

HTH
Christoph

>
> The superbuild is tested with VS12 on Windows 7. It should download all
> dependencies, compile and install them for you.
> You get error messages like this, when you run CMake using the wrong
> source folder. But you explicitly mention that you used the superbuild
> folder in CMake.
>
> Can you send us the full output from CMake, such that we can see what
> goes wrong?
>
>
> On Mon, Apr 6, 2015 at 4:18 AM, <xiongyun...@gmail.com
> <mailto:xiongyun...@gmail.com>> wrote:
>
>
> *Has anyone built statismo on VS12 in win7. *

Patrik Huber

unread,
Apr 8, 2015, 6:01:01 AM4/8/15
to statism...@googlegroups.com, xiongyun...@gmail.com, christoph...@unibas.ch
Hi,

Just to clear up the versioning mess. Initially, there was a Visual Studio 2014 CTP (Alpha) and they gave it version number 14 (VC14, so they skipped one) to make both numbers be the same and remove the confusion. But it recently got renamed to Visual Studio 2015 Preview, and still shows up as VC14, so the confusion might not have gone away.

The usual (or most-seen) naming convention is that you say either "Visual Studio XXXX" with a year or (far less common) "VCXX" (e.g. VC12) and you mean the version number. When somebody says "VSXX", e.g. VS13, it's usually an abbreviation for "Visual Studio 2013", which would be VC12. 

The newer CMake versions show both version numbers in the help, e.g. "Visual Studio 12 = Generates Visual Studio 12 (2013) project files.", but actually that is very confusing as well as it differs again from the naming convention I explain above (in my opinion CMake screwed up here and used something that's not corresponding to the "common usage" in the internet).

Cheers,

Patrik

Ma Edward

unread,
Jan 14, 2017, 10:20:37 AM1/14/17
to statismo
hello,
I meet the same problem when I use cmake to built the source code. Could you give me some advice to adress the problem. 
CMake verson:3.6.3; vtk verson 7.0; win10; vs20115
Looking forward to your reply.
regards
Edward

在 2015年4月6日星期一 UTC+8上午10:18:05,Yunyang Xiong写道:

Marcel Luethi

unread,
Jan 17, 2017, 5:25:20 AM1/17/17
to Ma Edward, statism...@googlegroups.com
Hi Edward,

If you want to build it using vs2015, you currently need to  use the branch vs2015 of statismo
https://github.com/statismo/statismo/tree/vs2015

Sorry for all the confusion. A new release of statismo, which makes this whole procedure much easier should be available very soon (within the next few weeks).

Best regards,

Marcel


--
You received this message because you are subscribed to the Google Groups "statismo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to statismo-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages