Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 26-03-2013, 11:26   #136
Registered User
 
rgleason's Avatar

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

Share has a lot in it. Mine is dated 3/13/2013 the same date as all the other folders. It looks like it is part of Languages and messages. I guess I would copy it from your 3.2 version, but I don't think that is the problem now, but try it anyway.

Also check your Log file to see if it tells you anything.
__________________

__________________
rgleason is offline   Reply With Quote
Old 26-03-2013, 11:36   #137
Registered User
 
rgleason's Avatar

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

There are also lots of Log files in your opencpn-git subdirectories. I think there is an opencpn.log in your opencpn-git/build/opencpn.dir
Does that tell you anything?

Also have you just done a "Build Solution" F7 (yes you mentioned that) (with Debug Mode and Win32 showing in top bar) before trying to Debug > Start Debug?

Its something stupid we've overlooked. Let's let it rest a little.
__________________

__________________
rgleason is offline   Reply With Quote
Old 26-03-2013, 11:43   #138
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,825
Re: Development Debugging Environment - Setup Help

More actions:
In VC for project opencpn I've -clean the build, -rebuild and debugged a new instance.
Result:
A pop-up window: Translation says:
/
Opencpn.exe Its not possible to find one component.
X This program couldn’t start since wxbase28ud.vc_custom.dll is not found. This problem mey be corrected if you reinstall the program.
/


But the file wxbase28ud.vc_custom.dll is pointed to both via path to ;C:\wxWidgets-2.8.12\lib\vc_dll ; and present in the .../build directory.





The VC "Output from debug" shows:
Code:
'opencpn.exe': Loaded 'C:\Builds\OpenCPN\OCPN_V3.0.2\OpenCPN\build\Debug\opencpn.exe', Symbols loaded.
  'opencpn.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', Cannot find or open the PDB file
  'opencpn.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', Cannot find or open the PDB file
  'opencpn.exe': Loaded 'C:\WINDOWS\system32\user32.dll', Cannot find or open the PDB file
  'opencpn.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', Cannot find or open the PDB file
  'opencpn.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', Cannot find or open the PDB file
  'opencpn.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', Cannot find or open the PDB file
  'opencpn.exe': Loaded 'C:\WINDOWS\system32\secur32.dll', Cannot find or open the PDB file
  Debugger:: An unhandled non-continuable STATUS_DLL_NOT_FOUND exception was thrown during process load
  The program '[6340] opencpn.exe: Native' has exited with code -1073741515 (0xc0000135).
This seems rather serious but I can debug other none opencpn, projects.
Hints please
Håkan


Attached Thumbnails
Click image for larger version

Name:	Clipboard Image.jpg
Views:	72
Size:	67.0 KB
ID:	57970  
__________________
Hakan is offline   Reply With Quote
Old 26-03-2013, 11:53   #139
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,825
Re: Development Debugging Environment - Setup Help

I think we are posting more or less simultaneously so...
The build was fine see log:
Code:
Build started 2013-03-26 18:41:01.
Project "C:\Builds\OpenCPN\OCPN_V3.0.2\OpenCPN\build\opencpn.vcxproj" on node 2 (rebuild target(s)).
InitializeBuildStatus:
  Creating "opencpn.dir\Debug\opencpn.unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/CMakeLists.txt
  CMake does not need to re-run because C:\Builds\OpenCPN\OCPN_V3.0.2\OpenCPN\build\CMakeFiles\generate.stamp is up-to-date.
