m20io / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

How compile the MoNav code #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
i study the CH algorithm and first use the MoNav code, i want learn the 
code,but when i use it in my computer, it always compile failed.
i only compile the part of preprocesser.
my enviroment:
Windows XP
Visul studio2005 or eclipst + g++
i use some lib, for example mapnik、libxml、boost and so on
but it also compile failed.

can you give me an instruction in details about compile the preprocesser? 
Thanks vey much

Original issue reported on code.google.com by zhangxin...@gmail.com on 18 Jan 2011 at 4:39

GoogleCodeExporter commented 8 years ago
Compiling the preprocessor is a bit complicated on Windows.

You have to have the correct version of the libraries ( debug / release / 32Bit 
/ 64 Bit ) and have them named correctly ( e.g. Qt for Windows does not add the 
"lib" prefix to libraries as it does under Linux, yet some libraries still use 
it ).

I find it easier to compile using the Visual Studio Command Prompt and qmake + 
nmake.

Then you have to add "INCLUDEPATH+=XXX" to your qmake command line and replace 
XXX with your library header include path.

Add "QMAKE_LIBDIR+=XXX" to add your library folder to the library search path.

http://code.google.com/p/monav/wiki/CompileGuide might help a bit.

Original comment by veaac.fd...@gmail.com on 27 Jan 2011 at 10:59

GoogleCodeExporter commented 8 years ago

Original comment by veaac.fd...@gmail.com on 9 Feb 2011 at 11:00