Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-06-2015, 06:08   #391
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,991
Re: Development Debugging Environment - Setup Help

Hubert...
Look at https://github.com/Kitware/CMake/blo...ets.cmake#L455 - it will give you a clear picture in which order cmake uses the info you give it through the environment variables and then it's own "intelligence" to find the WX libraries.
If you have both wx3.0 and 2.8 on your sysem, in case you did not build wx3.0 (=skipped step 2.1 of the instructions) but still have usable wx2.8, you end up exactly as you describe.

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 10-06-2015, 06:15   #392
bcn
Registered User

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

Gerhard,

this is not that simple under Windows:
https://sites.google.com/site/wxconfig/

Dan, Rick,

first lesson learnt:
not sufficient to look at the Path variables, there is some more stuff under system variables. Changed that, purged \build and another go and found in the log something like: wxWidgets found and a lot of references to 2.8.
Restarted the PC - perhaps Windows did not get the new variables without a restart? New round the same.
Changed the directory name to OLDwxWidgets-2.8.12 and
now it builds...
Looks like cmake does not care about the variables but just searches for C:wxWidgets-something and as 2.8 comes before 3.0 it grasps this one.

Pavel, seen your last post now....
I did built wxWidgets 3.0.2 following 2.1 - two times...

The build runs now - thanks everybody for the help!
Attached Thumbnails
Click image for larger version

Name:	2015-06-10 14_39_31-Systemsteuerung_System und Sicherheit_System.png
Views:	83
Size:	16.4 KB
ID:	103525   Click image for larger version

Name:	2015-06-10 14_57_44-Umgebungsvariablen.png
Views:	96
Size:	15.9 KB
ID:	103526  

__________________

__________________
bcn is offline   Reply With Quote
Old 10-06-2015, 06:29   #393
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,766
Re: Development Debugging Environment - Setup Help

Quote:
Originally Posted by bcn View Post
Gerhard,

this is not that simple under Windows:
https://sites.google.com/site/wxconfig/
I have pity on Windows users...

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 10-06-2015, 07:42   #394
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 3,903
Re: Development Debugging Environment - Setup Help

Environment variables don't change unless one of two things happens. One is you can change them in a .bat or .cmd script for a specific instance of a Command Prompt window.

Second way is to change the User environment variables using Control Panel Advanced Options and then log out and log back in. But you need to be sure in the latter case that your customized variables are in the User set and not the System set. If in the System set I think you have to restart Windows to see any effect after a change to these.
__________________
transmitterdan is offline   Reply With Quote
Old 10-06-2015, 18:54   #395
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,853
Re: Development Debugging Environment - Setup Help

Folks...

I regularly use cmake-gui on Windows.
- Gives direct control of the wxWidgets libraries to be used for this build right now.
- Allows multiple OCPN builds in different directories, with different wx libs if desired.
- Avoids the basically-broken Windows command prompt with its indecipherable environment variables.

I agree with Gerhard on this. Controlling Windows/VS from a command prompt is torture.

Recommended for active developers ...

Good Luck
Dave
__________________
bdbcat is offline   Reply With Quote
Old 11-06-2015, 10:38   #396
Registered User

Join Date: Apr 2015
Location: San Francisco
Posts: 61
Re: Development Debugging Environment - Setup Help

Quote:
Originally Posted by CarCode View Post
I have pity on Windows users...

Gerhard
Couldn't agree more.

Last night we were racing a Santa Cruz 70 - never saw the navigator. For three hours we just heard cursing from down below as he tried to get his fancy Ockam5 drivers and software to load and run on a Win7 laptop. I tried to show the owner OCPN on a Mac ("it just works"), but every time I mentioned it the cursing would get louder, distracting him. Don't think I made any friends.

Ockam has made their protocol definitions available and have a Ockam-bus to Ethernet gateway w/UDP broadcast - would be another fun data source for OCPN if anyone has access to such a system.
__________________
fogmachine is offline   Reply With Quote
Old 13-06-2015, 07:19   #397
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,995
Help with Uninstalling MS Programs

Any suggestions regarding uninstall of MS Programs is welcome. Many were installed with VS 2013 for Windows Desktop for some reason, see the programs with install date "5/24/2015"

Based upon Pavel's Program List for VS 2013 I have been trying to whittle down the MS programs installed on my computer. First is Pavel's short list. Then the ones on my laptop. The Red programs have already been uninstalled, the green programs I would like to uninstall.