ClCompile:
  c:\Program\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I"C:/wxWidgets-2.8.12/lib/vc_dll/mswu" /I"C:/wxWidgets-2.8.12/include" /IC:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/include /IC:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/src /IC:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/src/nmea0183 /IC:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/src/mygdal /IC:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/src/garmin/jeeps /Zi /nologo /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D WXUSINGDLL /D UNICODE /D _UNICODE /D USE_GLU_TESS /D __MSVC__ /D _CRT_NONSTDC_NO_DEPRECATE /D _CRT_SECURE_NO_DEPRECATE /D PSAPI_VERSION=1 /D TIXML_USE_STL /D USE_S57 /D USE_GARMINHOST /D __WIN32__ /D _DEBUG /D __WXDEBUG__ /D "CMAKE_INTDIR=\"Debug\"" /D _UNICODE /D UNICODE /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"opencpn.dir\Debug\\" /Fd"C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/build/Debug/opencpn.pdb" /Gd /TP /analyze- /errorReport:prompt ..\src\chart1.cpp ..\src\bbox.cpp ..\src\ocpn_pixel.cpp ..\src\ocpndc.cpp ..\src\chartdb.cpp ..\src\chartdbs.cpp ..\src\chartimg.cpp ..\src\chcanv.cpp ..\src\concanv.cpp ..\src\cutil.cpp ..\src\georef.cpp ..\src\navutil.cpp ..\src\routeman.cpp ..\src\routemanagerdialog.cpp ..\src\routeprop.cpp ..\src\routeprintout.cpp ..\src\printtable.cpp ..\src\statwin.cpp ..\src\tcmgr.cpp ..\src\thumbwin.cpp ..\src\options.cpp ..\src\gshhs.cpp ..\src\kml.cpp ..\src\undo.cpp ..\src\about.cpp ..\src\ais.cpp ..\src\pluginmanager.cpp ..\src\gpxdocument.cpp ..\src\wxJSON\jsonwriter.cpp ..\src\wxJSON\jsonreader.cpp ..\src\wxJSON\jsonval.cpp ..\src\chartsymbols.cpp ..\src\razdsparser.cpp ..\src\styles.cpp ..\src\toolbar.cpp ..\src\compasswin.cpp ..\src\geodesic.cpp ..\src\datastream.cpp ..\src\multiplexer.cpp ..\src\scrollingdialog.cpp ..\src\tinyxml.cpp ..\src\tinyxmlerror.cpp ..\src\tinyxmlparser.cpp  /Zm1000 
  chart1.cpp
  bbox.cpp
  ocpn_pixel.cpp
  ocpndc.cpp
  chartdb.cpp
  chartdbs.cpp
  chartimg.cpp
  chcanv.cpp
c:\Program\Microsoft Visual Studio 10.0\VC\include\math.h(632): warning C4005: 'M_PI' : macro redefinition
          C:\wxWidgets-2.8.12\include\wx/math.h(22) : see previous definition of 'M_PI'
  concanv.cpp
  cutil.cpp
  georef.cpp
  navutil.cpp
c:\Program\Microsoft Visual Studio 10.0\VC\include\math.h(632): warning C4005: 'M_PI' : macro redefinition
          C:\wxWidgets-2.8.12\include\wx/math.h(22) : see previous definition of 'M_PI'
..\src\navutil.cpp(3432): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
  routeman.cpp
  routemanagerdialog.cpp
  routeprop.cpp
  routeprintout.cpp
  printtable.cpp
  statwin.cpp
  tcmgr.cpp
  thumbwin.cpp
  Generating Code...
  Compiling...
  options.cpp
  gshhs.cpp
  kml.cpp
  undo.cpp
  about.cpp
  ais.cpp
  pluginmanager.cpp
  gpxdocument.cpp
  jsonwriter.cpp
  jsonreader.cpp
  jsonval.cpp
  chartsymbols.cpp
  razdsparser.cpp
  styles.cpp
  toolbar.cpp
  compasswin.cpp
  geodesic.cpp
  datastream.cpp
  multiplexer.cpp
c:\builds\opencpn\ocpn_v3.0.2\opencpn\include\dychart.h(85): warning C4005: 'snprintf' : macro redefinition
          c:\builds\opencpn\ocpn_v3.0.2\opencpn\include\wx\json_defs.h(197) : see previous definition of 'snprintf'
  scrollingdialog.cpp
  Generating Code...
  Compiling...
  tinyxml.cpp
  tinyxmlerror.cpp
  tinyxmlparser.cpp
  Generating Code...
ResourceCompile:
  C:\Program\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /D WIN32 /D _WINDOWS /D _DEBUG /D WXUSINGDLL /D UNICODE /D _UNICODE /D USE_GLU_TESS /D __MSVC__ /D _CRT_NONSTDC_NO_DEPRECATE /D _CRT_SECURE_NO_DEPRECATE /D PSAPI_VERSION=1 /D TIXML_USE_STL /D USE_S57 /D USE_GARMINHOST /D __WIN32__ /D _DEBUG /D __WXDEBUG__ /D "CMAKE_INTDIR=\\\"Debug\\\"" /D _UNICODE /D UNICODE /l"0x0409" /I"C:/wxWidgets-2.8.12/lib/vc_dll/mswu" /I"C:/wxWidgets-2.8.12/include" /IC:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/include /IC:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/src /IC:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/src/nmea0183 /IC:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/src/mygdal /IC:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/src/garmin/jeeps /nologo /fo"opencpn.dir\Debug\opencpn.res" ..\src\opencpn.rc 
