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 22-02-2018, 14:01   #2116
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: Beta Test / Technical

Win10, using TDan Batchutil setup to compile the most recent Opencpn (master).
I have run 'build clean' and 'build' which includes all the usual cmake commands
and get one error:
Quote:
Build FAILED.
"C:\Users\..\GitHub\OpenCPN\build\ALL_BUILD.vcxpro j" (default target) (1) ->
"C:\Users\..\GitHub\OpenCPN\build\WXSVG.vcxpro j" (default target) (13) ->
(ClCompile target) ->
C:\Users\..\GitHub\OpenCPN\src\wxsvg\src\svgxml\ svgxml.cpp (24) : fatal error C1083: Cannot open include file: 'expat.h': No such file or directory [C:\Users\..\GitHub\OpenCPN\build\WXSVG.vcxproj]
1 Error(s)
Is this a dependency error? It was compiling before. Still using MSVC++2013 and wxWidgets 3.0.2

I find expat.h under C:\Users\Frederick\Documents\GitHub\OpenCPN\buildw in\expat-2.1.0\include

C:\Users\Frederick\Documents\GitHub\OpenCPN\src\wx svg\src\svgxml\svgxml.cpp
Line 24
#include "svgxml.h"
#include <expat.h>

Is this a path problem?
rgleason is offline   Reply With Quote
Old 22-02-2018, 16:03   #2117
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Beta Test / Technical

Delete CMakeCache.text and run Cmake again. Also, make sure you have a recent version of Cmake.
transmitterdan is offline   Reply With Quote
Old 22-02-2018, 16:09   #2118
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Beta Test / Technical

Quote:
Originally Posted by transmitterdan View Post
Delete CMakeCache.text and run Cmake again. Also, make sure you have a recent version of Cmake.
That is very unlikely to resolve anything. The missing file is part of the new dependency bundle being prepared for O5.
But it makes very little sense to do these builds the way Rick was used to do in the past as you can simply download them from https://ci.appveyor.com/project/bdbc...uild/artifacts

Pavel
nohal is offline   Reply With Quote
Old 22-02-2018, 18:11   #2119
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Beta Test / Technical

I successfully built O from git master last night. I will stand by awaiting the new dependencies.

Can we debug in MSVC with the appveyor built images? I thought to debug one has to build locally from sources?
transmitterdan is offline   Reply With Quote
Old 22-02-2018, 18:39   #2120
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Beta Test / Technical

Quote:
Originally Posted by transmitterdan View Post
Can we debug in MSVC with the appveyor built images? I thought to debug one has to build locally from sources?
Not at the moment, but we may start publishing also the PDBs when the situation settles down a bit.
Of course if you do a local debug build, your possibilities are much better than from a release build, even with the debugging symbols available.
nohal is offline   Reply With Quote
Old 23-02-2018, 05:05   #2121
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: Beta Test / Technical

I guess as Pavel says, with Appveyor builds working, it makes little sense to build yourself (unless you are debugging).

However I deleted cmakeCache.txt and ran cmake -T v120_xp .. and cmake --build . --config release

and got the same error as Pavel said I would.

So why does it run in CI under appveyor and not for my manual operation. It will be a very long time before I understand this. If I were to put a second copy of expat.h in the subdirectory, would it compile?

I am not wanting to let go of the ability to compile.
Attached Files
File Type: doc one-error.doc (5.1 KB, 34 views)
rgleason is offline   Reply With Quote
Old 23-02-2018, 05:31   #2122
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Beta Test / Technical

Cl is using VS2017. Once the dependencies are all set up we will be using VS2017 going forward. It's unlikely VS2013 will work once everything is set up. Pavel has instructions on github for building with VS2017.
transmitterdan is offline   Reply With Quote
Old 23-02-2018, 06:30   #2123
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: Beta Test / Technical

TDan Do you think I should stay with VS2013 and wx 3.0.2 until we know all PI are compiled and updated for 4.8.2?

Or should I just move on?
Being in the middle of these changeovers is always interesting.
Maybe I leave one machine for 4.8.2 and move on with the other.
rgleason is offline   Reply With Quote
Old 23-02-2018, 06:35   #2124
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Beta Test / Technical

Quote:
Originally Posted by rgleason View Post
TDan Do you think I should stay with VS2013 and wx 3.0.2 until we know all PI are compiled and updated for 4.8.2?

Or should I just move on?
Rick...
We need to do tons of plugin releases for O4.8.2, with the VS2013 toolchain. And we certainly want help with that. What we do not need help with at this moment is duplicating the CI builds with the new toolchain. I know it is boring to play with older toys, but that is what we really need...

