02-28-2013, 08:07 AM | #1 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Feb 2013
Location: Campinas, SP - Brazil
Device: android
|
Building on Windows with MinGW
I'm trying to build sigil on Windows, but I'm facing several erros.
The last error I'm facing is with Xerces. I need to compile xercesc? Quote:
|
|
02-28-2013, 08:21 AM | #2 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
While it may in fact turn out to be possible to build Sigil on Windows with MinGW, you'll note in the build instructions that only Microsoft's Visual C++ is supported. Not a very satisfying answer, I know, but there it is. Be prepared to go this alone.
And yes, Xerces is a required component. |
Advert | |
|
02-28-2013, 08:32 AM | #3 |
Junior Member
Posts: 4
Karma: 10
Join Date: Feb 2013
Location: Campinas, SP - Brazil
Device: android
|
|
02-28-2013, 08:42 AM | #4 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
What did your initial cmake command look like to build the make files in the first place? On Windows, I'd imagine the "NMake Makefiles" and the "Visual Studio 10" are the only Generator options that are going to work "out of the box," so to speak. Otherwise, you're probably looking at modifying the CMake conf files before you even create the Make files. Last edited by DiapDealer; 02-28-2013 at 09:30 AM. |
|
02-28-2013, 08:50 AM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Feb 2013
Location: Campinas, SP - Brazil
Device: android
|
Thanks. I will wait for more answer and search a little more.
|
Advert | |
|
02-28-2013, 09:13 AM | #6 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'd say your first step will be searching the CMake configuration files (CMakeLists.txt) and making sure all "if (MSVC)" and/or "if ( WIN32 )" sections are ported to make sense in a MinGW environment. It's likely to be a fairly daunting task. You're basically going to be telling cmake how to create the proper make files with the "MinGW Makefiles" Generator from the ground up -- since the current included configurations only take the "NMake" and "Visual Studio" Generators into consideration on the Windows platform.
Last edited by DiapDealer; 02-28-2013 at 09:25 AM. |
02-28-2013, 08:21 PM | #7 |
Sigil & calibre developer
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
MinGW cannot be used to build Sigil. The build system requires Microsoft's compiler.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building a PC | Corpsegoddess | Lounge | 26 | 12-31-2012 09:02 AM |
New: Building Windows 8 Blog (simple) | spedinfargo | Recipes | 0 | 10-09-2011 09:15 PM |
Building for OS X | rhaleblian | Calibre | 7 | 09-17-2011 11:40 AM |
Building you own e-book | M T McGuire | Writers' Corner | 18 | 04-11-2011 04:29 PM |
Building Windows Binaries | itimpi | Calibre | 4 | 01-30-2009 01:22 PM |