ManifestResourceCompile:
  C:\Program\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"opencpn.dir\Debug\opencpn.exe.embed.manifest.res" opencpn.dir\Debug\opencpn_manifest.rc 
Link:
  c:\Program\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Builds\OpenCPN\OCPN_V3.0.2\OpenCPN\build\Debug\opencpn.exe" /INCREMENTAL /NOLOGO /LIBPATH:"C:/wxWidgets-2.8.12/lib/vc_dll" /LIBPATH:"C:/wxWidgets-2.8.12/lib/vc_dll/Debug" /LIBPATH:C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/build/Debug /LIBPATH:C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/build/Debug/Debug kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib "C:\wxWidgets-2.8.12\lib\vc_dll\wxbase28ud.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxmsw28ud_core.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxbase28ud_net.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxbase28ud_xml.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxmsw28ud_html.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxmsw28ud_adv.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxmsw28ud_aui.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxmsw28ud_gl.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxpngd.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxtiffd.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxjpegd.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxzlibd.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxregexud.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxexpatd.lib" opengl32.lib glu32.lib winmm.lib comctl32.lib rpcrt4.lib wsock32.lib Debug\NMEA0183.lib Debug\S57ENC.lib Debug\GARMINHOST.lib setupapi.lib gdiplus.lib glu32.lib Psapi.lib /MANIFEST /ManifestFile:"opencpn.dir\Debug\opencpn.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/build/Debug/opencpn.pdb" /SUBSYSTEM:WINDOWS /STACK:"10000000" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/build/Debug/opencpn.lib" /MACHINE:X86 opencpn.dir\Debug\opencpn.res
  opencpn.dir\Debug\opencpn.exe.embed.manifest.res
  opencpn.dir\Debug\chart1.obj
  opencpn.dir\Debug\bbox.obj
  opencpn.dir\Debug\ocpn_pixel.obj
  opencpn.dir\Debug\ocpndc.obj
  opencpn.dir\Debug\chartdb.obj
  opencpn.dir\Debug\chartdbs.obj
  opencpn.dir\Debug\chartimg.obj
  opencpn.dir\Debug\chcanv.obj
  opencpn.dir\Debug\concanv.obj
  opencpn.dir\Debug\cutil.obj
  opencpn.dir\Debug\georef.obj
  opencpn.dir\Debug\navutil.obj
  opencpn.dir\Debug\routeman.obj
  opencpn.dir\Debug\routemanagerdialog.obj
  opencpn.dir\Debug\routeprop.obj
  opencpn.dir\Debug\routeprintout.obj
  opencpn.dir\Debug\printtable.obj
  opencpn.dir\Debug\statwin.obj
  opencpn.dir\Debug\tcmgr.obj
  opencpn.dir\Debug\thumbwin.obj
  opencpn.dir\Debug\options.obj
  opencpn.dir\Debug\gshhs.obj
  opencpn.dir\Debug\kml.obj
  opencpn.dir\Debug\undo.obj
  opencpn.dir\Debug\about.obj
  opencpn.dir\Debug\ais.obj
  opencpn.dir\Debug\pluginmanager.obj
  opencpn.dir\Debug\gpxdocument.obj
  opencpn.dir\Debug\jsonwriter.obj
  opencpn.dir\Debug\jsonreader.obj
  opencpn.dir\Debug\jsonval.obj
  opencpn.dir\Debug\chartsymbols.obj
  opencpn.dir\Debug\razdsparser.obj
  opencpn.dir\Debug\styles.obj
  opencpn.dir\Debug\toolbar.obj
  opencpn.dir\Debug\compasswin.obj
  opencpn.dir\Debug\geodesic.obj
  opencpn.dir\Debug\datastream.obj
  opencpn.dir\Debug\multiplexer.obj
  opencpn.dir\Debug\scrollingdialog.obj
  opencpn.dir\Debug\tinyxml.obj
  opencpn.dir\Debug\tinyxmlerror.obj
  opencpn.dir\Debug\tinyxmlparser.obj  /machine:X86 /debug 
     Creating library C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/build/Debug/opencpn.lib and object C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/build/Debug/opencpn.exp