Pavel
nohal is offline   Reply With Quote
Old 23-02-2018, 15:44   #2125
Registered User

Join Date: Jan 2018
Location: Gold Coast, Australia
Boat: Lagoon 500
Posts: 205
Re: Beta Test / Technical

Quote:
Originally Posted by nohal View Post
Rick...
We need to do tons of plugin releases for O4.8.2, with the VS2013 toolchain. And we certainly want help with that. What we do not need help with at this moment is duplicating the CI builds with the new toolchain. I know it is boring to play with older toys, but that is what we really need...

Pavel
We love to get our hands on new toys. An unwanted and unnecessary distraction for you Pavel - I completely understand. So we should all standby and wait for the next major instalment unless we have constructive changes to suggest - I agree with that also!
kevinvh is offline   Reply With Quote
Old 25-02-2018, 22:00   #2126
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 595
Re: Beta Test / Technical

For O5, WxW has been updated to see if the problem described here will be fixed
http://www.cruisersforum.com/forums/...ml#post2569805
http://www.cruisersforum.com/forums/...ml#post2569815
Baikal is offline   Reply With Quote
Old 01-03-2018, 06:15   #2127
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Beta Test / Technical

There is a small problem in todays git (4.99)
I get this error when installing
Quote:
CMake Error at cmake_install.cmake:126 (file):
file INSTALL cannot find
"/home/thomas/Sailing/OpenCPN/OpenCPN/data/opencpn-64.png".
The opencpn-64.png file is there in the code but it's not moved to the correct directory for installation.

Thomas
cagney is offline   Reply With Quote
Old 01-03-2018, 06:51   #2128
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Beta Test / Technical

Quote:
Originally Posted by cagney View Post
There is a small problem in todays git (4.99)
I get this error when installing


The opencpn-64.png file is there in the code but it's not moved to the correct directory for installation.

Thomas
Fixed.

Pavel
nohal is offline   Reply With Quote
Old 03-03-2018, 06:28   #2129
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: Beta Test / Technical

Pavel / Dave,

I'd like to git checkout v4.8.2 but do not find that in the opencpn branches. I am too far into v4.99 to compile with MSVC++2013.
Can you give me the release 4.8.0 code or add a tag please?

Thanks

I found this under Commits "Release 4.8.2"

https://github.com/OpenCPN/OpenCPN/c...6728be71216ab3

and it shows a Master v4.8.2 Tag but that branch is not showing in my local repository, the link leads to

https://github.com/OpenCPN/OpenCPN/releases/tag/v4.8.2 and the code is
So I"ll try that.
It worked, but we lost the tag v4.8.2 probably because the permissions were fixed?
Would be nice to have something in the beginning of the title with "v4.8.2" if possible.
Maybe the title could be edited?

Well, using the "hash" code ends me up in detached head state. I guess I must use the long tag to avoid that.
rgleason is offline   Reply With Quote
Old 03-03-2018, 07:09   #2130
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,766
Images: 2
Re: Beta Test / Technical

Forgot I need to make a local branch too..

git checkout -b v4.8.2 -bcbda2a

should do it. would be nice to have the tag.

Quote:
C:\Users\...\OpenCPN>git checkout -b v4.8.2 bcdba2a
fatal: Cannot update paths and switch to branch 'v4.8.2' at the same time.
Did you intend to checkout 'bcdba2a' which can not be resolved as commit?
This worked. I guess the Tag is seen by git, but not by us. I am talking about the remote tag v4.8.2 seems to get covered by the title "Fix the permissions..."


Quote:
C:\Users\...\GitHub\OpenCPN>git checkout -b v4.8.2
Switched to a new branch 'v4.8.2'
checked

Quote:
C:\Users\...\GitHub\OpenCPN>git branch -va
master ca6286e Merge pull request #1005 from seandepagnier/llregion_optimization
* v4.8.2 bcbda2a Fix the permissions on documentation files
rgleason is offline   Reply With Quote
Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Beta Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 13:44
Need some technical advice....antennas. Just a Tinch Marine Electronics 15 01-12-2007 15:57
Blue Sea Systems Technical Brief GordMay Electrical: Batteries, Generators & Solar 0 16-03-2007 04:16
technical difficulties witchcraft The Sailor's Confessional 1 30-05-2005 14:09
Dow Corning Technical Manual GordMay The Library 0 12-04-2005 16:25

Advertise Here


All times are GMT -7. The time now is 05: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.