Lukas/Pavel - thank you again very much for your assistance in helping me get Hermes2D compiled!
This is a summary of my lessons learned and issues encountered. Hopefully this will help others that may run into similar issues:
Note- my build was on Windows 7 x64bit OS with Visual Studio 12
I used MinGW for compiling AMD and UMFPACK
**General**
# when running make files on windows I needed to replace windows style syntax with it's windows equivalents. For example:
-Replace all ';' symbols in the makefile command syntax with the windows equivalent '&'
-Remove all './' references in the makefile command syntax when the purposes is to execute a script or process. Windows does not use these.
**uFconfig.mk**
-I set as
follows
CC = gcc
# CFLAGS = -O
# C++ compiler (also uses CFLAGS)
CPLUSPLUS = g++
-Change your rm and mv commands to their windows equivalent:
# delete and rename a file
RM = del
MV = move
**AMD**
-When building demo remove the diff commands from the demo Makefile
#Building Hermes
%PATH% variable
I made a mistake here and accidentally set my %PATH% to <root>\dependecies\bin rather than <root>\dependencies\bin (eg. spelling mistake). I think there might have been a spelling mistake in the docs but it was still a silly mistake I made and took we a while to figure out.
Resolve unfound cmake variables for XERCES and XSD
add the following variables to CMake.vars
set(XSD_ROOT "c:/software/Hermes2D/hermes-master/dependencies")
set(XERCES_ROOT "c:/software/Hermes2D/hermes-master/dependencies")
A few .h files weren't found when I complied herems. Adding their paths to the include directory in Visual 2012 as follows resolved the issue.
Project -> Properties -> Configuration Properties -> VC++ Directories -> Include Directories:
Resolve LIBCMTD.lib LNK2005 errors when building hermes2D (This only happened to me once)
http://support.microsoft.com/kb/148652 (Solution # 1)
Resolve unresolved linker error in Xerces
http://stackoverflow.com/questions/10506582/xerces-c-unresolved-linker-error