Manifest:
  Deleting file "opencpn.dir\Debug\opencpn.exe.embed.manifest".
  C:\Program\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /out:"opencpn.dir\Debug\opencpn.exe.embed.manifest" /manifest opencpn.dir\Debug\opencpn.exe.intermediate.manifest
  C:\Program\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo"opencpn.dir\Debug\opencpn.exe.embed.manifest.res" opencpn.dir\Debug\opencpn_manifest.rc 
LinkEmbedManifest:
  c:\Program\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:PROMPT /OUT:"C:\Builds\OpenCPN\OCPN_V3.0.2\OpenCPN\build\Debug\opencpn.exe" /INCREMENTAL /NOLOGO /LIBPATH:"C:/wxWidgets-2.8.12/lib/vc_dll" /LIBPATH:"C:/wxWidgets-2.8.12/lib/vc_dll/Debug" /LIBPATH:C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/build/Debug /LIBPATH:C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/build/Debug/Debug kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib "C:\wxWidgets-2.8.12\lib\vc_dll\wxbase28ud.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxmsw28ud_core.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxbase28ud_net.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxbase28ud_xml.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxmsw28ud_html.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxmsw28ud_adv.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxmsw28ud_aui.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxmsw28ud_gl.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxpngd.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxtiffd.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxjpegd.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxzlibd.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxregexud.lib" "C:\wxWidgets-2.8.12\lib\vc_dll\wxexpatd.lib" opengl32.lib glu32.lib winmm.lib comctl32.lib rpcrt4.lib wsock32.lib Debug\NMEA0183.lib Debug\S57ENC.lib Debug\GARMINHOST.lib setupapi.lib gdiplus.lib glu32.lib Psapi.lib /MANIFEST /ManifestFile:"opencpn.dir\Debug\opencpn.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/build/Debug/opencpn.pdb" /SUBSYSTEM:WINDOWS /STACK:"10000000" /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Builds/OpenCPN/OCPN_V3.0.2/OpenCPN/build/Debug/opencpn.lib" /MACHINE:X86 opencpn.dir\Debug\opencpn.res
  opencpn.dir\Debug\opencpn.exe.embed.manifest.res
  opencpn.dir\Debug\chart1.obj
  opencpn.dir\Debug\bbox.obj
  opencpn.dir\Debug\ocpn_pixel.obj
  opencpn.dir\Debug\ocpndc.obj
  opencpn.dir\Debug\chartdb.obj
  opencpn.dir\Debug\chartdbs.obj
  opencpn.dir\Debug\chartimg.obj
  opencpn.dir\Debug\chcanv.obj
  opencpn.dir\Debug\concanv.obj
  opencpn.dir\Debug\cutil.obj
  opencpn.dir\Debug\georef.obj
  opencpn.dir\Debug\navutil.obj
  opencpn.dir\Debug\routeman.obj
  opencpn.dir\Debug\routemanagerdialog.obj
  opencpn.dir\Debug\routeprop.obj
  opencpn.dir\Debug\routeprintout.obj
  opencpn.dir\Debug\printtable.obj
  opencpn.dir\Debug\statwin.obj
  opencpn.dir\Debug\tcmgr.obj
  opencpn.dir\Debug\thumbwin.obj
  opencpn.dir\Debug\options.obj
  opencpn.dir\Debug\gshhs.obj
  opencpn.dir\Debug\kml.obj
  opencpn.dir\Debug\undo.obj
  opencpn.dir\Debug\about.obj
  opencpn.dir\Debug\ais.obj
  opencpn.dir\Debug\pluginmanager.obj
  opencpn.dir\Debug\gpxdocument.obj
  opencpn.dir\Debug\jsonwriter.obj
  opencpn.dir\Debug\jsonreader.obj
  opencpn.dir\Debug\jsonval.obj
  opencpn.dir\Debug\chartsymbols.obj
  opencpn.dir\Debug\razdsparser.obj
  opencpn.dir\Debug\styles.obj
  opencpn.dir\Debug\toolbar.obj
  opencpn.dir\Debug\compasswin.obj
  opencpn.dir\Debug\geodesic.obj
  opencpn.dir\Debug\datastream.obj
  opencpn.dir\Debug\multiplexer.obj
  opencpn.dir\Debug\scrollingdialog.obj
  opencpn.dir\Debug\tinyxml.obj
  opencpn.dir\Debug\tinyxmlerror.obj
  opencpn.dir\Debug\tinyxmlparser.obj  /machine:X86 /debug 
  opencpn.vcxproj -> C:\Builds\OpenCPN\OCPN_V3.0.2\OpenCPN\build\Debug\opencpn.exe