Pavel's clean Win environment
----------------------------------
7-zip
CMake
CommonFiles
FileZilla 3.10.3
Git
Internet Explorer
MS Help Viewer
MS Office
MS Platform SDK
MS SDKs
MS SQL Server
MS SQL Server Compact Edition
MS Visual Studio.NET 2003
MS Visual Studio 12.0
Microsoft.NET
MSBuild
NSIS

======
My Laptop - running VS 2013
-------------

Microsoft.NET Framework 4 Multi-Targeting Pack 5/24/2015
Microsoft.NET Framework 4.5 Multi-Targeting Pack 5/24/2015
Microsoft.NET Framework 4.5 SDK 5/24/2015
Microsoft.NET Framework 4.5.1 Multi-Targeting Pack 5/24/2015
Microsoft.NET Framework 4.5.1 Multi-Targeting Pack (ENU) 5/24/2015
Microsoft.NET Framework 4.5.1 SDK 5/24/2015
Microsoft.NET Framework 4.5.2 1/14/2015

Microsoft Help Viewer 1.1 8/20/2012
Microsoft Help Viewer 2.1 5/24/2015

Microsoft Silverlight 7/25/2014

Microsoft SQL Server 2005 Compact Edition ENU 4/3/2011

Microsoft SQL Server 2012 Compact Line Utilities 5/24/2015
Microsoft SQL Server 2012 Data-Tier App Framework 5/24/2015
Microsoft SQL Server 2012 Data-Tier App Framework (x64) 5/24/2015
Microsoft SQL Server 2012 Express LocalDB 5/24/2015
Microsoft SQL Server 2012 Management Objects 5/24/2015
Microsoft SQL Server 2012 Management Objects (x64) 5/24/2015
Microsoft SQL Server 2012 Native Client 5/24/2015
Microsoft SQL Server 2012 Transact-SQL ScriptDom 5/24/2015
Microsoft SQL Server 2012 T-SQL Language Service 5/24/2015


Microsoft SQL Server 2014 Express LocalDB 5/24/2015
Microsoft SQL Server 2014 Management Objects 5/24/2015
Microsoft SQL Server 2014 Management Objects (x64) 5/24/2015
Microsoft SQL Server 2014 Transact-SQL ScriptDom 5/24/2015
Microsoft SQL Server 2014 T-SQL Language Service 5/24/2015

Microsoft SQL Server Compact 3.5 SP2 ENU 8/20/2012
Microsoft SQL Server Compact 3.5 SP2 x64 ENU 8/20/2012


Microsoft SQL Server Compact 4.0 SP1 x64 ENU 5/24/2015
Microsoft SQL Server Data Tools - enu (12.0.41012.0) 5/24/2015
Microsoft SQL Server Data Tools Build Utilities - enu (12.0.30919.1) 5/24/2015
Microsoft System CLR Types for SQL Server 2012 5/24/2015
Microsoft System CLR Types for SQL Server 2012 (x64) 5/24/2015
Microsoft System CLR Types for SQL Server 2014 5/24/2015
Microsoft System CLR Types for SQL Server 2014 5/24/2015


Microsoft Visual C++ 2005 ATL Update kb973923 -x64 8.0.50727.4053 5/4/2011
Microsoft Visual C++ 2005 ATL Update kb973923 -x86 8.0.50727.4053 5/4/2011
Microsoft Visual C++ 2005 Redistributable 6/5/2011
Microsoft Visual C++ 2005 Redistributable 12/21/2011
Microsoft Visual C++ 2005 Redistributable 10/8/2011
Microsoft Visual C++ 2005 Redistributable (x64) 4/18/2011
Microsoft Visual C++ 2005 Redistributable (x64) 6/15/2011
Microsoft Visual C++ 2005 Redistributable (x64) -KB2467175 5/4/2011
Microsoft Visual C++ 2008 ATL Update kb973924 -x64 9.0.30729.4148 5/4/2011
Microsoft Visual C++ 2008 ATL Update kb973924 -x86 9.0.30729.4148 5/4/2011
Microsoft Visual C++ 2008 Redistributable x64 9.0.30729.17 4/3/2011
Microsoft Visual C++ 2008 Redistributable x64 9.0.30729.6161 6/15/2011
Microsoft Visual C++ 2008 Redistributable x86 9.0.30729 9/19/2011
Microsoft Visual C++ 2008 Redistributable x86 9.0.30729.17 4/3/2011
Microsoft Visual C++ 2008 Redistributable x86 9.0.30729.6161 6/15/2011
Microsoft Visual C++ 2010 x64 Redistributable 10.0.40219 10/16/2014
Microsoft Visual C++ 2010 x64 Runtime 10.0.40219 8/20/2012
Microsoft Visual C++ 2010 x86 Redistributable 10.0.40219 10/16/2014
Microsoft Visual C++ 2010 x86 Runtime 10.0.40219 8/20/2012
Microsoft Visual C++ 2010 Express -ENU 8/20/2012
Microsoft Visual Studio 2010 Express Prerequisites x64 - ENU 8/20/2012
Microsoft Visual Studio 2010 Service Pack 1 8/20/2012 ---Some reluctance but does uninstall
Microsoft Visual Studio 2010 Tools for Office Runtime (x64) 10/16/2014


