Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 14-11-2014, 14:06   #16
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: Compiling OCPN on Windows (VS 2010)

It is not necessary, unless you want to build OpenCPN in debug mode.
__________________

__________________
nohal is offline   Reply With Quote
Old 14-11-2014, 18:55   #17
Registered User
 
Mollymawk's Avatar

Join Date: Nov 2009
Location: on the high seas
Boat: "Mollymawk" 50ft Steel Ketch
Posts: 149
Re: Compiling OCPN on Windows (VS 2010)

Ok, after building both release and debug wxWidgets, and cleaning and recompiling OCPN, it builds ok - but it won't run.

I get a notice saying "The program can't start because wxbase28ud_vc_custom.dll is missing from your computer. Try reinstalling the program to fix this problem."

I am trying to run from the "Debug" directory. I have copied the uidata etc files as specified, though clearly this is not related to that but to a missing dll.

Obviously this is one of the DLLs in the git repo wxWidgets dir. But how do I make OCPN (or cmake?) recognise it?


Forgive me if I'm being stupid here; I don't use Windows much and have never compiled software on Windows before.
__________________

__________________
www.yachtmollymawk.com
Mollymawk is offline   Reply With Quote
Old 14-11-2014, 19:00   #18
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,816
Re: Compiling OCPN on Windows (VS 2010)

just put the dll files in the same directory as opencpn.exe
__________________
boat_alexandra is online now   Reply With Quote
Old 14-11-2014, 19:01   #19
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,019
Re: Compiling OCPN on Windows (VS 2010)

Caesar...
Two options here. Either copy the DLLs from C:\wxWidgets-2.8.12\lib\vc_dll to the build directory where opencpn.exe is, or add C:\wxWidgets-2.8.12\lib\vc_dll back to the PATH (Probably better)
And don't forget to copy the data files as per the instructions, otherwise you will get an error on startup.

Pavel
__________________
nohal is offline   Reply With Quote
Old 14-11-2014, 20:00   #20
Registered User
 
Mollymawk's Avatar

Join Date: Nov 2009
Location: on the high seas
Boat: "Mollymawk" 50ft Steel Ketch
Posts: 149
Re: Compiling OCPN on Windows (VS 2010)

It works!
Thanks guys.
I will update the wiki page based on my experiences.
__________________

__________________
www.yachtmollymawk.com
Mollymawk is offline   Reply With Quote
Reply

Tags
wind

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux cross compiling for windows failing jongough OpenCPN 42 29-11-2014 20:09
Compiling OpenCPN Windows 8.1 Ptizef OpenCPN 4 22-07-2014 14:08
Compiling & Debug in Windows MSVC rgleason OpenCPN 1 04-07-2014 18:42
Compiling OpenCPN in Windows useris OpenCPN 20 29-06-2013 08:45
Compiling OCPN on Scientific Linux 6.4 64bit HotRod OpenCPN 6 23-05-2013 07:51



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.