FinalizeBuildStatus:
  Deleting file "opencpn.dir\Debug\opencpn.unsuccessfulbuild".
  Touching "opencpn.dir\Debug\opencpn.lastbuildstate".
Done Building Project "C:\Builds\OpenCPN\OCPN_V3.0.2\OpenCPN\build\opencpn.vcxproj" (rebuild target(s)).

Build succeeded.

Time Elapsed 00:02:11.81
Edit: Attached the same log file. It's hard to read here
Edit2: I've searched for the requested file "wxbase28ud_vc_custom.dll" but looking more carefully it's actually not there. But the file "wxbase28u_vc_custom.dll" is there. I have older git download and that file is not there either!

Håkan
Attached Files
File Type: doc opencpn.log.doc (12.1 KB, 23 views)
__________________
Hakan is offline   Reply With Quote
Old 26-03-2013, 12:56   #140
Registered User
 
rgleason's Avatar

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

Ah Ha! I think you found something.

I have C:\wxWidgets-2.8.12\lib\vc_dll\wxbase28ud_vc_custom.dll\
Don't you have that?

I could send the whole directory to you, but will that solve the problem?
Send me your email, via messages please. I'll zip it for you.
__________________
rgleason is offline   Reply With Quote
Old 26-03-2013, 13:08   #141
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,825
Re: Development Debugging Environment - Setup Help

Ok - You have it! But this is strange. I better delete all and make a new git fetch to see if the file shows up and if one thing missed it may be something else as well?. But it's still strange that the file is missing also in the git-fetch I did rather long time ago.

Edit: I may be a little tired. This is of course not git and opencpn. It's wxWidgets. and the file is actually therein. Why is VC missing it?? (I've checked the path!)
__________________
Hakan is offline   Reply With Quote
Old 26-03-2013, 13:43   #142
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,825
Re: Development Debugging Environment - Setup Help

rgleason..
Found it!! Thanks for your attempts to help me but it was all my fault. Looking closer to the path setting there was by mistake a space between "vc_dll" and ";" >> .......\vc_dll ; instead of .......\vc_dll;
So as usual when finding a simple fault

Now it's debugging just fine and Opencpn is on the screen. I can start to play.

Again thanks /Håkan
__________________
Hakan is offline   Reply With Quote
Old 26-03-2013, 13:48   #143
Registered User
 
rgleason's Avatar

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

Its too big to upload, you'll have to send me your email. Tried zip.doc and ogg and it sends me to special video upload area. No dice. Maybe I zip the whole wxWidgets and put it in Dropbox for you. Its big 1.2 gig
__________________
rgleason is offline   Reply With Quote
Old 26-03-2013, 13:49   #144
Registered User
 
rgleason's Avatar

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

Hakan That's Excellent!!
__________________
rgleason is offline   Reply With Quote
Old 28-03-2013, 06:31   #145
Registered User
 
rgleason's Avatar

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

Summary and Review of git commands to get updated. Use "Start > Run" Dos cmd prompt:
git fetch --all
Responds: Fetching origin. ... but no more downloads.
---
You missed the "Your branch is behind "origin/master" by 34 commits and can be fast-forwarded."
Seems you have a specific commit checked out and thus "git fetch" fetches new commits but doesn't apply them to your working directory.
git merge master
Response: Already up to date.
---
To see where you are:
git status
May show you are still behind.
---
OK,
...it's a bit hard for me to know since I don't know how you got to where you are. If this doesn't help you will need to google for a solution on how to get your local git repo in sync with master. you can try this:
git reset --hard origin/master
response ...at the head. ---
---
After issuing this command and getting this response, went to
MS Visual Studio 2010 Express. Loaded it, went to File > Recent projects Picked ...\build\opencpn It processed and during the processing several messages came up saying PO's were external or something do I want to reload from disk. I tried no. Then eventually said yes reload. Things reloaded and it seems to be running in Debug mode.
Can anyone explain what happened?

See SethDart Response:
"git fetch" retrieve changes but does not update your local repo. You should issue a "git merge" or "git rebase" after fetching to update your local source (BTW, "git pull" will do git fetch + git merge in one single command, it should work for most usage). "git reset" does the same but will destroy any changes you did locally...