Microsoft Visual C++ 2012 Redistributable (x86) - 11.0.6130 5/15/2015
Microsoft Visual Studio Express 2013 for Windows Desktop -ENU with Update 4 5/24/2015

MsiVal2 5/25/2015
MSML 4.0 SP2 (KB954430) 4/12/2011
MSML 4.0 SP2 (KB973688) 4/12/2011
MSML 4.0 SP2 Parser and SDK 4/19/2011
__________________
rgleason is offline   Reply With Quote
Old 13-06-2015, 07:59   #398
bcn
Registered User

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

I think Pavel is running a bare bone virtual machine - so nothing left over from previous installs or odd cadavers...
__________________
bcn is offline   Reply With Quote
Old 13-06-2015, 19:06   #399
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,995
Re: Development Debugging Environment - Setup Help

Hurbert Yes, it is quite helpful. Do you think I can delete these cadavers?
I have put the ones I want to delete in green? - Any others?

Dave, I will try the GUI.
__________________
rgleason is offline   Reply With Quote
Old 17-06-2015, 14:21   #400
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,995
Re: Development Debugging Environment - Setup Help

Just reporting on uninstall of Microsoft Programs
After uninstalling 23 Microsoft Visual C++ in red above post #397
A program called Fix it required reinstall of six
MS Visual C++ 2008 Redistributable x64 9.30729.17
MS Visual C++ 2008 Redistributable x64 9.30729.6161
MS Visual C++ 2008 Redistributable x86 9.30729.17
MS Visual C++ 2010 Redistributable x64 10.0.40219
MS Visual C++ 2010 Redistributable x86 10.0.40219
MS Visual C++ 2012 Redistributable x86 11.0.61030

So that's not to bad a return.
----
After reading up on NET Framework...
MS NET Framework - Upgrade to 4.5.1 and 4.5.2 and just leave it.
I presently have about 7 NET Framework programs
4 multi targeting
4.5 multi targeting
4.5 SDK
4.5.1 multi targeting
4.5.1. multi targeting (ENU)
4.5.1 SKD
4.5.2
I am just leaving these at this point. --Any advice?
----
I deleted MS SQL Compact 2005

Now I have to tackle Microsoft SQL Server (17 programs)
2012 Data-Tier App Framework
2012 Data-Tier App Framework (x64)
2012 Express Local DB
2012 Management Objects
2012 Management Objects (x64)
2012 Native Client
2012 Transact-SQL-ScriptDom

2014 Express Local DB
2014 Management Objects
2014 Management Objects (x64)
2014 Native Client
2014 Transact-SQL-ScriptDom
2014 T-SQL-Language Service

Compact 3.5 SP2 ENU
Compact 3.5 SP2 x64 ENU
Compact 4.0 SP1 x64 ENU
Data Tools - enu
Data Tools Build Utilities
MS System CLR Types for SQL Server 2012
MS System CLR Types for SQL Server 2012 x64
MS System CLR Types for SQL Server 2014
MS System CLR Types for SQL Server 2014
[newer version]

The blue ones are what I am thinking of deleting! --Any ideas?
What does Visual Studio 2013 use for SQL????
__________________
rgleason is offline   Reply With Quote
Old 18-06-2015, 05:44   #401
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,995
Re: Development Debugging Environment - Setup Help

