I found two XDR libraries available for Windows: PortableXDR and bsd-xdr (I'm not sure what XDR libmesh uses). The first one was hard to compile with Visual Studio 2010 since it is based on automake. I was able to compile the latter, bsd-xdr, with Visual Studio 2010, but I found it is not reading binary files correctly. However, it seems it is fine with ascii files.
On Mon, Mar 25, 2013 at 10:42 PM, Roy Stogner <[email protected]>wrote: > > On Mon, 25 Mar 2013, Kyunghoon Lee wrote: > > I wonder if it is possible to install libmesh on Windows using the Visual >> Studio compiler. I personally tried to compile stripped downed reduced >> basis and libmesh files, and got into a trouble because of XDR. I guess >> using Cygwin would be much easier since in that case we can easily reuse >> all settings worked for Linux. However, I have to use the Visual Studio >> compiler since Cygwin compilers are not supported by MATLAB 64 bit on >> Windows. I'd appreciate any advice/tips. >> > > One person attempted years ago to get libMesh working on Visual > Studio, but the VS version he had was horribly flawed (this was around > 2005 and it didn't support some features of the 1998 C++ standard) and > he just switched to Linux before ever completing a patch. > > The newest Visual Studio might be fine, so long as you set up your own > build system and it includes or generates a libmesh_config.h that > disables any operating system features that Microsoft doesn't support. > > What errors did XDR give you? > --- > Roy > ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
