Windows build problems #3890
Replies: 14 comments 6 replies
-
You are using outdated docs, correct ones could be found here You are also using an outdated build environment, building these days is documented for Visual Studio 2019. No bug to be found here, converting to discussions EDIT: building these days is documented for Visual Studio 2019/2022 |
Beta Was this translation helpful? Give feedback.
-
Please provide a link to the instructions that you were using. We will remove that. Thank you. |
Beta Was this translation helpful? Give feedback.
-
@rgleason : The complete https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:developer_manual is probably just a source of confusion. Please consider removing it completely, at a glance I can see numerous errors that will not get fixed. if you still want it around, please mark each and every page with "DONT USE THIS OLD INFO FILLED WITH ERRORS" or so. Remember that users often finds pages using google rather than following the TOC links (that's how I found the link above) |
Beta Was this translation helpful? Give feedback.
-
@Rasbats Okay, most of it is gone. I left the Dev Beta Plugins https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:developer_manual:plugins |
Beta Was this translation helpful? Give feedback.
-
What about Autopilot Fenix? Not mine. Engine_Dashboard and Race_Start (sic) belong to Steve Adler TideFinder, oBabel and NetCDF are mine but they can be deleted. |
Beta Was this translation helpful? Give feedback.
-
Dev manual and other is removed. Keeping part of old manual for confirmation before deletion. |
Beta Was this translation helpful? Give feedback.
-
@rgleason Not desperate as it is well outdated. But if you make time in the future. Thanks. |
Beta Was this translation helpful? Give feedback.
-
OP Used incorrect outdated documentation. This documentation is now deleted. |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
In VS022 I build with RelWithDebInfo and can debug what's needed. Sometimes I've to change the default Optimization for a single file*) to see all values. *) In Solution Explorer right click a source file and select Properties. In C++ Optimization change to "Disabled". |
Beta Was this translation helpful? Give feedback.
-
I suspect this is a compiler bug. I believe it has to do the whether or not a compiler created function (from a template) is inlined or not. When inlined then this error does not happen. But when it creates a real function then it becomes confused as to the certain type conversions (contortions) and gives up. This is not seen with any other compiler except Microsoft and only in Debug builds which further suggests it's a compiler bug. If someone wanted to bring this to the attention of Microsoft it might help. |
Beta Was this translation helpful? Give feedback.
-
I want to build and use OpenCPN in win10 environment. Visudal studio 2017 was used and the process suggested in the manual was performed.
Unfortunately, the following CMAKE error occurs while building OpenCPN. how can i solve it?
When I run [ cmake -G "Visual Studio 15 2017" -T v141_xp ..]
it shows as below.
The batch scripts mentioned there for either of the workflows will take care of populating the dependencies for you.
Originally posted by @nohal in #3271 (comment)
Beta Was this translation helpful? Give feedback.
All reactions