help > Problem of building V3D in Win32
Showing 1-6 of 6 posts
Display:
Results per page:
Aug 25, 2010  06:08 AM | Cheng Yan
Problem of building V3D in Win32
Following your "README", when I get to the setp 4, for my windows XP, I should type the command as the line:
Windows, MSVC compiler, 32bit build: "build_msvc32.bat -B -j4"

My question is that when I start the cmd.exe of windows, and type the command, but it gives a error about "can't find the command build_msvc32.bat". So why? How should I build the V3D in this step?
Aug 25, 2010  03:08 PM | Hanchuan Peng
RE: Problem of building V3D in Win32
I am not sure which version you are checking out. First of all, the latest check out may not work on your machine, as we are still experimenting with some new modules.

The "stable" version is v2.515, before I used the new MYLIB for tiff reading.

In that case, you need to have the precompiled LIBTIFF ready.

Assume you have that, the build_msvc should work.

Or, I would strongly recommend you use MinGW for win32 compiling. Just run build.bat.
Aug 26, 2010  07:08 AM | Cheng Yan
RE: Problem of building V3D in Win32
Dr. Peng,
Thank you for your reply.
Following your recommendation, I install MinGW for win32, and run build.bat. but come across errors.

when step into the command:
"if a%1==a-B (
call make clean
call make release
) else (
call make release %*
)"

output an errors: Fatal: 'FORCE' does not exist - don't know how to make it

So why?
Aug 26, 2010  08:08 PM | Hanchuan Peng
RE: Problem of building V3D in Win32
not sure what is the error. never saw it before.

Follow the instructions below to compile.

(1) ensure on the command line you can see qmake and mingw-make. That means you need to add both qt and ming into your system path.

(2) then enter v3d_main/v3d folder.

(3) type "qmake v3d.pro"

(4) type "make"

(5) then you should be all set if you have the LIBV3DTIFF compiled.

If you have not produced LIBV3DTIFF, you need to produce it. To do so, you better install msys (a tool comes with mingw) because LIBTIFF needs to run configure. Assume you have installed msys, then you can compile LIBTIFF in the following way.

(a) launch the msys window

(b) enter the v3d_main/common_lib/src_packages, unzip libtiff3.8.2.1.

(c) run ./configure --prefix=/path-to--common_lib/lib

(d) run "make"

(e) run "make install"

(f) rename libtiff.a as libv3dtiff.a


Then go back v3d_main/v3d folder, and run "make", the libv3dtiff will be linked.

if you want to compile the release_plugins, just enter its folder, then run "build_plugindemos.bat" under command line.

There may be some typos in the above message, but it should be easy to figure out if there were any.

good luck.



Aug 31, 2010  05:08 AM | Cheng Yan
RE: Problem of building V3D in Win32
What's the difference between 'mingw-make' and 'make'? I can't find the 'make.exe' in mingw folder.
Aug 31, 2010  11:08 AM | Hanchuan Peng
RE: Problem of building V3D in Win32
just an alias.