--- In [email protected], Bodann OSLO <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm Menkilah a C++ developer. > I want help about integrating KiCAD on Visual C++ 2005 and compiling it with nmake.exe (makefile.g95). > I have already try with nmake but there is error: "d était inattendu. NMAKE: fatal error U1077: 'for': return code '0x1' " > > What is the problem? > > Thanks! > > > > > >
You have a lot of work to do, the GNU make file is not compatible with nmake. In Kicad you will find the keyword typeof is used throughout the different programs because it is used in a typeless swap macro. To overcome this problem you need to install the boost libraries and include the typeof emulation headers for MSC_VER > 1310. I wrote an include file that must be included in the main header file fctsys.h as #ifdef __MSVC__ #include "msvc_kicad.h" #endif that handles including the boost libraries and takes care of a couple of other minor compatibility issues. __MSVC__ must be globally defined. If you are using visual C++ 2005 or greater you need to include additional make information to handle the side by side assemblies required for the operating system to load the application. If possible I suggest using Visual C++ .net 2003 to avoid this complication. I could provide you with more information if you want it, let me know. I have compiled 32 and 64 bit msvc versions using 2003 .net, 2005, and 2008 versions on MSVC. Carl ______________________________________________________________________ _______ > Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr >
