SlideShare a Scribd company logo
1 of 4
Download to read offline
NEWS       ABOUT       BOOK       DOWNLOAD          FORUM       LOGIN        TRACKER




       BOOK NAVIGATION                   Compiling - Windows
                                         The officially supported Windows build platform for OpenCPN 2.6 beta and later is Microsoft Visual C++ 2010
  OpenCPN User Manual                    Express. It is still possible to perform the build with Visual Studio 2008, but if you want to create installation
  Developer Manual                       packages, expect versioning problems.
     Latest Beta                         Before you begin, update your Windows. If still using XP, Service Pack 3 is needed.
     Development
     Developer's Guide
          Compiling - Linux
                                         Important note before you start
          Compiling - Mac OS X           The order of the steps described bellow really matters. Don't skip any steps not explicitly marked as
          Compiling - Windows            optional and don't change their order unless you really know what you are doing. It's an excellent idea to read
            Internationalization         the whole text first and make sure you understand what it's talking about, especially if you are new to software

          Code Formatting                development. If you encounter any problems, please get to us in the forum and tell us where you are failing so
                                         we can help you and improve these instructions for the others.
     PlugIn API
     Troubleshooting
                                         Preparing the toolchain
     Vector Palette
     User Interface Styling
     Bug and Feature                     VC++ 2010 Express
     Tracking                            Get it http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visua...
     OpenCPN Release                     Run the setup and click through the installation wizard, Silverlight and SQL Server are not needed for OpenCPN,
     History                             so you can save some time and space by not installing them.
                                         After installation, register it (Help->Register Product), otherwise you will have just 30 days to use it.
  Supplementary Hardware
                                         If you are on XP or Vista, you can supposedly make VS 2010 run faster: http://news.softpedia.com/news/Speed-
                                         Up-Visual-Studio-2010-on-XP-SP3-and-Vista-SP2-152520.shtml
                                         Service Pack 1
                         SEARCH          It is essential to perform ALL the updates you can, as if you don't install the Visual Studio 2010 Service Pack 1,
                                         you will not be able to convert the WX projects to VS 2010 format. Go to Help menu and select Check for
                                         Updates. It may be necessary to repeat this step.

                            SOCIAL       VC++ 2008 Express Edition
                                         If you don't intend to debug the WX sources, you can skip this step alltogether. If you do, you can still try to
Facebook.com/OpenCPN
                                         skip this step now and get back to it later in case you experience problems converting the WX projects to the
   Like       1,932 people like this .
                                         VS2010 format.
                                         Get it from http://www.microsoft.com/visualstudio/en-us/products/2008-editions/express
                                         Run the setup and click through the installation wizard, Silverlight and SQL Server are not needed for OpenCPN,
                                         so you can save some time and space by not installing them


                                         Git for Windows
                                         Get it from http://msysgit.github.com/ (You want Git for Windows. Not MSysGit)
                                  ADS
                                         The defaults for all the installation settings are fine except the following:
                                           * On the „Adjusting your PATH environment“, select „Run Git from the Windows Command Prompt“
                                           * On the „Choosing CR/LF behavior“ select „Commit line endings as they are“
Developers Now
Welcome                                  If you want a tutorial, have a look at the series of articles starting at
Forget Servers. Focus                    http://www.lostechies.com/blogs/jason_meridth/archive/2009/06/01/git-for...
on Code. CSS. HTML.
LESS. SFTP. GIT.
developers.squarespace.com               Cmake
                                         Get it from http://cmake.org/cmake/resources/software.html
Talend Open                              While installing it's advisable to let the setup program add cmake to the system PATH variable
Source ESB
Easy-to-Use Graphical                    Gettext
Interface. Try The Free
                                         Install Poedit from http://www.poedit.net/ - it's version of gettext is the best available out there.
ESB Download Now!
www.talend.com/Free_ESB_Software
                         …               Add gettext to your PATH - if you installed Poedit, right-click My Computer, select Properties... and on the
                                         Advanced tab click on Environment Variables button and add C:Program FilesPoeditbin to the PATH system
Introducing Nexus                        variable
7
Thin, light & portable.                  NSIS (Unicode)
Made for Google Play  .                  Needed only in case you intend to build the installation package for OpenCPN. Not needed for normal
Buy now for $199
google.com/nexus                         development.
                                         Get it from http://code.google.com/p/unsis/downloads/list
Windows X P                              The NSIS Unicode 2.46 setup file is also included in the GIT repository -> ..buildwinNSIS_Unicodensis-2.46-
Service Pack                             Unicode-setup.exe
Download Windows XP                      Direct download link: http://code.google.com/p/unsis/downloads/detail?name=nsis-2.46.3-Unicode...
Service Packs. Free PC
World Downloads.
P C World.com/XP -Service-P ack
                                         Download and install it. Due to a "bug" in CMake, which only looks at "HKEY_LOCAL_MACHINESOFTWARENSIS" for
                                         the installation location of NSIS and the Unicode version adds its registry key in
                                         "HKEY_LOCAL_MACHINESOFTWARENSISUnicode", there is some registry tweaking needed.
