Win32でImager::AnimeFace、の続き

Win32でImager::AnimeFace、の続き

 「CLAPACK-3.1.1-VisualStudio.zipを使ってみたら?」とのことで、そちらのヘッダとライブラリを使うことにしてnvxsのmakeをしてみる。

 MinGWgccは3.4.5なので、こちらに書かれているように./configureしたあとのMakefileから-march=nativeと-mfpmath=sseを外す必要があるみたい。

 そうそう、configureでのprefixは

$ ./configure --prefix=c:/strawberry/c

とかすればいいはず。あるいはMSYSで指定してるなら/mingwあたりかな。

 で、makeは無事に終了。

 ここさえ通ればImager::AnimeFaceのmakeだけだから楽勝かなと思ったら、どうもシンボルを見つけられないらしく

AnimeFace.o:AnimeFace.c:(.text+0x35): undefined reference to `nv_matrix3d_alloc'
AnimeFace.o:AnimeFace.c:(.text+0x58): undefined reference to `nv_matrix3d_alloc'
AnimeFace.o:AnimeFace.c:(.text+0x7b): undefined reference to `nv_matrix3d_alloc'
AnimeFace.o:AnimeFace.c:(.text+0x9b): undefined reference to `nv_matrix3d_alloc'
AnimeFace.o:AnimeFace.c:(.text+0xbd): undefined reference to `nv_matrix3d_alloc'
AnimeFace.o:AnimeFace.c:(.text+0xdf): more undefined references to `nv_matrix3d_alloc' follow
AnimeFace.o:AnimeFace.c:(.text+0xf3): undefined reference to `nv_matrix_zero'
AnimeFace.o:AnimeFace.c:(.text+0x101): undefined reference to `nv_matrix_zero'
AnimeFace.o:AnimeFace.c:(.text+0x10f): undefined reference to `nv_matrix_zero'
AnimeFace.o:AnimeFace.c:(.text+0x11d): undefined reference to `nv_matrix_zero'
AnimeFace.o:AnimeFace.c:(.text+0x12b): undefined reference to `nv_matrix_zero'
AnimeFace.o:AnimeFace.c:(.text+0x2ba): undefined reference to `nv_gray'
(以下略)

のようにリンク時にエラーが出たところでとりあえず終了。

 そういやsakuraのサーバでmakeした時もシンボルが解決できなかったんだよなぁ。あちらは実行時に「Undefined symbol "nv_face_mlp_parts"」でしたが。