Now about PO, it's related to translations and requires gettext. IIRC it's optional on Windows install but you may have a look at your gettext installation and cmake correctly finding it. The exact message may help us diagnose what's wrong, or not ;-)

--
So, now Pavel has asked Hakan to issue
git rebase origin/master
to update from origin/master. What is this? Here is the book on Git Rebase
"In Git, there are two main ways to integrate changes from one branch into another: the merge and the rebase. In this section you’ll learn what rebasing is, how to do it, why it’s a pretty amazing tool, and in what cases you won’t want to use it."

With the rebase command, you can take all the changes that were committed on one branch and replay them on another one.

This appears to be useful when you've written some code on the side and want to bring it back into the mainstream master.

__________________
rgleason is offline   Reply With Quote
Old 31-03-2013, 16:17   #146
Registered User
 
rgleason's Avatar

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

Having trouble git fetching for sean/grib_enhancements.
kept getting "refname is ambiguous.."
Had tried git fetch --all, and git pull sean/grib_enhancements and git pull sean grib_enhancements

Then what worked:
git checkout sean/grib_enhancements
git fetch
it thought but did nothing.
git fetch sean
it fetched some files.
git pull sean grib_enhancements
__________________
rgleason is offline   Reply With Quote
Old 02-04-2013, 04:33   #147
Registered User
 
rgleason's Avatar

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

Lesson in Git from Pavel: (Little Ais Mod Post #8)

Hakan...
Congrats Ready for the next small git lesson? If so, try Code:
Code:
git diff
on your modified source.
Better say Code:
Code:
git diff > mydiff.txt
I think it will save you a bit of work next time...
The resulting mydiff.txt is all that's needed to replay your changes on anybody's code using
Code:
Code:
git apply mydiff.txt
Pavel
__________________
rgleason is offline   Reply With Quote
Old 02-04-2013, 04:51   #148
Registered User
 
rgleason's Avatar

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

Git and Repository information on thread Contribution to OpenCpn Development
This is for programmers...who are sharing and developing code.

Pull requests - response by JesperWe

..merge vs rebase might make a difference? by Rolker I'm struggling with git myself trying to figure out how to correctly use branches to contribute code the "correct way". ...Maybe this is an instance where I should have rebased instead of merged? ...worried that a future pull request from my branch will result in similar commit issues as encountered by... JesperWe says In my experience it is much better to update your underlying master by "git pull origin/master --rebase" or similar. This avoids the extra "Merging bla bla bla" commit.

Summary of Git
Mistakes and how to fix them by Rolker -Very Instructive, excellent, also see JesperWe's comment following with suggestions how to work Post #22 & #23


Pull request Form and Formatting Guidelines
__________________
rgleason is offline   Reply With Quote
Old 13-04-2013, 19:45   #149
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Re: Development Debugging Environment - Setup Help

Hi Folks!

There is definitely something "wrong" with the compilation of wxWidgets 2.8.12.

I downloaded the 'wxMSW-2.8.12-Setup.exe' form wxwidgets.org website and strictly followed the instructions on opencpn.org.
Tried all alternatives - all with the same result. It seems that there is an error concerning the path settings (yes, I have all needed entries in my system path!) as VC2010++ throws errors about not being able to locate files.

In my case mainly for the 'adv'.
When you try to run CMake GUI upon this wxWidgets compilation it will result in the errors Rick has posted at the beginning of this thread.

After I have downloaded the ready compiled wxWidgets pack Pavel posted all went "as usual" without any further errors.

Maybe someone with a deeper knowledge of the materia than me, can do some further investigation ...!

Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline   Reply With Quote
Old 14-04-2013, 06:18   #150
Registered User

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

Gunther...
You have to post the errors you actually get, otherwise we will very hardly be able to help you.
If you really did everything that's in the build instructions, you should not have any problem. The troubles Rick experienced at the time this thread was started were caused by not following the instructions exactly, as far as I can remember...
From your post I don't even understand if you managed to build wx itself, but I suppose you didn't, right? There are no PATH entries needed for it, so they are hardly a problem, just post the output of
Code:
nmake -f makefile.vc BUILD=release MONOLITHIC=0 SHARED=1 UNICODE=1 USE_GDIPLUS=1 USE_OPENGL=1
and we'll see what's wrong...


Pavel
__________________

__________________
nohal 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



Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 07:42.


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.