These SQL programs in blue (shown above) take up about 430 mb!
__________________
rgleason is offline   Reply With Quote
Old 18-06-2015, 06:01   #402
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,766
Re: Development Debugging Environment - Setup Help

Quote:
Originally Posted by rgleason View Post
These SQL programs in blue (shown above) take up about 430 mb!
If you don't like Windows why do you use it?

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 18-06-2015, 06:28   #403
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,995
Re: Development Debugging Environment - Setup Help

The Opencpn Developers manual under Compiling Windows shows no reference to Microsoft SQL. The current Visual Studio suggested is "Express 2013 for Windows Desktop" (build 4).

This link to Microsoft shows under "added features"
SQL Server 2014 is now supported

--SQL does not appear to be a prerequisite!!!! So perhaps I do not need SQL at all.
This version also seems to have Team Foundation Server whatever that is. -Do I really need this?

--In any event it appears I can remove SQL 2012 since I have duplicate SQL programs.
__________________
rgleason is offline   Reply With Quote
Old 18-06-2015, 07:26   #404
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,995
Re: Development Debugging Environment - Setup Help

I have deleted the following about from my computer programs now (250mb) and rebooted.

SQL Server 2005 Compact Edition ENU 4/3/2011
--Have more recent Compact versions

2012 Data-Tier App Framework
2012 Data-Tier App Framework (x64)
2012 Express Local DB
2012 Management Objects
2012 Management Objects (x64)
2012 Native Client
2012 Transact-SQL-ScriptDom
--I stiill have 2014 versions


MS SQL Server Data Tools Build Utilities - enu (12.0.30919.1) 5/24/2015
MS System CLR Types for SQL Server 2012 5/24/2015
MS System CLR Types for SQL Server 2012 (x64) 5/24/2015
--I still have 2014 versions

MSML 4.0 SP2 (KB954430) 4/12/2011
MSML 4.0 SP2 (KB973688) 4/12/2011
MSML 4.0 SP2 Parser and SDK 4/19/2011
-- Version 4.0 MSML is depricated and no longer used.

=====

These are now the Microsoft Programs still on the computer.

NET Framework programs
4 multi targeting
4.5 multi targeting
4.5 SDK
4.5.1 multi targeting
4.5.1. multi targeting (ENU)
4.5.1 SKD
4.5.2

2014 Express Local DB
2014 Management Objects
2014 Management Objects (x64)
2014 Native Client
2014 Transact-SQL-ScriptDom
2014 T-SQL-Language Service

Compact 3.5 SP2 ENU
Compact 3.5 SP2 x64 ENU
Compact 4.0 SP1 x64 ENU

Data Tools - enu
MS System CLR Types for SQL Server 2014
MS System CLR Types for SQL Server 2014


MS Visual C++ 2008 Redistributable x64 9.30729.17
MS Visual C++ 2008 Redistributable x64 9.30729.6161
MS Visual C++ 2008 Redistributable x86 9.30729.17
MS Visual C++ 2010 Redistributable x64 10.0.40219
MS Visual C++ 2010 Redistributable x86 10.0.40219
MS Visual C++ 2012 Redistributable x86 11.0.61030

MS Visual Studio Express 2013 for Windows Desktop -ENU with Update 4 5/24/2015

I WOULD LIKE TO DELETE THE SQL SHOWN IN BLUE
AND THE TWO "CLR"
__________________
rgleason is offline   Reply With Quote
Old 18-06-2015, 08:01   #405
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,995
Re: Development Debugging Environment - Setup Help

MS Visual Studio Express 2014 for Windows Desktop > Help shows it is using
- Net Framework 4.5.51209
- SQL Server Data Tools 12.0.410212.0 (28mb)
- and some others including Team Explorer

from this page https://msdn.microsoft.com/en-us/dn864412
Tools > Extensions and Updates menu. SQL Server tooling updates will appear in the Updates list. There is an update to v12.0.50512.0 which I tried.

That updated
2014 Transaction SQL Computer Services (now 140mb!)
T-SQL Language Service (now have two of these) 6 mb + 3mb
Server Data Tools enu (12.0.50512.0) which is 29.1 mb
+ Server Data Tools 2013 which is 224 mb!

I think I am going to delete the whole shooting match and see what happens.
Then install only what is needed.
__________________

__________________
rgleason is offline   Reply With Quote
Reply

Tags
environment

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 00:45.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.