Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 05-06-2015, 09:07   #361
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: Development Debugging Environment - Setup Help

Next stumble stone:

cmake from command line:
Code:
G:\OCPN\build>cmake -T v120_xp ..
-- Building for: Visual Studio 12 2013
-- The C compiler identification is MSVC 18.0.31101.0
-- The CXX compiler identification is MSVC 18.0.31101.0
-- Check for working C compiler using: Visual Studio 12 2013
-- Check for working C compiler using: Visual Studio 12 2013 -- works
......
results in

Code:
-- *** Staging to build opencpn  ***
-- Build type: Release
-- *** Will install to C:/Program Files (x86)/OpenCPN  ***
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindPackageH
andleStandardArgs.cmake:138 (message):
  Could NOT find Gettext (missing: GETTEXT_MSGMERGE_EXECUTABLE
  GETTEXT_MSGFMT_EXECUTABLE)
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindPackageHandleStandard
Args.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files (x86)/CMake/share/cmake-3.2/Modules/FindGettext.cmake:87 (FIN
D_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:526 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!
See also "G:/OCPN/build/CMakeFiles/CMakeOutput.log".
And yes, the PATH for poedit/GettextTools/bin is set:

C:\Users\OfficeWin8\AppData\Roaming\npm; C:\Program Files (x86)\Poedit\GettextTools\bin;G:\wxWidgets-3.0.2\lib\vc_dll ;G:\wxWidgets-3.0.2

Hubert
bcn is offline   Reply With Quote
Old 05-06-2015, 09:09   #362
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Development Debugging Environment - Setup Help

Hubert...
if you type
Code:
msgfmt
and hit Enter, does it run?
Not sure if the spaces after semicolons in PATH make difference, but I would definitely delete them

Pavel
nohal is offline   Reply With Quote
Old 05-06-2015, 09:37   #363
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: Development Debugging Environment - Setup Help

resulted in
"unknown command"
so
- deleting blanks
- restarting PC
works
and
cmake --build . --config release
results in:
Code:

"G:\OCPN\build\ALL_BUILD.vcxproj" (destino predeterminado) (1) ->
"G:\OCPN\build\plugins\dashboard_pi\dashboard_pi.vcxproj" (destino predetermina
do) (9) ->
"G:\OCPN\build\opencpn.vcxproj" (destino predeterminado) (11) ->
(Link destino) ->
  LINK : fatal error LNK1181: cannot open input file '..\buildwin\crashrpt\Cras
hRpt1402.lib' [G:\OCPN\build\opencpn.vcxproj]

    8 Advertencia(s)
    1 Errores

Tiempo transcurrido 00:05:39.65
So almost there....

Hubert
bcn is offline   Reply With Quote
Old 05-06-2015, 09:39   #364
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Development Debugging Environment - Setup Help

This one should be trivial - get Download opencpnplugins from SourceForge.net and extract it over the source tree
nohal is offline   Reply With Quote
Old 05-06-2015, 09:54   #365
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: Development Debugging Environment - Setup Help

Seems that I didn't get it right:
and extract it over the source tree
same error still
Attached Thumbnails
Click image for larger version

Name:	2015-06-05 18_51_30-src.png
Views:	177
Size:	33.1 KB
ID:	103241  
bcn is offline   Reply With Quote
Old 05-06-2015, 10:08   #366
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Development Debugging Environment - Setup Help

The contents of the archive (all of it) belong to the topmost level (G:\OCPN in your case), not into src (it simply adds some binary files into the buildwin folder)
nohal is offline   Reply With Quote
Old 05-06-2015, 10:28   #367
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: Development Debugging Environment - Setup Help

Pavel,

thanks a lot for your patience!
On this PC this will have to wait until Monday when I will have access to it again...

Hubert
bcn is offline   Reply With Quote
Old 06-06-2015, 02:33   #368
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Development Debugging Environment - Setup Help

Maybe it actually is a pathname problem...?

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

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,711
Images: 2
Re: Development Debugging Environment - Setup Help

80% of the time Pavel tells me to check the path and it is some little thing my eyes do not catch because the text is so small. I taken to putting it all in a text editpr so I can verify it. Sometimes i have to retype it to get it to work. My major source of problems.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 08-06-2015, 01:17   #370
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: Development Debugging Environment - Setup Help

Quote:
Originally Posted by nohal View Post
The contents of the archive (all of it) belong to the topmost level (G:\OCPN in your case), not into src (it simply adds some binary files into the buildwin folder)
Nope, no luck:
Code:
ERROR al compilar.

"G:\OCPN\build\ALL_BUILD.vcxproj" (destino predeterminado) (1) ->
"G:\OCPN\build\plugins\dashboard_pi\dashboard_pi.vcxproj" (destino predetermina
do) (9) ->
"G:\OCPN\build\opencpn.vcxproj" (destino predeterminado) (11) ->
(ClCompile destino) ->
  G:\OCPN\src\OCPNPlatform.cpp(54): fatal error C1083: Cannot open include file
: 'CrashRpt.h': No such file or directory [G:\OCPN\build\opencpn.vcxproj]

    0 Advertencia(s)
    1 Errores

Tiempo transcurrido 00:00:03.43

G:\OCPN\build>
with
Attached Thumbnails
Click image for larger version

Name:	2015-06-08 10_11_40-OCPN.png
Views:	160
Size:	37.3 KB
ID:	103367  
bcn is offline   Reply With Quote
Old 08-06-2015, 02:38   #371
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,546
Re: Development Debugging Environment - Setup Help

I have no idea about Windows but normally *.h files belongs to the include folder in any other OS.

Gerhard
CarCode is offline   Reply With Quote
Old 08-06-2015, 05:23   #372
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Development Debugging Environment - Setup Help

Hubert....
Didn't you by accident delete the buildwin folder sometimes during the process and now just replaced it with the binary files from the archive?

Pavel


Sent from my iPhone using Cruisers Sailing Forum
nohal is offline   Reply With Quote
Old 08-06-2015, 05:25   #373
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Development Debugging Environment - Setup Help

And the files are in a wrong place, of course, why don't you just decompress the archive? It contains the correct directory structure


Sent from my iPhone using Cruisers Sailing Forum
nohal is offline   Reply With Quote
Old 08-06-2015, 06:13   #374
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,796
Re: Development Debugging Environment - Setup Help

That's why I'm asking where to place the folders.
7zip under Windows is not very helpful to know what will happen as you can't see the internal structure before uncompressing. And then the stuff lands where it lands.

Btw.: followed the download path today again Download opencpnplugins from SourceForge.net
just to be sure that nothing got lost and it seems that the package has changed. Can this be?

Hubert
bcn is offline   Reply With Quote
Old 08-06-2015, 06:20   #375
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Development Debugging Environment - Setup Help

Hubert...
I don't understand - if you open the file with 7-zip, You don't see that it contains a buildwin folder and some files/folders under it, as shown bellow?
Code:
buildwin/
├── crashrpt
│   ├── CrashRpt1402.dll
│   ├── CrashRpt1402.lib
│   ├── CrashSender1402.exe
│   └── dbghelp.dll
├── ocpn_gltest1.exe
├── vc
│   ├── msvcp120.dll
│   └── msvcr120.dll
└── wxWidgets
    ├── locale
    │   ├── af.mo
    │   ├── an.mo
    │   ├── ar.mo
    │   ├── ca.mo
    │   ├── ca@valencia.mo
    │   ├── cs.mo
    │   ├── da.mo
    │   ├── de.mo
    │   ├── el.mo
    │   ├── es.mo
    │   ├── eu.mo
    │   ├── fi.mo
    │   ├── fr.mo
    │   ├── gl_ES.mo
    │   ├── hi.mo
    │   ├── hu.mo
    │   ├── id.mo
    │   ├── it.mo
    │   ├── ja.mo
    │   ├── ko_KR.mo
    │   ├── lt.mo
    │   ├── lv.mo
    │   ├── ms.mo
    │   ├── nb.mo
    │   ├── ne.mo
    │   ├── nl.mo
    │   ├── pl.mo
    │   ├── pt_BR.mo
    │   ├── pt.mo
    │   ├── ro.mo
    │   ├── ru.mo
    │   ├── sk.mo
    │   ├── sl.mo
    │   ├── sq.mo
    │   ├── sv.mo
    │   ├── ta.mo
    │   ├── tr.mo
    │   ├── uk.mo
    │   ├── vi.mo
    │   ├── zh_CN.mo
    │   └── zh_TW.mo
    ├── wxbase30u_net_vc_custom.dll
    ├── wxbase30u_vc_custom.dll
    ├── wxbase30u_xml_vc_custom.dll
    ├── wxmsw30u_adv_vc_custom.dll
    ├── wxmsw30u_aui_vc_custom.dll
    ├── wxmsw30u_core_vc_custom.dll
    ├── wxmsw30u_gl_vc_custom.dll
    ├── wxmsw30u_html_vc_custom.dll
    ├── wxmsw30u_media_vc_custom.dll
    ├── wxmsw30u_propgrid_vc_custom.dll
    ├── wxmsw30u_qa_vc_custom.dll
    ├── wxmsw30u_ribbon_vc_custom.dll
    ├── wxmsw30u_richtext_vc_custom.dll
    ├── wxmsw30u_stc_vc_custom.dll
    ├── wxmsw30u_webview_vc_custom.dll
    └── wxmsw30u_xrc_vc_custom.dll
And yes, the archive changed several times over time as we refined the build process. Make sure you have the latest version.
CrashRpt.h is in https://github.com/OpenCPN/OpenCPN/t...ldwin/crashrpt - So even bigger mystery is how it could end up in the root of your source tree...

Pavel
nohal is offline   Reply With Quote
Reply

Tags
environment


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 13:35.


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.