2012 Grants
Grant Funding May Be   Just copy the value (it's the installation path) of the "HKEY_LOCAL_MACHINESOFTWARENSISUnicode" key to
Available See If You
Qualify!               "HKEY_LOCAL_MACHINESOFTWARENSIS".
www.C lassesUSA.com    Alternatively you can just run the batch file 'CopyNSISUnicodeRegKey.bat' which is also included in the GIT
                       repository -> ..buildwinNSIS_UnicodeCopyNSISUnicodeRegKey.bat


                       This means if you also want to use the ANSI NSIS version you first have to change the value of
                       "HKEY_LOCAL_MACHINESOFTWARENSIS" registry key according to the installation path of the respective version
                       you want to use.


                       To make the installer package use proper language name transaltions, it's necessary to modify file X:Program
                       FilesNSISUnicodeContribLanguage filesNorwegian.nsh and change the line
                       !insertmacro LANGFILE "Norwegian" "Norwegian"
                       to
                       !insertmacro LANGFILE "Norwegian" "Norsk"



                       Pre-requisities
                       WxWidgets
                       Download from wxMSW-2.8.12-Setup.exe from http://www.wxwidgets.org/downloads/#latest_stable and install it


                       Necessary modifications
                       Go to the folder where you installed/unpacked wxWidgets and edit the file includewxmswsetup.h
                       Set:
                              #define wxUSE_GRAPHICS_CONTEXT 1
                              #define wxUSE_GLCANVAS       1



                       Compile wxWidgets alternative 1: From command line (recomended and faster)
                       Start up your Visual Studio 2010 Command Prompt and navigate to

                       cd C:${WXDIR}buildmsw

                       Then compile using the makefile with the following command :
                       nmake -f makefile.vc BUILD=release MONOLITHIC=0 SHARED=1 UNICODE=1 USE_GDIPLUS=1 USE_OPENGL=1


                       If you want to fully debug OpenCPN, build the wxWidgets debug dlls also.
                       nmake -f makefile.vc BUILD=debug MONOLITHIC=0 SHARED=1 UNICODE=1 USE_GDIPLUS=1 USE_OPENGL=1



                       Compile wxWidgets alternative 2: From Visual Studio IDE (optional)
                       If you want to later build and debug wxWidgets itself using the Visual Studio IDE, open
                       C:${WXDIR}buildmswconfig.vc and change the line saying "UNICODE = 0" to UNICODE = 1

                       Convert the solution to VC++ 2010 format
                       Open C:${WXDIR}buildmswwx_dll.dsw and answer Yes to all the project conversion questions.
                       Save the solution (Ctrl-S) You can ignore the warnings
                       If you keep getting the "Project files cannot be loaded. error is: X:XXXXXXXXX.dsp: error: Project upgrade
                       failed." errors, you have to take the intermediate step of converting the projects to VS2008 format - install
                       VC++ 2008 as described earlier and
                       Convert the solution to VC++ 2008 format
                       Open C:${WXDIR}buildmswwx_dll.dsw and answer Yes to all the project conversion questions.
                       Save the solution (Ctrl-S)
                       Close VC++ 2008
                       Run VC++ 2010
                       Open the solution (C:${WXDIR}buildmswwx_dll.sln) and answer yes to all the questions of the conversion
                       wizard
                       You can ignore the warnings
                       Save the solution


                       In the properties of project core, add GDIPlus.lib into Configuration Properties -> Linker -> Input ->
                       Additional Dependencies for both DLL Unicode Debug and DLL Unicode Release configurations



                       Compile Debug
                       Select DLL Unicode Debug from the configurations list and build the solution
                       odbc fails to compile – can be ignored as it's not used by OpenCPN


                       Compile Release
                       Select DLL Unicode Release from the configurations list and build the solution
                       odbc fails to compile – can be ignored as it's not used by OpenCPN


                       Making your life with wxWidgets easier
                       You should add C:${WXDIR}libvc_dll to your PATH environment variable. After doing it, you have to restart the
                       running programs (cmd.exe, cmake-gui, VisualStudio etc.) to make sure they "see" the changed environment
                       variables. If you are unsure, restart Windows and everything will be set. If you don't do it, you will have problems
                       running your debug builds later.


                       If you have problems with cmake not finding your wxWidgets installation, try creating another environment
variable called WXWIN with a value of C:${WXDIR} (for example C:wxWidgets-2.8.12) - it will help cmake find the
libraries automatically Again, don't forget to restart the running programs involved in the build.
                       .


Getting the OpenCPN source
Run cmd.exe or better, if you want to have the toolchain ready from the command line, „Visual Studio 2008
Command Prompt“ from Start menu → Programs → Microsoft Visual C++ 2008 Express Edition → Visual Studio
Tools


To get the source for the first time, issue
git clone git://github.com/OpenCPN/OpenCPN.git


To update the code you cloned before, cd into the source directory and issue
git fetch --all




Building the OpenCPN source
Create a directory named build under the topmost source directory


Configuring alternative 1: From the command line (recommended):

cd into the build directory
issue
cmake -G „Visual Studio 10“ ..



Configuring alternative 2: Using Cmake-gui

Run „CMake (cmake-gui)“ from Start menu → Programs → Cmake 2.8


Fill in your source and build directories


Click on the Configure button


If you are asked to choose the generator, select „Visual Studio 9 2008“


The information which appeared is red and the Generate button stays disabled? Just hit Configure again...
Ignore GTK2_GTK_INCLUDE_DIR-NOTFOUND and wxwidgets_wxrc_EXECUTABLE_NOTFOUND


Click on the Generate button


Solution and project files should be created in your build directory


IMPORTANT suggestion:
Use CMAKE GUI tool to configure OpenCPN to verify that wxWidgets_LIB_DIR points to the {root}/lib/vc_dll
directory This check is necessary since the cmake FindWxWidgets module sometimes finds the wrong source
         .
and/or build config.


Compiling Alternative 1: From the command line

Run „Visual Studio Command Prompt (2010)“ from Start menu → Programs → Microsoft Visual C++ 2010 Express


cd into the build directory
issue
cmake -–build .


Wait for the build to complete.


You may get errors when building the plugins as they are built before opencpn (to be fixed in the configuration
process). Simply running the build again fixes the problem.


Compiling Alternative 2: From Visual Studio
Open the solution created by cmake (build/OpenCPN.sln)


Compile the whole solution or individual projects


You have to compile project opencpn before you can compile any plugins (to be fixed in the configuration
process)


If you want to debug, don't forget to select opencpn as a start-up project and if you didn't add the WX DLL path
to the PATH environment variable earlier, copy the needed WX DLLs to the build directory (Debug or Release,
depending on which version you build). The DLLs can be found in C:${WXDIR}libvc_dll and you will need:


Debug: wxbase28ud_net_vc_custom.dll, wxbase28ud_vc_custom.dll, wxbase28ud_xml_vc_custom.dll,
wxmsw28ud_adv_vc_custom.dll, wxmsw28ud_core_vc_custom.dll
Release: wxbase28u_net_vc_custom.dll, wxbase28u_vc_custom.dll, wxbase28u_xml_vc_custom.dll,
  wxmsw28u_adv_vc_custom.dll, wxmsw28u_core_vc_custom.dll




  Optional: Creating the installer package
  Build the PACKAGE project and opencpn_2.X.Y_setup.exe is created in your build directory (replace X with
  the release and Y with the build number)
  Currently the installer packs the DLLs from the git repository into the package. You have to replace them with
  your custom built DLLs after the installation if you want to experiment with different versions and build settings
  of the wxWidgets libraries.


  Running the debug build
  To be able to run the debug build, you must create a folder named uidata in your build directory and copy the
  following files from srcbitmaps into it: styles.xml, toolicons_traditional.png,
  toolicons_journeyman.png, toolicons_journeyman_flat.png
  To be able to use vector charts, you must copy folder named s57data (data/s57data) from the source tree into
  your build directory, otherwise vector charts support will be turned off at runtime.




   ‹ Compiling - Mac OS X                                                                      Internationalization ›

  Printer-friendly version




Hos ting and bandwidth for OpenCPN.org is generous ly donated by SouthBay Network


OpenCPN is open s ource s oftware

More Related Content

What's hot

Flex 3 Cookbook 中文版V1
Flex 3 Cookbook 中文版V1Flex 3 Cookbook 中文版V1
Flex 3 Cookbook 中文版V1yiditushe
 
Managing Web Infrastructure Systems with Windows PowerShell 2.0 Demo Script
Managing Web Infrastructure Systems with Windows PowerShell 2.0 Demo ScriptManaging Web Infrastructure Systems with Windows PowerShell 2.0 Demo Script
Managing Web Infrastructure Systems with Windows PowerShell 2.0 Demo ScriptMicrosoft TechNet
 
Key Steps in Developing .NET Core Applications
Key Steps in Developing .NET Core ApplicationsKey Steps in Developing .NET Core Applications
Key Steps in Developing .NET Core ApplicationsDamir Dobric
 
Chicago alm user group git demo script and notes
Chicago alm user group   git demo script and notesChicago alm user group   git demo script and notes
Chicago alm user group git demo script and notesDave Burnison
 
DevHelper Installation and User Documentation
DevHelper Installation and User DocumentationDevHelper Installation and User Documentation
DevHelper Installation and User DocumentationPatrick O'Conor
 
important DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And Interviewsimportant DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And InterviewsRahul Jain
 
Uyuni Community Hours 29.05.2020
Uyuni Community Hours 29.05.2020Uyuni Community Hours 29.05.2020
Uyuni Community Hours 29.05.2020Pau Garcia Quiles
 
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1ICS User Group
 
Visual Studio commands
Visual Studio commandsVisual Studio commands
Visual Studio commandsPVS-Studio
 
Flashplayer crash
Flashplayer crashFlashplayer crash
Flashplayer crashMatei Cezar
 
Re: Putting multiple .avi on a DVD
Re: Putting multiple .avi on a DVDRe: Putting multiple .avi on a DVD
Re: Putting multiple .avi on a DVDcrysatal16
 
Improving Application Installation Ux In Windows 7
Improving Application Installation Ux In Windows 7Improving Application Installation Ux In Windows 7
Improving Application Installation Ux In Windows 7Vijay Raj
 
Introducing PowerShell 3.0
Introducing PowerShell 3.0Introducing PowerShell 3.0
Introducing PowerShell 3.0Jan Egil Ring
 
Creating InstallAnywhere Installations for Hybrid (32-Bit & 64-Bit) Windows A...
Creating InstallAnywhere Installations for Hybrid (32-Bit & 64-Bit) Windows A...Creating InstallAnywhere Installations for Hybrid (32-Bit & 64-Bit) Windows A...
Creating InstallAnywhere Installations for Hybrid (32-Bit & 64-Bit) Windows A...Flexera
 

What's hot (18)

Devenv command line
Devenv command lineDevenv command line
Devenv command line
 
Chapter5b McHaney
Chapter5b McHaneyChapter5b McHaney
Chapter5b McHaney
 
How To Install Windows 11
How To Install Windows 11How To Install Windows 11
How To Install Windows 11
 
Flex 3 Cookbook 中文版V1
Flex 3 Cookbook 中文版V1Flex 3 Cookbook 中文版V1
Flex 3 Cookbook 中文版V1
 
Managing Web Infrastructure Systems with Windows PowerShell 2.0 Demo Script
Managing Web Infrastructure Systems with Windows PowerShell 2.0 Demo ScriptManaging Web Infrastructure Systems with Windows PowerShell 2.0 Demo Script
Managing Web Infrastructure Systems with Windows PowerShell 2.0 Demo Script
 
Key Steps in Developing .NET Core Applications
Key Steps in Developing .NET Core ApplicationsKey Steps in Developing .NET Core Applications
Key Steps in Developing .NET Core Applications
 
Chicago alm user group git demo script and notes
Chicago alm user group   git demo script and notesChicago alm user group   git demo script and notes
Chicago alm user group git demo script and notes
 
DevHelper Installation and User Documentation
DevHelper Installation and User DocumentationDevHelper Installation and User Documentation
DevHelper Installation and User Documentation
 
important DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And Interviewsimportant DotNet Questions For Practicals And Interviews
important DotNet Questions For Practicals And Interviews
 
Uyuni Community Hours 29.05.2020
Uyuni Community Hours 29.05.2020Uyuni Community Hours 29.05.2020
Uyuni Community Hours 29.05.2020
 
Wsus sample scripts
Wsus sample scriptsWsus sample scripts
Wsus sample scripts
 
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1
bccon-2014 str06 ibm-notes-browser-plug-in_9.0.1
 
Visual Studio commands
Visual Studio commandsVisual Studio commands
Visual Studio commands
 
Flashplayer crash
Flashplayer crashFlashplayer crash
Flashplayer crash
 
Re: Putting multiple .avi on a DVD
Re: Putting multiple .avi on a DVDRe: Putting multiple .avi on a DVD
Re: Putting multiple .avi on a DVD
 
Improving Application Installation Ux In Windows 7
Improving Application Installation Ux In Windows 7Improving Application Installation Ux In Windows 7
Improving Application Installation Ux In Windows 7
 
Introducing PowerShell 3.0
Introducing PowerShell 3.0Introducing PowerShell 3.0
Introducing PowerShell 3.0
 
Creating InstallAnywhere Installations for Hybrid (32-Bit & 64-Bit) Windows A...
Creating InstallAnywhere Installations for Hybrid (32-Bit & 64-Bit) Windows A...Creating InstallAnywhere Installations for Hybrid (32-Bit & 64-Bit) Windows A...
Creating InstallAnywhere Installations for Hybrid (32-Bit & 64-Bit) Windows A...
 

Viewers also liked

WebSphere Business Process Simulationon
WebSphere Business Process SimulationonWebSphere Business Process Simulationon
WebSphere Business Process Simulationonrandikaucsc
 
GE Careers - How to Apply
GE Careers - How to ApplyGE Careers - How to Apply
GE Careers - How to ApplyGE Digital
 
The Near Future of CSS
The Near Future of CSSThe Near Future of CSS
The Near Future of CSSRachel Andrew
 
How to Battle Bad Reviews
How to Battle Bad ReviewsHow to Battle Bad Reviews
How to Battle Bad ReviewsGlassdoor
 
The Presentation Come-Back Kid
The Presentation Come-Back KidThe Presentation Come-Back Kid
The Presentation Come-Back KidEthos3
 
Activism x Technology
Activism x TechnologyActivism x Technology
Activism x TechnologyWebVisions
 
Classroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and AdolescentsClassroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and AdolescentsShelly Sanchez Terrell
 
The Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris LemaThe Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris LemaChris Lema
 

Viewers also liked (8)

WebSphere Business Process Simulationon
WebSphere Business Process SimulationonWebSphere Business Process Simulationon
WebSphere Business Process Simulationon
 
GE Careers - How to Apply
GE Careers - How to ApplyGE Careers - How to Apply
GE Careers - How to Apply
 
The Near Future of CSS
The Near Future of CSSThe Near Future of CSS
The Near Future of CSS
 
How to Battle Bad Reviews
How to Battle Bad ReviewsHow to Battle Bad Reviews
How to Battle Bad Reviews
 
The Presentation Come-Back Kid
The Presentation Come-Back KidThe Presentation Come-Back Kid
The Presentation Come-Back Kid
 
Activism x Technology
Activism x TechnologyActivism x Technology
Activism x Technology
 
Classroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and AdolescentsClassroom Management Tips for Kids and Adolescents
Classroom Management Tips for Kids and Adolescents
 
The Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris LemaThe Buyer's Journey - by Chris Lema
The Buyer's Journey - by Chris Lema
 

Similar to Compile open cpn on windows

InstallationGuide.pdf
InstallationGuide.pdfInstallationGuide.pdf
InstallationGuide.pdfsahirzakaria
 
Installing d space on windows
Installing d space on windowsInstalling d space on windows
Installing d space on windowsBibliounivbtn
 
2019 se installation_guide&knownissues
2019 se installation_guide&knownissues2019 se installation_guide&knownissues
2019 se installation_guide&knownissuestanveer578
 
BLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docxBLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docxmoirarandell
 
Creating, debugging and deploying extension packages for Microsoft Visual Stu...
Creating, debugging and deploying extension packages for Microsoft Visual Stu...Creating, debugging and deploying extension packages for Microsoft Visual Stu...
Creating, debugging and deploying extension packages for Microsoft Visual Stu...PVS-Studio
 
tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...
tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...
tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...Anil Sharma
 
DESKTOP GUI APP DEVELOPMENT USING PYTHON!
DESKTOP GUI APP DEVELOPMENT USING PYTHON!DESKTOP GUI APP DEVELOPMENT USING PYTHON!
DESKTOP GUI APP DEVELOPMENT USING PYTHON!Umar Yusuf
 
DESKTOP GUI APP DEVELOPMENT USING PYTHON!
DESKTOP GUI APP DEVELOPMENT USING PYTHON!DESKTOP GUI APP DEVELOPMENT USING PYTHON!
DESKTOP GUI APP DEVELOPMENT USING PYTHON!Umar Yusuf
 
Windows 10 Deployment with Microsoft Deployment Toolkit
Windows 10 Deployment with Microsoft Deployment Toolkit Windows 10 Deployment with Microsoft Deployment Toolkit
Windows 10 Deployment with Microsoft Deployment Toolkit Roel van Bueren
 
Windows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesWindows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesAidan Finn
 
Azure DevOps Extensions
Azure DevOps ExtensionsAzure DevOps Extensions
Azure DevOps ExtensionsChristian Waha
 
TechMentor Fall, 2011 - Using Task Sequences to Completely Automate Windows 7...
TechMentor Fall, 2011 - Using Task Sequences to Completely Automate Windows 7...TechMentor Fall, 2011 - Using Task Sequences to Completely Automate Windows 7...
TechMentor Fall, 2011 - Using Task Sequences to Completely Automate Windows 7...Concentrated Technology
 
Windows10 tools-tools-tools
Windows10 tools-tools-toolsWindows10 tools-tools-tools
Windows10 tools-tools-toolsNgi-NGN Online
 
Windows 10 - tools-tools-tools
Windows 10 - tools-tools-toolsWindows 10 - tools-tools-tools
Windows 10 - tools-tools-toolsRoel van Bueren
 
Microsoft .NET 6 -What's All About The New Update
Microsoft .NET 6 -What's All About The New UpdateMicrosoft .NET 6 -What's All About The New Update
Microsoft .NET 6 -What's All About The New UpdateAdam John
 
Lesson 02 - React Native Development Environment Setup
Lesson 02 - React Native Development Environment SetupLesson 02 - React Native Development Environment Setup
Lesson 02 - React Native Development Environment SetupUniversity of Catania
 
Installation of PC-Lint and its using in Visual Studio 2005
Installation of PC-Lint and its using in Visual Studio 2005Installation of PC-Lint and its using in Visual Studio 2005
Installation of PC-Lint and its using in Visual Studio 2005PVS-Studio
 

Similar to Compile open cpn on windows (20)

InstallationGuide.pdf
InstallationGuide.pdfInstallationGuide.pdf
InstallationGuide.pdf
 
Installing d space on windows
Installing d space on windowsInstalling d space on windows
Installing d space on windows
 
2019 se installation_guide&knownissues
2019 se installation_guide&knownissues2019 se installation_guide&knownissues
2019 se installation_guide&knownissues
 
BLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docxBLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docx
 
Creating, debugging and deploying extension packages for Microsoft Visual Stu...
Creating, debugging and deploying extension packages for Microsoft Visual Stu...Creating, debugging and deploying extension packages for Microsoft Visual Stu...
Creating, debugging and deploying extension packages for Microsoft Visual Stu...
 
tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...
tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...
tutorials-visual-studio_visual-studio-2015-preview-comes-with-emulator-for-an...
 
DESKTOP GUI APP DEVELOPMENT USING PYTHON!
DESKTOP GUI APP DEVELOPMENT USING PYTHON!DESKTOP GUI APP DEVELOPMENT USING PYTHON!
DESKTOP GUI APP DEVELOPMENT USING PYTHON!
 
DESKTOP GUI APP DEVELOPMENT USING PYTHON!
DESKTOP GUI APP DEVELOPMENT USING PYTHON!DESKTOP GUI APP DEVELOPMENT USING PYTHON!
DESKTOP GUI APP DEVELOPMENT USING PYTHON!
 
Windows 10 Deployment with Microsoft Deployment Toolkit
Windows 10 Deployment with Microsoft Deployment Toolkit Windows 10 Deployment with Microsoft Deployment Toolkit
Windows 10 Deployment with Microsoft Deployment Toolkit
 
Windows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesWindows Deployment Tools And Methodologies
Windows Deployment Tools And Methodologies
 
Azure DevOps Extensions
Azure DevOps ExtensionsAzure DevOps Extensions
Azure DevOps Extensions
 
Install guide
Install guideInstall guide
Install guide
 
Install guide
Install guideInstall guide
Install guide
 
TechMentor Fall, 2011 - Using Task Sequences to Completely Automate Windows 7...
TechMentor Fall, 2011 - Using Task Sequences to Completely Automate Windows 7...TechMentor Fall, 2011 - Using Task Sequences to Completely Automate Windows 7...
TechMentor Fall, 2011 - Using Task Sequences to Completely Automate Windows 7...
 
Windows10 tools-tools-tools
Windows10 tools-tools-toolsWindows10 tools-tools-tools
Windows10 tools-tools-tools
 
Windows 10 - tools-tools-tools
Windows 10 - tools-tools-toolsWindows 10 - tools-tools-tools
Windows 10 - tools-tools-tools
 
Microsoft .NET 6 -What's All About The New Update
Microsoft .NET 6 -What's All About The New UpdateMicrosoft .NET 6 -What's All About The New Update
Microsoft .NET 6 -What's All About The New Update
 
Lesson 02 - React Native Development Environment Setup
Lesson 02 - React Native Development Environment SetupLesson 02 - React Native Development Environment Setup
Lesson 02 - React Native Development Environment Setup
 
Installation of PC-Lint and its using in Visual Studio 2005
Installation of PC-Lint and its using in Visual Studio 2005Installation of PC-Lint and its using in Visual Studio 2005
Installation of PC-Lint and its using in Visual Studio 2005
 
Network install guide
Network install guideNetwork install guide
Network install guide
 

Recently uploaded

Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 

Recently uploaded (20)

Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 

Compile open cpn on windows

  • 1. NEWS ABOUT BOOK DOWNLOAD FORUM LOGIN TRACKER BOOK NAVIGATION Compiling - Windows The officially supported Windows build platform for OpenCPN 2.6 beta and later is Microsoft Visual C++ 2010 OpenCPN User Manual Express. It is still possible to perform the build with Visual Studio 2008, but if you want to create installation Developer Manual packages, expect versioning problems. Latest Beta Before you begin, update your Windows. If still using XP, Service Pack 3 is needed. Development Developer's Guide Compiling - Linux Important note before you start Compiling - Mac OS X The order of the steps described bellow really matters. Don't skip any steps not explicitly marked as Compiling - Windows optional and don't change their order unless you really know what you are doing. It's an excellent idea to read Internationalization the whole text first and make sure you understand what it's talking about, especially if you are new to software Code Formatting development. If you encounter any problems, please get to us in the forum and tell us where you are failing so we can help you and improve these instructions for the others. PlugIn API Troubleshooting Preparing the toolchain Vector Palette User Interface Styling Bug and Feature VC++ 2010 Express Tracking Get it http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visua... OpenCPN Release Run the setup and click through the installation wizard, Silverlight and SQL Server are not needed for OpenCPN, History so you can save some time and space by not installing them. After installation, register it (Help->Register Product), otherwise you will have just 30 days to use it. Supplementary Hardware If you are on XP or Vista, you can supposedly make VS 2010 run faster: http://news.softpedia.com/news/Speed- Up-Visual-Studio-2010-on-XP-SP3-and-Vista-SP2-152520.shtml Service Pack 1 SEARCH It is essential to perform ALL the updates you can, as if you don't install the Visual Studio 2010 Service Pack 1, you will not be able to convert the WX projects to VS 2010 format. Go to Help menu and select Check for Updates. It may be necessary to repeat this step. SOCIAL VC++ 2008 Express Edition If you don't intend to debug the WX sources, you can skip this step alltogether. If you do, you can still try to Facebook.com/OpenCPN skip this step now and get back to it later in case you experience problems converting the WX projects to the Like 1,932 people like this . VS2010 format. Get it from http://www.microsoft.com/visualstudio/en-us/products/2008-editions/express Run the setup and click through the installation wizard, Silverlight and SQL Server are not needed for OpenCPN, so you can save some time and space by not installing them Git for Windows Get it from http://msysgit.github.com/ (You want Git for Windows. Not MSysGit) ADS The defaults for all the installation settings are fine except the following: * On the „Adjusting your PATH environment“, select „Run Git from the Windows Command Prompt“ * On the „Choosing CR/LF behavior“ select „Commit line endings as they are“ Developers Now Welcome If you want a tutorial, have a look at the series of articles starting at Forget Servers. Focus http://www.lostechies.com/blogs/jason_meridth/archive/2009/06/01/git-for... on Code. CSS. HTML. LESS. SFTP. GIT. developers.squarespace.com Cmake Get it from http://cmake.org/cmake/resources/software.html Talend Open While installing it's advisable to let the setup program add cmake to the system PATH variable Source ESB Easy-to-Use Graphical Gettext Interface. Try The Free Install Poedit from http://www.poedit.net/ - it's version of gettext is the best available out there. ESB Download Now! www.talend.com/Free_ESB_Software … Add gettext to your PATH - if you installed Poedit, right-click My Computer, select Properties... and on the Advanced tab click on Environment Variables button and add C:Program FilesPoeditbin to the PATH system Introducing Nexus variable 7 Thin, light & portable. NSIS (Unicode) Made for Google Play . Needed only in case you intend to build the installation package for OpenCPN. Not needed for normal Buy now for $199 google.com/nexus development. Get it from http://code.google.com/p/unsis/downloads/list Windows X P The NSIS Unicode 2.46 setup file is also included in the GIT repository -> ..buildwinNSIS_Unicodensis-2.46- Service Pack Unicode-setup.exe Download Windows XP Direct download link: http://code.google.com/p/unsis/downloads/detail?name=nsis-2.46.3-Unicode... Service Packs. Free PC World Downloads. P C World.com/XP -Service-P ack Download and install it. Due to a "bug" in CMake, which only looks at "HKEY_LOCAL_MACHINESOFTWARENSIS" for the installation location of NSIS and the Unicode version adds its registry key in "HKEY_LOCAL_MACHINESOFTWARENSISUnicode", there is some registry tweaking needed. 2012 Grants
  • 2. Grant Funding May Be Just copy the value (it's the installation path) of the "HKEY_LOCAL_MACHINESOFTWARENSISUnicode" key to Available See If You Qualify! "HKEY_LOCAL_MACHINESOFTWARENSIS". www.C lassesUSA.com Alternatively you can just run the batch file 'CopyNSISUnicodeRegKey.bat' which is also included in the GIT repository -> ..buildwinNSIS_UnicodeCopyNSISUnicodeRegKey.bat This means if you also want to use the ANSI NSIS version you first have to change the value of "HKEY_LOCAL_MACHINESOFTWARENSIS" registry key according to the installation path of the respective version you want to use. To make the installer package use proper language name transaltions, it's necessary to modify file X:Program FilesNSISUnicodeContribLanguage filesNorwegian.nsh and change the line !insertmacro LANGFILE "Norwegian" "Norwegian" to !insertmacro LANGFILE "Norwegian" "Norsk" Pre-requisities WxWidgets Download from wxMSW-2.8.12-Setup.exe from http://www.wxwidgets.org/downloads/#latest_stable and install it Necessary modifications Go to the folder where you installed/unpacked wxWidgets and edit the file includewxmswsetup.h Set: #define wxUSE_GRAPHICS_CONTEXT 1 #define wxUSE_GLCANVAS 1 Compile wxWidgets alternative 1: From command line (recomended and faster) Start up your Visual Studio 2010 Command Prompt and navigate to cd C:${WXDIR}buildmsw Then compile using the makefile with the following command : nmake -f makefile.vc BUILD=release MONOLITHIC=0 SHARED=1 UNICODE=1 USE_GDIPLUS=1 USE_OPENGL=1 If you want to fully debug OpenCPN, build the wxWidgets debug dlls also. nmake -f makefile.vc BUILD=debug MONOLITHIC=0 SHARED=1 UNICODE=1 USE_GDIPLUS=1 USE_OPENGL=1 Compile wxWidgets alternative 2: From Visual Studio IDE (optional) If you want to later build and debug wxWidgets itself using the Visual Studio IDE, open C:${WXDIR}buildmswconfig.vc and change the line saying "UNICODE = 0" to UNICODE = 1 Convert the solution to VC++ 2010 format Open C:${WXDIR}buildmswwx_dll.dsw and answer Yes to all the project conversion questions. Save the solution (Ctrl-S) You can ignore the warnings If you keep getting the "Project files cannot be loaded. error is: X:XXXXXXXXX.dsp: error: Project upgrade failed." errors, you have to take the intermediate step of converting the projects to VS2008 format - install VC++ 2008 as described earlier and Convert the solution to VC++ 2008 format Open C:${WXDIR}buildmswwx_dll.dsw and answer Yes to all the project conversion questions. Save the solution (Ctrl-S) Close VC++ 2008 Run VC++ 2010 Open the solution (C:${WXDIR}buildmswwx_dll.sln) and answer yes to all the questions of the conversion wizard You can ignore the warnings Save the solution In the properties of project core, add GDIPlus.lib into Configuration Properties -> Linker -> Input -> Additional Dependencies for both DLL Unicode Debug and DLL Unicode Release configurations Compile Debug Select DLL Unicode Debug from the configurations list and build the solution odbc fails to compile – can be ignored as it's not used by OpenCPN Compile Release Select DLL Unicode Release from the configurations list and build the solution odbc fails to compile – can be ignored as it's not used by OpenCPN Making your life with wxWidgets easier You should add C:${WXDIR}libvc_dll to your PATH environment variable. After doing it, you have to restart the running programs (cmd.exe, cmake-gui, VisualStudio etc.) to make sure they "see" the changed environment variables. If you are unsure, restart Windows and everything will be set. If you don't do it, you will have problems running your debug builds later. If you have problems with cmake not finding your wxWidgets installation, try creating another environment
  • 3. variable called WXWIN with a value of C:${WXDIR} (for example C:wxWidgets-2.8.12) - it will help cmake find the libraries automatically Again, don't forget to restart the running programs involved in the build. . Getting the OpenCPN source Run cmd.exe or better, if you want to have the toolchain ready from the command line, „Visual Studio 2008 Command Prompt“ from Start menu → Programs → Microsoft Visual C++ 2008 Express Edition → Visual Studio Tools To get the source for the first time, issue git clone git://github.com/OpenCPN/OpenCPN.git To update the code you cloned before, cd into the source directory and issue git fetch --all Building the OpenCPN source Create a directory named build under the topmost source directory Configuring alternative 1: From the command line (recommended): cd into the build directory issue cmake -G „Visual Studio 10“ .. Configuring alternative 2: Using Cmake-gui Run „CMake (cmake-gui)“ from Start menu → Programs → Cmake 2.8 Fill in your source and build directories Click on the Configure button If you are asked to choose the generator, select „Visual Studio 9 2008“ The information which appeared is red and the Generate button stays disabled? Just hit Configure again... Ignore GTK2_GTK_INCLUDE_DIR-NOTFOUND and wxwidgets_wxrc_EXECUTABLE_NOTFOUND Click on the Generate button Solution and project files should be created in your build directory IMPORTANT suggestion: Use CMAKE GUI tool to configure OpenCPN to verify that wxWidgets_LIB_DIR points to the {root}/lib/vc_dll directory This check is necessary since the cmake FindWxWidgets module sometimes finds the wrong source . and/or build config. Compiling Alternative 1: From the command line Run „Visual Studio Command Prompt (2010)“ from Start menu → Programs → Microsoft Visual C++ 2010 Express cd into the build directory issue cmake -–build . Wait for the build to complete. You may get errors when building the plugins as they are built before opencpn (to be fixed in the configuration process). Simply running the build again fixes the problem. Compiling Alternative 2: From Visual Studio Open the solution created by cmake (build/OpenCPN.sln) Compile the whole solution or individual projects You have to compile project opencpn before you can compile any plugins (to be fixed in the configuration process) If you want to debug, don't forget to select opencpn as a start-up project and if you didn't add the WX DLL path to the PATH environment variable earlier, copy the needed WX DLLs to the build directory (Debug or Release, depending on which version you build). The DLLs can be found in C:${WXDIR}libvc_dll and you will need: Debug: wxbase28ud_net_vc_custom.dll, wxbase28ud_vc_custom.dll, wxbase28ud_xml_vc_custom.dll, wxmsw28ud_adv_vc_custom.dll, wxmsw28ud_core_vc_custom.dll
  • 4. Release: wxbase28u_net_vc_custom.dll, wxbase28u_vc_custom.dll, wxbase28u_xml_vc_custom.dll, wxmsw28u_adv_vc_custom.dll, wxmsw28u_core_vc_custom.dll Optional: Creating the installer package Build the PACKAGE project and opencpn_2.X.Y_setup.exe is created in your build directory (replace X with the release and Y with the build number) Currently the installer packs the DLLs from the git repository into the package. You have to replace them with your custom built DLLs after the installation if you want to experiment with different versions and build settings of the wxWidgets libraries. Running the debug build To be able to run the debug build, you must create a folder named uidata in your build directory and copy the following files from srcbitmaps into it: styles.xml, toolicons_traditional.png, toolicons_journeyman.png, toolicons_journeyman_flat.png To be able to use vector charts, you must copy folder named s57data (data/s57data) from the source tree into your build directory, otherwise vector charts support will be turned off at runtime. ‹ Compiling - Mac OS X Internationalization › Printer-friendly version Hos ting and bandwidth for OpenCPN.org is generous ly donated by SouthBay Network OpenCPN is open s ource s oftware