![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
02-11-19, 12:39 PM
|
#1 |
|
Sparky
![]() Join Date: Mar 2016
Posts: 150
Downloads: 25
Uploads: 0
|
Try searching google/MS for Microsoft Visual C++ 2015 Redistributable
That should sort it (I think). |
|
|
02-11-19, 12:46 PM
|
#2 |
|
GLOBAL MODDING TERRORIST
|
OldCoder answered quicker then me.
And you need VCRUNTIME140.dll not VCRUNTIME14D.dll Get the full install as there may be other dll's you need. https://www.microsoft.com/en-us/down....aspx?id=52685 |
|
|
02-11-19, 01:01 PM
|
#3 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Quote:
![]() I am now trying to install the Microsoft Visual C++ 2015 Redistributable updates and to re-installe Microsoft Visual C++ 2017 Redistributables (I had to uninstall the latter in order to install the 2015 version)
Last edited by gap; 02-11-19 at 01:29 PM. |
||
|
|
02-11-19, 01:01 PM
|
#4 |
|
GLOBAL MODDING TERRORIST
|
OldCoder,
Can you send me your source code or could you add the needed code to do a area search function? Say something where we can search all heights for a given square? I could add the code but it may be awhile. Real life business has me REAL busy just now. Picture doing bids for 4 jobs all over the U.S.A. and trying to get motels and man power in line! That runs the range from Down town Cleveland to Dallas, Texas. |
|
|
02-11-19, 01:25 PM
|
#5 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
...if only I could get that code to work lol So here are all the Visual C++ redistributables I have installed on my system (I suppose that VC++ 2015 red. and VC++ 2015 red. update 3 get overwritten by VC++ 2017 red, because I don't see them in the list even though I had installed them today: ...and this one was my last attempt to run the exe: ![]() |
|
|
|
02-11-19, 06:59 PM
|
#6 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Okay, I have probably found the culprit:
I have VCRUNTIME140.dll in my windows\system32 folder. Nonetheless OldCoder's program throws a missing VCRUNTIME140D.dll error (see that litthe D?). VCRUNTIME140D.dll is the debug version of VCRUNTIME140.dll, and it is not redistributable, that's why it is missing from my system. Possible solutions: @ OldCoder would it be possible for you to compile your executable with release settings? If not, I will try and install a basic version of Visual Studio, to see if it registers on my computer the DLL(s) required by your exe.
|
|
|
02-12-19, 09:50 AM
|
#7 |
|
Sparky
![]() Join Date: Mar 2016
Posts: 150
Downloads: 25
Uploads: 0
|
Ok I just sent you both a link to the source code so you can adapt it to requirements, but also inside the zip is a recompiled Release cfg exe which you can try gap.
|
|
|
02-12-19, 12:29 PM
|
#8 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
I have received your files. The recompiled exe works now, though, whatever stepping value is used as its argument, the resulting .txt output contains 1,442.401 (i.e. 1,201 x 1,201) height points, which is equal to one third of the original resolution (stepping factor = 3). For our purposes we need to apply a stepping factor of 1.5. Using that value I would expect an output containing 5,764,801 (i.e. 2,401 x 2,401) height points. Any idea on why the stepping factor doesn't work and how to fix it? I have the source code that you sent me, but I know nothing about C++, and even if I started learning it today, I am afraid it would take long before I could figure out the problem by myself
|
|
|
|
![]() |
| Tags |
| enviromental mod, environment, terrain, trees, vegetation |
| Thread Tools | |
| Display Modes | |
|
|
