opencpn-manuals / development

Part of opencpn-manuals/main, not maintained as a separate manual
1 stars 2 forks source link

Compiling - Windows #40

Open Rasbats opened 2 years ago

Rasbats commented 2 years ago

Using a relatively clean notebook PC with Win10/Visual Studio 15 2017.

Followed the steps outlined in Compiling - Windows.

Used the pre-built binaries of wxWidgets. Needed to correct the download link for the zip file of these on the manual page.

Needed to install GNU gettext in addition to the other required programs: http://gnuwin32.sourceforge.net/packages/gettext.htm

I will add this to the manual page.

Rasbats commented 2 years ago

Added. Please delete this issue when the manual is rebuilt.

rgleason commented 2 years ago

I noticed what I think is an error in the rebuild of the manual

Under https://opencpn-manuals.github.io/main/ocpn-dev-manual/5.3.1/od-compile-windows.html#_getting_and_building_opencpn_source

The git instructions for building debug etc are gone and an * is there.  I think this is a mistake.
Building OpenCPN

    In the open x86 Native Tools Command Prompt for VS 2017 execute the following commands to create the build directory, generate the solutions files and build the debug version, the release version and the setup package.

*

I think we need to add back in the full set of instructions at the asterick.

rgleason commented 2 years ago

Also down at BatchUtil https://opencpn-manuals.github.io/main/ocpn-dev-manual/5.3.1/od-compile-windows.html#_batchutils Aren't these outdated commands for building? I think the batch file should be changed to the proper commands for NOW Has transmitterDan kept this updated in his git repos?
https://github.com/transmitterdan/BatchUTILS

Yes I believe so, but check with TDan.

#- cmd: nmake -f makefile.vc BUILD=release SHARED=1 CFLAGS=/D_USING_V120_SDK71_ CXXFLAGS=/D_USING_V120_SDK71_
  #- cmd: nmake -f makefile.vc BUILD=debug SHARED=1 CFLAGS=/D_USING_V120_SDK71_ CXXFLAGS=/D_USING_V120_SDK71_
Rasbats commented 2 years ago

I think we need to add back in the full set of instructions at the asterick.

The asterisk needs removing. The commands given do the work.

Rasbats commented 2 years ago

BatchUtil https://opencpn-manuals.github.io/main/ocpn-dev-manual/5.3.1/od-compile-windows.html#_batchutils

"Page not found". Can this issue be closed?