Re: [Kicad-developers] Compiling KiCAD release version March 2011
Hello Brian, I was able to compile KiCAD successfully after your help. Only thing was I had to apply the patch after I checked out the development source code to kicad-dev in your instructions. Thank you for the detailed instructions. Best Regards, Milind On Mon, Mar 21, 2011 at 5:09 PM, Brian Sidebotham brian.sidebot...@gmail.com wrote: On 21 March 2011 21:11, Dick Hollenbeck d...@softplc.com wrote: The interesting thing about those instructions is that it highlights the [new?] fact that wxWidgets can now be built on Windows without MSYS, or CYGWIN. This is a significant development. And if true, it now means that CMake can probably drive the invocation of wxWidgets build process: cd wxMSW-2.8.11/build/msw mingw32-make -f makefile.gcc SHARED=0 UNICODE=1 USE_OPENGL=1 BUILD=release mingw32-make -f makefile.gcc SHARED=0 UNICODE=1 USE_OPENGL=1 BUILD=debug using CMake's external project mechanism. I think this is perfectly possible. But I also have to modify the /include/wx/msw/setup.h file as indicated too, otherwise you get the list of problems that Milind has run into. Cmake can handle patching before building though, so it shouldn't be a problem. I could be hired to help you, but I won't spend a moment on Windows for free. Sorry. But with this information, I expand my suggestion that a Windows developer also enhance or write a CMake script so that it builds everything needed for Windows. This way it knows what is built, and where it is. The same can be one on linux for Windows, as I mentioned late last week. But this is an expansion of the idea to include: on Window for Windows. Code blocks is a side show in this discussion and plays no role in building if CMake is the underlying build tool. I might be able to find some time to investigate that. Now my car is finally on the road, I might actually have some spare time in the evenings! Best Regards, Brian. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Compiling KiCAD release version March 2011
On 23 March 2011 19:38, Milind Gupta milind.gu...@gmail.com wrote: Hello Brian, I was able to compile KiCAD successfully after your help. Only thing was I had to apply the patch after I checked out the development source code to kicad-dev in your instructions. Thank you for the detailed instructions. Best Regards, Milind Hi Milind, Ah yes, I can see the error there. I'll fix that ASAP. Thanks for the feedback. Best Regards, Brian. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Compiling KiCAD release version March 2011
On 22 March 2011 00:25, Dick Hollenbeck d...@softplc.com wrote: On 03/21/2011 04:30 PM, Milind Gupta wrote: Sorry I am still lost. So are you suggesting not to use windows? The response was more general than your specific problem, and targeted at those developers who have the skills, time and desire to support Windows. Brian looks like uour guy. Brian, I'm sure you know about the file( DOWNLOAD ) support within CMake and all the gnuwin32 utilities such as patch or sed. With these building blocks, it should be possible to conger up magic from a single CMakeLists.txt script that builds everything needed, one could even go so far as downloading and installing mingw itself (optional). CMake would have to be installed first of course. Sure, could even have a script which installs bazaar, no end to it. We are getting a couple of these help me build Kicad requests per week now. So achieving hero status is within reach :) Feel free to give the mechanism any name that might immortalize you. :) TIA, Dick Hi Dick, I will look at it this weekend and see what I can come up with to make life even easier than it is now (I think cmake is already a great system). I don't really see much problem in automating the process though, all the facilities are there to do it in cmake. It would be nice to give something back, it's been a long while since I've done any patches or anything and I have used KiCad a lot for both commercial and non-commercial boards. :) Best Regards, Brian. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Compiling KiCAD release version March 2011
Am I missing something in the setup? \ CMake? ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Compiling KiCAD release version March 2011
Thanks for the reply. I did go through the CMAKE steps. I am following these steps: http://www.valvers.com/OpenHardware-KiCad But compilation gives these errors. Milind On Mon, Mar 21, 2011 at 11:39 AM, Dick Hollenbeck d...@softplc.com wrote: Am I missing something in the setup? \ CMake? ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Compiling KiCAD release version March 2011
Sorry I am still lost. So are you suggesting not to use windows? On Mon, Mar 21, 2011 at 2:11 PM, Dick Hollenbeck d...@softplc.com wrote: On 03/21/2011 04:00 PM, Milind Gupta wrote: Thanks for the reply. I did go through the CMAKE steps. I am following these steps: http://www.valvers.com/OpenHardware-KiCad But compilation gives these errors. Milind On Mon, Mar 21, 2011 at 11:39 AM, Dick Hollenbeck d...@softplc.com mailto:d...@softplc.com wrote: Am I missing something in the setup? \ CMake? The interesting thing about those instructions is that it highlights the [new?] fact that wxWidgets can now be built on Windows without MSYS, or CYGWIN. This is a significant development. And if true, it now means that CMake can probably drive the invocation of wxWidgets build process: cd wxMSW-2.8.11/build/msw mingw32-make -f makefile.gcc SHARED=0 UNICODE=1 USE_OPENGL=1 BUILD=release mingw32-make -f makefile.gcc SHARED=0 UNICODE=1 USE_OPENGL=1 BUILD=debug using CMake's external project mechanism. I could be hired to help you, but I won't spend a moment on Windows for free. Sorry. But with this information, I expand my suggestion that a Windows developer also enhance or write a CMake script so that it builds everything needed for Windows. This way it knows what is built, and where it is. The same can be one on linux for Windows, as I mentioned late last week. But this is an expansion of the idea to include: on Window for Windows. Code blocks is a side show in this discussion and plays no role in building if CMake is the underlying build tool. Dick ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Compiling KiCAD release version March 2011
On 21 March 2011 21:00, Milind Gupta milind.gu...@gmail.com wrote: Thanks for the reply. I did go through the CMAKE steps. I am following these steps: http://www.valvers.com/OpenHardware-KiCad But compilation gives these errors. Milind Hi Milind, As they are my instructions (mainly so I don't forget some of the stuff in there) I should provide you some support. The problem you list is exactly as I noted on that page, it looks like you have not built wxWidgets with the modified setup.h. You must edit that file to set wxUSE_GLCANVAS to 1 and wxUSE_UNICODE to 1. This is not the same as setting the command line options for enabling unicode and open-gl. You will need to edit this file in the wxWidgets source code and then clean and recompile wxWidgets. I promise those instructions work, I did a clean build the other day and added in the __WXDEBUG__ definition for the debug build. If you still have troubles, I am willing to step through a fresh compilation by the instructions to make sure I've not messed anything up. Best Regards, Brian. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Compiling KiCAD release version March 2011
On 03/21/2011 04:30 PM, Milind Gupta wrote: Sorry I am still lost. So are you suggesting not to use windows? The response was more general than your specific problem, and targeted at those developers who have the skills, time and desire to support Windows. Brian looks like uour guy. Brian, I'm sure you know about the file( DOWNLOAD ) support within CMake and all the gnuwin32 utilities such as patch or sed. With these building blocks, it should be possible to conger up magic from a single CMakeLists.txt script that builds everything needed, one could even go so far as downloading and installing mingw itself (optional). CMake would have to be installed first of course. Sure, could even have a script which installs bazaar, no end to it. We are getting a couple of these help me build Kicad requests per week now. So achieving hero status is within reach :) Feel free to give the mechanism any name that might immortalize you. :) TIA, Dick ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Compiling KiCAD release version March 2011
Thank you Brian and Dick, Sorry about my amateur questions. I did modify the setup.h file but did not recompile wxwidgets[?]. I thought it was an include file that works when I compile kicad. I will try again and will get back if I have a problem. Thank you very much. Milind On Mon, Mar 21, 2011 at 5:09 PM, Brian Sidebotham brian.sidebot...@gmail.com wrote: On 21 March 2011 21:11, Dick Hollenbeck d...@softplc.com wrote: The interesting thing about those instructions is that it highlights the [new?] fact that wxWidgets can now be built on Windows without MSYS, or CYGWIN. This is a significant development. And if true, it now means that CMake can probably drive the invocation of wxWidgets build process: cd wxMSW-2.8.11/build/msw mingw32-make -f makefile.gcc SHARED=0 UNICODE=1 USE_OPENGL=1 BUILD=release mingw32-make -f makefile.gcc SHARED=0 UNICODE=1 USE_OPENGL=1 BUILD=debug using CMake's external project mechanism. I think this is perfectly possible. But I also have to modify the /include/wx/msw/setup.h file as indicated too, otherwise you get the list of problems that Milind has run into. Cmake can handle patching before building though, so it shouldn't be a problem. I could be hired to help you, but I won't spend a moment on Windows for free. Sorry. But with this information, I expand my suggestion that a Windows developer also enhance or write a CMake script so that it builds everything needed for Windows. This way it knows what is built, and where it is. The same can be one on linux for Windows, as I mentioned late last week. But this is an expansion of the idea to include: on Window for Windows. Code blocks is a side show in this discussion and plays no role in building if CMake is the underlying build tool. I might be able to find some time to investigate that. Now my car is finally on the road, I might actually have some spare time in the evenings! Best Regards, Brian. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp 32F.png___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp