Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 29-05-2014, 20:41   #241
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Climatology

Rick,

To build an installer on linux (or windows when I cross compile) I execute from the build directory.
Code:
make package
You need to have installed the nsis installer system. There is a project on sourceforge, and I believe an installer for it (probably built using itself)
seandepagnier is offline   Reply With Quote
Old 03-06-2014, 20:32   #242
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

From MSVC++ open file C:\o-plugin\climatology_pi\build\climatology_pi.sln
Dropdown pick Release
Build > Build Solution
Then highlight INSTALL on the left panel
Pick Build INSTALL

Results...

Code:
1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: climatology-i18n, Configuration: Release Win32 ------
2>  climatology_pi-i18n: Done.
3>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
3>  Build all projects
4>------ Build started: Project: INSTALL, Configuration: Release Win32 ------
4>  -- Install configuration: "Release"
4>  -- Installing: C:/Program Files (x86)/climatology_pi/../OpenCPN/plugins/climatology_pi.dll
4>  CMake Error at cmake_install.cmake:34 (FILE):
4>    file INSTALL cannot copy file
4>    "C:/o-plugin/climatology_pi/build/Release/climatology_pi.dll" to
4>    "C:/Program Files
4>    (x86)/climatology_pi/../OpenCPN/plugins/climatology_pi.dll".
4>  
4>  
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "setlocal
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 3 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
Code:
Then highlight PACKAGE on the left panel
Pick Build PACKAGE

1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: climatology-i18n, Configuration: Release Win32 ------
2>  climatology_pi-i18n: Done.
3>------ Build started: Project: ALL_BUILD, Configuration: Release Win32 ------
3>  Build all projects
4>------ Build started: Project: PACKAGE, Configuration: Release Win32 ------
4>EXEC : CPack error : Cannot find NSIS compiler makensis: likely it is not installed, or not in your PATH
4>EXEC : CPack error : Could not read NSIS registry value. This is usually caused by NSIS not being installed. Please install NSIS from http://nsis.sourceforge.net
4>EXEC : CPack error : Cannot initialize the generator NSIS
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "setlocal
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: cd C:\o-plugin\climatology_pi\build
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: C:
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cpack.exe" -C Release --config ./CPackConfig.cmake
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
4>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 3 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========
Night Sean
rgleason is offline   Reply With Quote
Old 04-06-2014, 03:14   #243
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

Until we get an Install Package working,
Can others please test Climatology too?
You will find it as dll in Opencpn Beta File Thingie under the latest beta version.
Plugins-Beta -CLIMATOLOGY_PI DATA
Compiled current as of June 2,2014

Opencpn Beta Login - Plugins - rguser, rgpass. Pick the most current Opencpn version.
1. Download CL-DATA-10.zip from Sourceforge or File Thingie which includes lightning data.
2. Copy them uncompressed to opencpn/plugins/cliimatology/data/ directory.
3. Put the dll in your plugins directory.
4. Use the most current Opencpn beta available on opencpn.org downloads.
5. Read the readme.
rgleason is offline   Reply With Quote
Old 05-06-2014, 02:02   #244
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Climatology

Quote:
Originally Posted by rgleason View Post
Until we get an Install Package working,
Rick,

Could you please try on the command line to compile and build the package. I don't know of anyone who uses a gui to do this, and I don't think it can work. Just type "make package" in the same place where "make" builds the plugin.
seandepagnier is offline   Reply With Quote
Old 05-06-2014, 02:12   #245
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

Tried "make package" on another plugin I think it was wxfax, it was an unrecognized command. I have installed the nsis program and run the batch file as directed in opencpn dev documentation. Then tried nmake package and some others.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 05-06-2014, 02:27   #246
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

Ok it was rtldsr_pi and I used makensis so will try again.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 05-06-2014, 02:31   #247
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Climatology

makensis is a program which must be installed and is invoked from "make package" otherwise maybe you can search for information on how to use cpack. I think with visual studio you might have to use nmake, but not sure. Check the makefile.
seandepagnier is offline   Reply With Quote
Old 05-06-2014, 04:49   #248
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

make package

"'make' is not recognized as an internal or external command,
operable program or batch file."

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Rick>cd C:\o-plugin\climatology_pi

C:\o-plugin\climatology_pi>cd build

C:\o-plugin\climatology_pi\build>cmake ..
-- *** Staging to build climatology_pi ***
-- Found OpenGL...
--     Lib: glu32opengl32
--     Include:
-- Install Prefix: C:/Program Files (x86)/climatology_pi
-- Configuring done
-- Generating done
-- Build files have been written to: C:/o-plugin/climatology_pi/build

C:\o-plugin\climatology_pi\build>make package
'make' is not recognized as an internal or external command,
operable program or batch file.

C:\o-plugin\climatology_pi\build>
Quote:
makensis is a program which must be installed and is invoked from "make package" otherwise maybe you can search for information on how to use cpack. I think with visual studio you might have to use nmake, but not sure. Check the makefile.
Developers documentation - Compiling Windows
Compiling - Windows | Official OpenCPN Homepage

Down to
Quote:
NSIS (Unicode)

Needed only in case you intend to build the installation package for OpenCPN. Not needed for normal development.
Get it from Downloads - unsis - NSIS branch that supports Unicode. - Google Project Hosting
The NSIS Unicode 2.46 setup file is also included in the GIT repository -> ..\buildwin\NSIS_Unicode\nsis-2.46-Unicode-setup.exe
Direct download link: http://code.google.com/p/unsis/downloads/detail?name=nsis-2.46.3-Unicode...

Download and install it. Due to a "bug" in CMake, which only looks at "HKEY_LOCAL_MACHINE\SOFTWARE\NSIS" for the installation location of NSIS and the Unicode version adds its registry key in "HKEY_LOCAL_MACHINE\SOFTWARE\NSIS\Unicode", there is some registry tweaking needed.
Previously I had not installed this, so I had to do it and I also ran the Batch file that they say to run to make the registry tweaks.
rgleason is offline   Reply With Quote
Old 05-06-2014, 04:56   #249
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

Used Notepad++ to open C:\o-plugin\climatology_pi\buildwin\nsis.template.in

There are comments at the top
Quote:
; CPack install script designed for a nmake build

;--------------------------------
; You must define these values

!define VERSION "@CPACK_PACKAGE_VERSION@"
!define PATCH "@CPACK_PACKAGE_VERSION_PATCH@"
!define INST_DIR "@CPACK_TEMPORARY_DIRECTORY@"
Tried nmake package and it is also unrecognized.

I think I have to read more. This needs to be more explicit in the instructions I think.
rgleason is offline   Reply With Quote
Old 05-06-2014, 05:07   #250
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

Command Line Usage

tried from the build directory

"makensis myscript.nsi" ...not recognized..

I think Pavel would know the answer.
rgleason is offline   Reply With Quote
Old 05-06-2014, 05:26   #251
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

How to fix “not recognized as an internal or external command” in Windows

Yes, it is probably an environment path problem as I thought all along.
rgleason is offline   Reply With Quote
Old 05-06-2014, 05:43   #252
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

Well actually I tried clicking on
C:\Program Files (x86)\NSIS\Unicode\makensisw.exe

A program comes up MakeNSISW (Unicode) - not from command line
Note in window shows:
Quote:
Usage:

- File | Load Script...
- Drag the .nsi file into this window
- Right click the .nsi file and choose "Compile NSIS Script"
So I dragged C:\o-plugin\climatology_pi\buildwin\nsis.template.in
into the window and got the following results. ___There is an error on line 38.

after

Code:
"@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
Usage: SetCompressor [/FINAL] [/SOLID] (zlib|bzip2|lzma)
Error in script "C:\o-plugin\climatology_pi\buildwin\NSIS.template.in" on line 38 -- aborting creation process
in the NSIS.template.ni file line 38 is
Quote:
;Set compression
SetCompressor @CPACK_NSIS_COMPRESSOR@
Are we missing some libzip files? or bzip in the folder?

========
Here is the full output:

Code:
MakeNSIS v2.46.3-Unicode - Copyright 1995-2009 Contributors
See the file COPYING for license details.
Credits can be found in the Users Manual.

