itkQuadEdgeMesh.dll is not found while building ManagedITK-src-3.20.0.0 - c++

I am trying to build ManagedITK-src-3.20.0.0 in VS2010 v4.0 version.to build this.
I have to build InsightToolkit-3.20.1 and my build succeeded so I can use its build in ManagedITK-src-3.20.0.0.while building ManagedITK-src-3.20.0.0 but I am getting this error:
"Error 1 error LNK1104: cannot open file 'ITKQuadEdgeMesh.lib' D:\ManagedITK2\mBuild\Source\LINK ManagedITK.Common"
I followed every step given to build these projects. Can anyone tell me what I'm missing?
Thank you, any help is appreciated.

Related

How to Build Skia on Windows

I have not yet been able to successfully build skia from source code on Windows 10. I am going in circles at this point.
I followed the official instructions here https://skia.org/user/build but always get errors.
gn args are:
is_official_build=true
is_component_build = false
win_vc="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC"
skia_use_libpng=false
skia_use_icu=false
skia_use_zlib=false
skia_use_libwebp=false
skia_enable_pdf=false
skia_use_libjpeg_turbo=false
skia_use_expat=false
I get the following error:
C:\Development\skia\bin>ninja -C out/Static
ninja: Entering directory `out/Static'
[13/2662] copy ../../../third_party/externals/icu/common/icudtl.dat icudtl.dat
FAILED: icudtl.dat
python C:/Development/skia/gn/cp.py ../../../third_party/externals/icu/common/icudtl.dat icudtl.dat
CreateProcess failed: The system cannot find the file specified.
ninja: fatal: ReadFile: The handle is invalid.
Any thoughts would be appreciated.
By the way, first attempt at:
using gn or ninja to build anything
using Chromium's depot_tools
So, I am not ruling out any user error on my part :(

Kylin odbc driver C++ solution fails to build

I am unable to build Kylin ODBC C++ solution.
I followed the instructions found here, unfortunately, I get an error when I try to build the solution.
I am getting the below error message:
Error LNK1181 cannot open input file
'zlibstat.lib' Common C:\Users\user1\Documents\Visual Studio
2015\Projects\kylin-master\odbc\Common\LINK 1
When I include the zlibstat.lib file, I get an error message saying that it is already included.
The Error looks like your zlibstat.lib cannot be found.
Please check whether ZLIB_HOME is set in Environment Variables and whether project zlib is well compiled.
You can verify with check in file Common.vcxproj .
For example you want to build with Release|x64, please check whether can find zlibstat.lib in location $(ZLIB_HOME)\contrib\vstudio\vc11\x64\ZlibStatRelease.

Trying to build mysql-connector-cpp on Windows

I want to be able to build mysql-connector/c++ applications in debug mode (VS2k17), and understand the only way I can do that is to first build mysql-connector-cpp from source on my computer (Windows 10/64bit). I tried the following:
cmake . -DWITH_SSL=C:\Users\Rawb\source\libraries\OpenSSL-Win64
and it looks to complete successfully ...
Install location: C:/Users/Rawb/MySQL/MySQL Connector C++ 8.0
Connector libraries will be installed at: lib
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Rawb/source/repos/mcc2/mysql-connector-cpp
but when I run the following cmake build ...
cmake --build . --config
it fails with this output ...
LINK : fatal error LNK1104: cannot open file 'ssleay32.lib' [C:\Users\Rawb\source\repos\mcc2\mysql-connector-cpp\connector.vcxproj]
Done Building Project "C:\Users\Rawb\source\repos\mcc2\mysql-connector-cpp\connector.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\Users\Rawb\source\repos\mcc2\mysql-connector-cpp\ALL_BUILD.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\Rawb\source\repos\mcc2\mysql-connector-cpp\ALL_BUILD.vcxproj" (default target) (1) ->
"C:\Users\Rawb\source\repos\mcc2\mysql-connector-cpp\connector.vcxproj" (default target) (10) ->
(Link target) ->
LINK : fatal error LNK1104: cannot open file 'ssleay32.lib' [C:\Users\Rawb\source\repos\mcc2\mysql-connector-cpp\connector.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:14.57
What might I be doing wrong? Do I just need to place the ssleay32.lib file somewhere? I do have a copy of it but not sure how it should be included. Or is it more complex? I.e. Do I need to build Open SSL first on my machine as well? This is a deep rabbit hole for me, I may be in over my head haha!
NOTE: I also asked this question on reddit with no luck, so hoping someone here might know.
If you're using MSVS (any version, including MSVS 2017), then I'd suggest using "NMake" (instead of cmake). Or just create a new C/C++ library project in the MSVS IDE.
The flag you're looking for is /LIBPATH. I don't think you need "-D", but you certainly need "/LIBPATH".
Here are the MSVS linker options:
https://learn.microsoft.com/en-us/cpp/build/reference/linker-options?view=vs-2017
Finally, you might be able to do all the troubleshooting/tracing you want without actually debugging (and rebuilding) the connector code.
Here's how to enable tracing in the MySQL Connector:
https://dev.mysql.com/doc/connector-cpp/1.1/en/connector-cpp-debug-tracing.html
Please let me know if this helps.

error loading after build

I'm generally new to openCV and c++. I'm developing in Ceemple IDE and managed after some problems to get no errors during the compilation. the struggle though is not over as i get the following messages in the terminal
Compilation OK. Creating machine code... Code generating 'detectAndDisplay()'
Linking... [94;106mLinking OK.[39;49m [94;106mFinished compiling (0.21+0.22=0.42 sec) and linking (0.59 sec).[39;49m
11:21:19 Build Finished (took 1s.822ms) --
(!)Error loading
have you got any clue of what this mught be? thank you!
Which code are you trying to run?
Maybe the code tries to open some image file which isn't there?

launch failed. Binary not found

I am trying to get eclipse set up to work with C++, however when I try to run a basic program I get the error: Launch failed. Binary not found
Also this prints to the console:
Configuration failed with error
(Cannot run program "sh": Launching failed)
This is the path that I have set:
C:\Program Files\Java\jdk1.7.0_01\bin;C:\msys\1.0\bin;C:\mingw\bin;
All help will be appreciated.
For Windows:
Project / Properties / C/C++ Build / Settings /Binary parsers:
Turn on "PE Windows Parser"
Then, build it (Ctrl+B) before running/debugging
project->build project