User forums > General (but related to Code::Blocks)
Microsoft C/C++ compiller
oBFusCATed:
I don't know what you're doing, but you've swapped the paths for includes and libraries.
The /I options must point to the include folders and /LIBPATH options must point to the library folders.
lbertolotti:
--- Quote from: oBFusCATed on July 02, 2017, 04:36:52 pm ---I don't know what you're doing, but you've swapped the paths for includes and libraries.
The /I options must point to the include folders and /LIBPATH options must point to the library folders.
--- End quote ---
Yeah, the "Search Directories" option is the one managing the include folders, the "Linker Settings" is the one managing the library folders.
Well, I guess this build log is now ok:
--- Code: ----------------- Build: Debug in example_mic (compiler: Microsoft Compiller)---------------
Target is up to date.
Nothing to be done (all items are up-to-date).
--- End code ---
The libraries linked where: msvcprtd.lib, msvcrtd.lib, oldnames.lib, ucrtd.lib, vcruntimed.lib, ucrtd.lib, kernel32.Lib
The search directories are:
..\..\..\..\Program Files (x86)\Windows Kits\10\Include\10.0.15063.0\ucrt
..\..\..\..\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include
But now "Build and run" wants the VCRUNTIME140D_APP.dll.
oBFusCATed:
--- Quote from: lbertolotti on July 02, 2017, 05:25:05 pm ---But now "Build and run" wants the VCRUNTIME140D_APP.dll.
--- End quote ---
You have to install the proper vc runtime in order for your program to be able to find this dll.
lbertolotti:
In debug mode the compiler wants VCRUNTIME140D_APP.dll, in release mode it wants VCRUNTIME140_APP.dll. I have the latter in Windows\InfusedApps.
oBFusCATed:
I know.
Simple search reveals what needs to be done in your case:
https://stackoverflow.com/questions/25383833/install-vc-debug-runtime-distributable
https://msdn.microsoft.com/en-us/library/aa985618.aspx
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version