Processing config: 
Processing plugin dlls: "C:\Program Files (x86)\NSIS\Unicode\Plugins\*.dll"
 - AdvSplash::show
 - Banner::destroy
 - Banner::getWindow
 - Banner::show
 - BgImage::AddImage
 - BgImage::AddText
 - BgImage::Clear
 - BgImage::Destroy
 - BgImage::Redraw
 - BgImage::SetBg
 - BgImage::SetReturn
 - BgImage::Sound
 - Dialer::AttemptConnect
 - Dialer::AutodialHangup
 - Dialer::AutodialOnline
 - Dialer::AutodialUnattended
 - Dialer::GetConnectedState
 - InstallOptions::dialog
 - InstallOptions::initDialog
 - InstallOptions::show
 - LangDLL::LangDialog
 - Math::Script
 - NSISdl::download
 - NSISdl::download_quiet
 - Splash::show
 - StartMenu::Init
 - StartMenu::Select
 - StartMenu::Show
 - System::Alloc
 - System::Call
 - System::Copy
 - System::Free
 - System::Get
 - System::Int64Op
 - System::Store
 - System::StrAlloc
 - TypeLib::GetLibVersion
 - TypeLib::Register
 - TypeLib::UnRegister
 - UserInfo::GetAccountType
 - UserInfo::GetName
 - UserInfo::GetOriginalAccountType
 - VPatch::GetFileCRC32
 - VPatch::GetFileMD5
 - VPatch::vpatchfile
 - nsDialogs::Create
 - nsDialogs::CreateControl
 - nsDialogs::CreateItem
 - nsDialogs::CreateTimer
 - nsDialogs::GetUserData
 - nsDialogs::KillTimer
 - nsDialogs::OnBack
 - nsDialogs::OnChange
 - nsDialogs::OnClick
 - nsDialogs::OnNotify
 - nsDialogs::SelectFileDialog
 - nsDialogs::SelectFolderDialog
 - nsDialogs::SetRTL
 - nsDialogs::SetUserData
 - nsDialogs::Show
 - nsExec::Exec
 - nsExec::ExecToLog
 - nsExec::ExecToStack

!define: "MUI_INSERT_NSISCONF"=""

Changing directory to: "C:\o-plugin\climatology_pi\buildwin"

Processing script file: "C:\o-plugin\climatology_pi\buildwin\NSIS.template.in"
!define: "VERSION"="@CPACK_PACKAGE_VERSION@"
!define: "PATCH"="@CPACK_PACKAGE_VERSION_PATCH@"
!define: "INST_DIR"="@CPACK_TEMPORARY_DIRECTORY@"
Var: "MUI_TEMP"
Var: "STARTMENU_FOLDER"
Var: "SV_ALLUSERS"
Var: "START_MENU"
Var: "DO_NOT_ADD_TO_PATH"
Var: "ADD_TO_PATH_ALL_USERS"
Var: "ADD_TO_PATH_CURRENT_USER"
Var: "INSTALL_DESKTOP"
Var: "IS_DEFAULT_INSTALLDIR"
!include: "C:\Program Files (x86)\NSIS\Unicode\Include\MUI.nsh"
!include: "C:\Program Files (x86)\NSIS\Unicode\Contrib\Modern UI\System.nsh"
NSIS Modern User Interface version 1.8 -  2002-2009 Joost Verburg (C:\Program Files (x86)\NSIS\Unicode\Contrib\Modern UI\System.nsh:8)
!define: "MUI_INCLUDED"=""
!define: "MUI_SYSVERSION"="1.8"
!define: "MUI_VERBOSE"="3"
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Contrib\Modern UI\System.nsh"
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Include\MUI.nsh"
InstallDir: "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
Name: "@CPACK_NSIS_PACKAGE_NAME@"
OutFile: "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
Usage: SetCompressor [/FINAL] [/SOLID] (zlib|bzip2|lzma)
Error in script "C:\o-plugin\climatology_pi\buildwin\NSIS.template.in" on line 38 -- aborting creation process
rgleason is offline   Reply With Quote
Old 05-06-2014, 06:18   #253
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

Tried similar on rtldsr_pi

Code:
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Include\MUI.nsh"
InstallDir: "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
Name: "@CPACK_NSIS_PACKAGE_NAME@"
OutFile: "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
Usage: SetCompressor [/FINAL] [/SOLID] (zlib|bzip2|lzma)
Error in script "C:\o-plugin\rtlsdr_pi\buildwin\NSIS.template.in" on line 38 -- aborting creation process
Tried similar on statusbar_pi
Code:
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Include\MUI.nsh"
InstallDir: "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
Name: "@CPACK_NSIS_PACKAGE_NAME@"
OutFile: "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
Usage: SetCompressor [/FINAL] [/SOLID] (zlib|bzip2|lzma)
Error in script "C:\o-plugin\statusbar_pi\buildwin\NSIS.template.in" on line 38 -- aborting creation process
Trimplot_pi

Code:
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Contrib\Modern UI\System.nsh"
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Include\MUI.nsh"
InstallDir: "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
Name: "@CPACK_NSIS_PACKAGE_NAME@"
OutFile: "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
Usage: SetCompressor [/FINAL] [/SOLID] (zlib|bzip2|lzma)
Error in script "C:\o-plugin\trimplot_pi\buildwin\NSIS.template.in" on line 38 -- aborting creation process
watchdog_pi

Code:
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Include\MUI.nsh"
InstallDir: "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
Name: "@CPACK_NSIS_PACKAGE_NAME@"
OutFile: "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
Usage: SetCompressor [/FINAL] [/SOLID] (zlib|bzip2|lzma)
Error in script "C:\o-plugin\watchdog_pi\buildwin\NSIS.template.in" on line 38 -- aborting creation process
weather_routing_pi
Code:
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Contrib\Modern UI\System.nsh"
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Include\MUI.nsh"
InstallDir: "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
Name: "@CPACK_NSIS_PACKAGE_NAME@"
OutFile: "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
Usage: SetCompressor [/FINAL] [/SOLID] (zlib|bzip2|lzma)
Error in script "C:\o-plugin\weather_routing_pi\buildwin\NSIS.template.in" on line 38 -- aborting creation process
Weatherfax_pi

Code:
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Contrib\Modern UI\System.nsh"
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Include\MUI.nsh"
InstallDir: "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
Name: "@CPACK_NSIS_PACKAGE_NAME@"
OutFile: "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
Usage: SetCompressor [/FINAL] [/SOLID] (zlib|bzip2|lzma)
Error in script "C:\o-plugin\weatherfax_pi\buildwin\NSIS.template.in" on line 38 -- aborting creation process
wmm_pi

Code:
!define: "MUI_VERBOSE"="3"
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Contrib\Modern UI\System.nsh"
!include: closed: "C:\Program Files (x86)\NSIS\Unicode\Include\MUI.nsh"
InstallDir: "@CPACK_NSIS_INSTALL_ROOT@\@CPACK_PACKAGE_INSTALL_DIRECTORY@"
Name: "@CPACK_NSIS_PACKAGE_NAME@"
OutFile: "@CPACK_TOPLEVEL_DIRECTORY@/@CPACK_OUTPUT_FILE_NAME@"
Usage: SetCompressor [/FINAL] [/SOLID] (zlib|bzip2|lzma)
Error in script "C:\o-plugin\wmm_pi\buildwin\NSIS.template.in" on line 38 -- aborting creation process
rgleason is offline   Reply With Quote
Old 05-06-2014, 07:25   #254
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

Here is a command line attempt.

Code:
cd C:\o-plugin\climatology_pi\build
SET PATH=%PATH%;C:\Program Files (x86)\NSIS\Unicode
makensis    --> displays list of commands
makensis ../buildwin/NSIS.template.in

-- displays a long list ending with the same problem at line 38

It is now clear that I have to add C:\Program Files (x86)\NSIS\Unicode
to the Environment Path statement, and reboot.
rgleason is offline   Reply With Quote
Old 05-06-2014, 13:22   #255
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,632
Images: 2
Re: Climatology

The top line of the NSIS.template.ni has cpack.
cpack is an installer packing command from cmake.
I tried it from the build directory... and this time it ran because I had the nsis pathname in the environment path variable!

Code:
C:\o-plugin\climatology_pi\build>cpack
CPack: Create package using NSIS
CPack: Install projects
CPack: - Install project: climatology_pi
CPack: Create package
CPack: - package: C:/o-plugin/climatology_pi/build/climatology_pi-0.8-win32.exe
generated.

C:\o-plugin\climatology_pi\build>
We'll that was exciting. the file
climatology_pi-0.8-win32.exe is located in the
C:\o-plugin\climatology_pi\build\_CPack_Packages\win32\ NSIS
folder.

This file contains the dll, the data subdirectory and a few files. It does not contain all the data files. Those will have to be loaded separately.
See the CL-DATA 10 7z file and uncompress and put in the data directory. please.

Find these files under File Thingie 2.5.7
rguser, rgpass under the 3.3.1731 folder.

-Also I noticed that when installing to a non-standard directory (IE not "Opencpn") when you select Opencpn3.3.1731 for example, the installer adds another "Opencpn" folder afterwards. This is annoying and we do not need it.
rgleason is offline   Reply With Quote
Reply

Tags
paracelle


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Advertise Here


All times are GMT -7. The time now is 22:32.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.