Home
Search results “Linker options visual studio”
C++ (OpenGL) - Linking libraries to your project tutorial (Microsoft Visual Studios)
 
14:41
In this video I will show you how to link libraries properly to your C++ project in Visual Studios. In this tutorial i will be using OpenGL libraries but if you follow the steps in this video you should be able to link any library to your project. GLEW : http://glew.sourceforge.net/ GLFW : http://www.glfw.org/ I will upload the project shortly.
Views: 20114 Ivan Seed
How the C++ Linker Works
 
15:52
Twitter ► https://twitter.com/thecherno Instagram ► https://instagram.com/thecherno Patreon ► https://patreon.com/thecherno Series Playlist ► https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb How the C++ Compiler Works ► https://youtu.be/3tIqpEmWMLI BEST laptop for programming! ► http://geni.us/pakTES My FAVOURITE keyboard for programming! ► http://geni.us/zNhB FAVOURITE monitors for programming! ► http://geni.us/Ig6KBq MAIN Camera ► http://geni.us/CYUQ MAIN Lens ► http://geni.us/ZM3CmG Microphone ► http://geni.us/wqO6g7K Slack ► https://slack.thecherno.com Stream ► http://www.twitch.tv/thecherno Website ► http://www.thecherno.com Facebook ► http://www.facebook.com/thecherno
Views: 90197 TheChernoProject
VS 2017 RC shows cl but not link options with CMAKE_VERBOSE_MAKEFILE on
 
08:53
Visual Studio 2017 RC shows options (command line arguments) for cl (compiler) but doesn't show any for link, if CMAKE_VERBOSE_MAKEFILE=on. It appears the cl options are outputted by cl.exe itself, detecting CMAKE_VERBOSE_MAKEFILE=on. But, it appears link doesn't check for this, or if it does, it fails to output its own options.
Views: 106 Michael Darling
Linker Tool Fehler LNK1104 Visual Studio 2015
 
00:59
Es gibt sicherlich weitere Lösungen ;-) S1064_LNK1104_Visual_Studio_2015
Views: 6471 Jürgen Walter
Setting compiler and linker search paths
 
03:04
See how to add a header file search path for the compiler or a library search path for the linker in Code Composer Studio.
Views: 6310 Code Composer
BEST Visual Studio Setup for C++ Projects!
 
12:08
Twitter ► https://twitter.com/thecherno Instagram ► https://instagram.com/thecherno Patreon ► https://patreon.com/thecherno In this video we take a look at some of the settings I use for pretty much all of my C++ projects in Visual Studio. Series Playlist ► https://www.youtube.com/playlist?list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb BEST laptop for programming! ► http://geni.us/pakTES My FAVOURITE keyboard for programming! ► http://geni.us/zNhB FAVOURITE monitors for programming! ► http://geni.us/Ig6KBq MAIN Camera ► http://geni.us/CYUQ MAIN Lens ► http://geni.us/ZM3CmG Microphone ► http://geni.us/wqO6g7K Slack ► https://slack.thecherno.com Stream ► http://www.twitch.tv/thecherno Website ► http://www.thecherno.com Facebook ► http://www.facebook.com/thecherno
Views: 82585 TheChernoProject
How to CMake Good - 0d - Visual C++ without Visual Studio
 
12:06
It's common to want to use Visual C++ but without using the Visual Studio IDE. I'll talk about using Visual C++ is this video without ever starting Visual Studio. You'll be able to compile with MSVC even without using MSBuild. I'll be comparing using CMake with MSBuild, NMake, and Ninja, all using Visual C++. A useful tip when using a specific generator (with CMake's `-G` flag): You only need to specify the `-G` option the first time you configure a new build directory. Once a build directory has a CMakeFiles/ directory in it, the generator will be remembered as long as that directory exists. Here are some nice links: - The "Build C/C++ code on the command line" documentation on MSDN: https://docs.microsoft.com/en-us/cpp/build/building-on-the-command-line - The MSVC command line options documentation on MSDN: https://docs.microsoft.com/en-us/cpp/build/reference/compiler-options - The MSVC linker command line options documentation on MSDN: https://docs.microsoft.com/en-us/cpp/build/reference/linker-options - A very important YouTube video: https://www.youtube.com/watch?v=EOcJR9vFqHw - The Ninja releases page on GitHub: https://github.com/ninja-build/ninja/releases Say "A semicolon-separated list of directories" three times, fast.
Views: 1483 vector-of-bool
C++ Linker Errors
 
03:23
Neumont University's Jamie King discussing the two types of possible C++ linker errors and what causes them.
Views: 20815 Jamie King
Visual Studio 2013 + Maya 2014 C++ ,64bit
 
06:42
Configure Visual Studio 2013 https://www.youtube.com/watch?v=BhHGCM9estg CONFIGURATION PROPERTIES General---Target Extension: .mll General---Configuration Type: Dynamic Library .dll ------------------------------------------------- VC++Directories---Include Directories: C:\Program Files\Autodesk\Maya2014\include VC++Directories---Library Directories: C:\Program Files\Autodesk\Maya2014\lib ------------------------------------------------- C/C++---General---Aditional Include Directories: ;C:\Program Files\Autodesk\Maya2014\include C/C++---Preprocessor---Preprocessor Definitions: ;WIN32;NDEBUG;_WINDOWS;NT_PLUGIN;REQUIRE_IOSTREAM C/C++---Runtime Library---Code Generation: Multi-threaded Debug DLL /MDd ------------------------------------------------- Linker---General---Aditional Library Directories: ;C:\Program Files\Autodesk\Maya2014\lib Linker---Input---Additional Dependencies: ;Foundation.lib;OpenMaya.lib;OpenMayaUI.lib;OpenMayaanim.lib;OpenMayaFX.lib;OpenMayaRender.lib;Image.lib Linker---Additional Options---Command Line; /export:initializePlugin /export:uninitializePlugin
Setting Options in Visual Studio 2013
 
07:50
A brief tour of some of the Options in Visual Studio 2013.
Views: 2392 Gregory Beamer
Specify link order in project build settings
 
02:18
Use the Link order tab under Build settings to precisely control the order in which object files and libraries are passed to the linker.
Views: 312 Code Composer
C++ Dynamic Linking vs Static Linking
 
15:06
Dynamic linking leaves library code external to the resulting EXE, thus we link at runtime to the DLL file. Whereas with a static LIB file, the instructions are copied into the end EXE.
Views: 66220 Jamie King
CppCon 2017: Michael Spencer “My Little Object File: How Linkers Implement C++”
 
47:51
http://CppCon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2017 — Ever wonder how the linker turns your compiled C++ code into an executable file? Why the One Definition Rule exists? Or why your debug builds are so large? In this talk we'll take a deep dive and follow the story of our three adventurers, ELF, MachO, and COFF as they make their way out of Objectville carrying C++ translation units on their backs as they venture to become executables. We'll see as they make their way through the tangled forests of name mangling, climb the cliffs of thread local storage, and wade through the bogs of debug info. We'll see how they mostly follow the same path, but each approach the journey in their own way. We'll also see that becoming an executable is not quite the end of their journey, as the dynamic linker awaits to bring them to yet a higher plane of existence as complete C++ programs running on a machine. — Michael Spencer: Sony Interactive Entertainment, Compiler Engineer Michael Spencer is a Compiler Engineer at Sony Interactive Entertainment where he has spent 6 years works on PlayStation's C++ toolchain. He is an active member of the LLVM community focusing on object files and linkers. He also serves as Sony's representative to the ISO C++ standard committee. — Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
Views: 11486 CppCon
C  Unhandled exception at 0x010D15D7 Stack overflow
 
01:51
The complete code of the error Unhandled exception at 0x010D15D7 in SIGEXTRACTION.exe: 0xC00000FD: Stack overflow (parameters: 0x00000000, 0x00442000) here is some useful link that show another options https://stackoverflow.com/questions/14080982/visual-studio-c-c-array-size-unhandled-exception-stack-overflow https://social.msdn.microsoft.com/Forums/en-US/2a5b32b6-683b-4729-92d3-45ed7a89ef3f/stack-overflow-and-how-to-increase-the-stack-size?forum=Vsexpressvc
Views: 291 ZINA TAKLIT
C++ Video Tutorial : Loading DLL and calling function
 
04:39
In my previous video I have described what the Dynamic Link library is. Now I try using one simple library and call easy function. There are three important functions to do that: LoadLibrary, GetProcAddress and FreeLibrary. They are defined in windows.h header file. Open your Visual Studio C++ environment and create console application. I include Windows header file. I copy the syntax of LoadLibrary function. If the application couldn't load the library, I will print the information about it. I include I/O stream header file and use standard namespace. I have to know the function names . I open Dependency Walker and analyse my library. I want to get the address of entry point of function. I copy the syntax of GetProcAddress function. I know only the name of function but if I want to call it I need to know what are the parameters of this function and what is the type of result of this function. The information about these things is not visible in the library. I have to find the prototype of this function, it can be found for example in the documentation published at Internet. Let's find avcodec header file. The Google recommended a couple of results. I define the function pointers where the GetProcAddress function writes the address. I compile and run the application. I have got the error. The application wasn't able to load the library because it isn't in the path. I have to copy the library into right place. I compile and run the application. It works. I need to free the library too. I copy the syntax of free library function. I compile and run the application. It works. I want to show you one more thing. I divide the execution of application into parts. After each part I will press enter to continue. Thanks to this I will show you how the consumption of memory is changing. I compile and run the application. I open the task manager and find my application. We can see that after loading the library the memory consumption increases. After calling FreeLibrary the memory consumption decreases. #Java #C++ #programming
Views: 68101 Marcin Miotk
Compiling Crypto++ library into the Microsoft Visual C++ Environment + Running Sample program
 
15:20
Link to the Blod Entry on Crypto++------http://programmingknowledgeblog.blogspot.de/2013/04/compiling-and-integrating-crypto-into.html c++ - about encryption and decryption using Crypto++ library Compiling and Integrating Crypto++ into the Microsoft Visual C++ .c++ - How do I install Crypto++ in Visual Studio 2010 Windows 7. Running Sample program Example How to build C++ cryptographic library, Crypto++ - NuLL CryptoPP DLL How to build Crypto++ dynamically on Microsoft Windows and Visual C++? ... is that your are linking against different versions of the run-time libraries....Visual C++ Crypto++ Library 5.6.2 - a Free C++ Class Library of Cryptographic encryption.cryptopp - Re: How to use Crypto++ with Visual C++ 6.0 Searches related to how to compile and run crypto++ in visual c++ ------------------Online Courses to learn---------------------------- Java - https://bit.ly/2H6wqXk C++ - https://bit.ly/2q8VWl1 AngularJS - https://bit.ly/2qebsLu Python - https://bit.ly/2Eq0VSt C- https://bit.ly/2HfZ6L8 Android - https://bit.ly/2qaRSAS Linux - https://bit.ly/2IwOuqz AWS Certified Solutions Architect - https://bit.ly/2JrGoAF Modern React with Redux - https://bit.ly/2H6wDtA MySQL - https://bit.ly/2qcF63Z ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL -------------------------Stuff I use to make videos ------------------- Stuff I use to make videos Windows notebook – http://amzn.to/2zcXPyF Apple MacBook Pro – http://amzn.to/2BTJBZ7 Ubuntu notebook - https://amzn.to/2GE4giY Desktop - http://amzn.to/2zct252 Microphone – http://amzn.to/2zcYbW1 notebook mouse – http://amzn.to/2BVs4Q3 ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter
Views: 20745 ProgrammingKnowledge
GCC & clang on windows with Visual Studio Code + bash terminal + debugging!
 
19:12
launch.json { "version": "0.2.0", "configurations": [ { "name": "(gdb) Launch", "type": "cppdbg", "request": "launch", "program": "${workspaceRoot}/a.exe", "args": [], "stopAtEntry": false, "cwd": "${workspaceRoot}", "environment": [], "externalConsole": true, "MIMode": "gdb", "miDebuggerPath": "C:/msys64/mingw64/bin/gdb.exe", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] } ] } cpp_properties.json configuration { "name": "MinGW", "intelliSenseMode": "clang-x64", "includePath": [ "${workspaceRoot}", "C:/msys64/mingw64/include", "C:/msys64/mingw64/include/c++/7.2.0", "C:/msys64/mingw64/include/c++/7.2.0/tr1", "C:/msys64/mingw64/include/c++/7.2.0/x86_64-w64-mingw32", "C:/msys64/mingw64/x86_64-w64-mingw32/include" ], "defines": [ "_DEBUG", "UNICODE", "__GNUC__=7", "__cdecl=__attribute__((__cdecl__))" ], "browse": { "path": [ "C:/msys64/mingw64/lib/*", "C:/msys64/mingw64/include", "C:/msys64/mingw64/include/c++/7.2.0", "C:/msys64/mingw64/include/c++/7.2.0/tr1", "C:/msys64/mingw64/include/c++/7.2.0/x86_64-w64-mingw32", "C:/msys64/mingw64/x86_64-w64-mingw32/include" ], "limitSymbolsToIncludedHeaders": true, "databaseFilename": "" } } user settings json { "terminal.integrated.shell.windows": "C:\\msys64\\usr\\bin\\bash.exe", "terminal.integrated.shellArgs.windows": ["-i"], "terminal.integrated.env.windows": { "PATH" : "/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/" } }
Views: 34433 Daniel Elliott Jones
How to Set up OpenGL and GLUT in Visual Studio (C++)
 
10:31
Download Link to Files http://www.mediafire.com/download/cmlnr0pj0pyha5d/Glew+and+Glut.zip ------------------Online Courses to learn---------------------------- Java - https://bit.ly/2H6wqXk C++ - https://bit.ly/2q8VWl1 AngularJS - https://bit.ly/2qebsLu Python - https://bit.ly/2Eq0VSt C- https://bit.ly/2HfZ6L8 Android - https://bit.ly/2qaRSAS Linux - https://bit.ly/2IwOuqz AWS Certified Solutions Architect - https://bit.ly/2JrGoAF Modern React with Redux - https://bit.ly/2H6wDtA MySQL - https://bit.ly/2qcF63Z ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL -------------------------Stuff I use to make videos ------------------- Stuff I use to make videos Windows notebook – http://amzn.to/2zcXPyF Apple MacBook Pro – http://amzn.to/2BTJBZ7 Ubuntu notebook - https://amzn.to/2GE4giY Desktop - http://amzn.to/2zct252 Microphone – http://amzn.to/2zcYbW1 notebook mouse – http://amzn.to/2BVs4Q3 ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter Setting up OpenGL 4.0 with Visual Studio GLEW: The OpenGL Extension Wrangler Library Setting up OpenGL on Visual Studio How do you install GLUT and OpenGL in Visual Studio 2012 Setting up OpenGL and GLUT Visual Studio - C++ Forum Searches related to setup opengl setup opengl visual studio 2010 solved how do i setup opengl setup opengl ubuntu opengl setup xp opengl setup download opengl setup windows 7 how to set up opengl in visual studio 2013 how to set up opengl in codeblocks
Views: 211730 ProgrammingKnowledge
01 - ATL Getting Started
 
21:32
How to get started with ATL or Active Template Library Learning ATL or COM technology is very difficult. This vidoe will explain how to get started with Active Template Library. 1. Create an empty solution its name is AtlGettingStarted 2. Create a C++ console project its name is AtlClientApp 3. Create a ATL dll COM housing its name is AtlServerLib 4. Add a Simple COM Object its name is Calculator 5. Add two methods Add(LONG x, LONG y, LONG* rlt) Sum(LONG a, LONG z, LONG* rlt) 6. Set Linker option 7. Copy AtlServerLib.tlb from AtlGettingStarted/AtlServerLib/Debug/ to AtlGettingStarted/Debug/ copy $(ProjectDir)$(IntDir)$(ProjectName).tlb $(TargetDir)$(ProjectName).tlb 8. Set project dependency 9. Flesh out client code For more information and to download source code please visit at http://www.talkplayfun.com/COM-Tutorial/
Views: 4916 Kim Thomas
(V) Develop apps for a virtual Windows Embedded Compact 2013
 
09:53
Objective: to debug 2 different visual studio's (VS2015) app, at the same time, in Windows Embedded Compact 2013 (WEC 2013) 1. Start WEC 2013 on a virtual embedded system 2. Deploy/Start App1.exe from VS2015 (instance 1) 2. Deploy/Start App2.exe from VS2015 (instance 2) Now, I wish to debug both application at the same time. If you get the error: "Build error LNK1117: Syntax error in option 'LTCG:incremental' when building on Release Win32 in VS2015 Community" in the debugging proces, please follows the steps in order to solve this issue: 1. Right click on your project in VS Solution Explorer; 2. Go to Properties; 3. Set Configuration to be 'Release' or 'Debug' accordingly to your development step; 4. In the left sidebar open Linker, then All Options; 5. Search for the option "Link Time Code Generation"; 6. Change it from "Use Fast Link Time Code Generation (/LTCG:incremental)" to "Use Link Time Code Generation (/LTCG)" 7. Click OK
Views: 590 Dan-Marius Dobrea
BGIDEMO
 
02:58
This is a demonstration of Borland Graphics Interface package. This demo program and its source code is bundled with Turbo C/C++ compiler. To correctly compile, link and run, follow the steps below. 1. Install Turbo C/C++ 3.0 Compiler on a PC with VGA compatible graphics adapter. 2. In Turbo C/C++ IDE, navigate to Options - Linker - Libraries, and select Graphics Library from the list on the left. 3. Now File - Change Director and move to TC/BGI directory 4. Open BGIDEMO.C in the editor, and Run - Run
Views: 212 Subin Sebastian
How toRun C/C++ Graphics Program in CodeBlocks? (HINDI)
 
06:35
Download WinBGIm here: http://winbgim.codecutter.org At right side (in other linker options) paste these commands: -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32
Views: 61393 easytuts4you
fatal error: LNK1120  unresolved externals (Solved and explained)
 
02:31
fatal error LNK1120: 7 unresolved externals Subscribe us for more interesting troubleshooting.
Views: 8136 INNo MATHs
Linux Understanding Shared Libraries
 
15:47
More videos like this online at http://www.theurbanpenguin.com If you need a little help understanding standard libraries ir shared modules in Linux then here we work with the Raspberry Pi and Raspbian Linux to show you how. We create a .so file from scratch and use it withing a program we link to the library. You will see ldd and ldconfig as well as the gcc options needed to make this work
Views: 32120 theurbanpenguin
Adding dependencies to visual studio program
 
04:26
If you are using visual studio 2010 and opencv 2.4.9 then here is a link to list of external dependent libraries: https://drive.google.com/file/d/0B_PDjnQhDF52OE5sTm5ET0U5ekU/view?usp=sharing
Views: 12026 INNo MATHs
Set Up C++ Development With Visual Studio Code on Windows 10 (VS Code)
 
23:36
In this video I am going to show, How to Set Up C++ Development With Visual Studio Code on Windows 10. We will use MinGW with VS code as our compiler and debugging tool. So First I will show How to install mingw. The we will see how to create, build and compile our first C++ Program on VScode. With an updated VS Code you can do it in the following manner: Hit (Ctrl+P) and type: ext install cpptools Open a folder (Ctrl+K & Ctrl+O) and create a new file inside the folder with the extension .cpp (ex: main.cpp): Type in your code and hit save. Press (Ctrl+Shift+P and type, Configure task runner and then select other at the bottom of the list. { "version": "2.0.0", "tasks": [ { "label": "build hello world", "type": "shell", "command": "g++", "args": [ "-g", "helloworld.cpp" ], "group": { "kind": "build", "isDefault": true } } ] } Hit (Ctrl+Shift+B to run Build task. This will create the .obj and .exe files for the project. For debugging the project, Hit F5 and select C++(Windows). In launch.json file, edit the following line and save the file: Below is an example using the MinGW GDB debugger: { "version": "0.2.0", "configurations": [ { "name": "(gdb) Launch", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/a.exe", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [], "externalConsole": true, "MIMode": "gdb", "miDebuggerPath": "C:\\mingw\\bin\\gdb.exe", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ], "preLaunchTask": "build hello world" } ] } Hit F5. -------------------Online Courses to learn---------------------------- Data Analytics with R Certification Training- http://bit.ly/2rSKHNP DevOps Certification Training - http://bit.ly/2T5P6bQ AWS Architect Certification Training - http://bit.ly/2PRHDeF Python Certification Training for Data Science - http://bit.ly/2BB3PV8 Java, J2EE & SOA Certification Training - http://bit.ly/2EKbwMK AI & Deep Learning with TensorFlow - http://bit.ly/2AeIHUR Big Data Hadoop Certification Training- http://bit.ly/2ReOl31 AWS Architect Certification Training - http://bit.ly/2EJhXjk Selenium Certification Training - http://bit.ly/2BFrfZs Tableau Training & Certification - http://bit.ly/2rODzSK Linux Administration Certification Training-http://bit.ly/2Gy9GQH ----------------------Follow--------------------------------------------- My Website - http://www.codebind.com My Blog - https://goo.gl/Nd2pFn My Facebook Page - https://goo.gl/eLp2cQ Google+ - https://goo.gl/lvC5FX Twitter - https://twitter.com/ProgrammingKnow Pinterest - https://goo.gl/kCInUp Text Case Converter - https://goo.gl/pVpcwL ------------------Facebook Links ---------------------------------------- http://fb.me/ProgrammingKnowledgeLearning/ http://fb.me/AndroidTutorialsForBeginners http://fb.me/Programmingknowledge http://fb.me/CppProgrammingLanguage http://fb.me/JavaTutorialsAndCode http://fb.me/SQLiteTutorial http://fb.me/UbuntuLinuxTutorials http://fb.me/EasyOnlineConverter
Views: 238249 ProgrammingKnowledge
01 - Absolute Fundamentals of C++ on Windows - Hello World on command line
 
49:15
We learn how to compile, link, preprocess C++ .cpp files on command line using Visual Studio 2015 and 2017. Absolute Fundamentals of C/C++ on Windows Using Visual Studio 2015 Visual Studio version 14 or Visual C++14 CL - C/C++ Compiler and Linker version 19.00.xxx Visual Studio 2017 Visual Studio verison 15.x or Visual C++15.xxx CL - C/C++ Compiler and linker verison 19.15.xxx Prerequisites: Visual Studio Code https://code.visualstudio.com/ And either Visual Studio 2017 installed https://visualstudio.microsoft.com/downloads/ or Visual Studio 2015 installed https://visualstudio.microsoft.com/vs/older-downloads/ Fundamental Concepts: 0. Command Line switches or options 1. Compilation, 2. Link, 3. Preprocessing, 4. Translation Unit, 5. Two different ways to define preprocessing macros A. cl hello.cpp (1) Compiles and generates hello.obj --- object file and (2) links hello.exe --- executable file Command line switch /c - compiles only ... do not generate exe file Compilation means the process that generates obj file .obj files are called object files. cl hello.obj links hello.obj and generates exe or executable file Link means generate executable files. cl hello.cpp --- means compile and link and generate executables. cl /c hello.cpp ---- compile only and generate obj file cl hello.obj ---- link to generate exe file The primary reason to separately compile and link is for the efficiency of the build process "Build" means "compile" and "link" and "generate" executables "Compile" means to generate object file (or .obj) "Link" means generate executable or exe or dll files. "Preprocessing" means replace #include directive's header contents in the .cpp file. "Compilation" is two-step processes 1. "Preprocess" include files 2. "Generate" object files During "Preprocessing" stage, the compiler substitutes preprocessor macros "Translation Unit" means .cpp files that is preprocessed.
Views: 68 Kim Thomas
Visual C++: Creating an Executable (.exe) File (2010)
 
03:06
http://xoax.net/ Lesson Page: http://xoax.net/cpp/crs/visualcpp/lessons/CreateExe/ For this C++ tutorial, we demonstrate how to create an executable (.exe) file in Visual C++ 2010 that you can transfer to other machines and run independently of Microsoft Visual Studio. Please submit all questions to our forum: http://xoax.net/forum/ Copyright 2010 XoaX.net LLC
Views: 113457 xoaxdotnet
Visual Studio 2015 Visual C++ MFC 2017 - 01 - Basic Setup, Design, and Functionality
 
05:18
This is 1 of 3 videos that explain how to start building an MFC (Microsoft Foundation Class) Application. -- DLL is an acronym for "Dynamic Link Library" -- I said it wrong in the video. -- Thanks MaDekay for catching that.
Views: 22597 Ryan Jones
Fix Code Blocks Environment Error Can't find compiler executable in your search path
 
02:08
An easy fix for Code Blocks Environment Error: Can't find compiler executable in your search path. #Codeblockserror Link for MinGW: https://sourceforge.net/projects/mingw/?source=dlp
Views: 266054 Sid's E Classroom
sfml 2.1 install guide codeblocks
 
19:25
1. install this to the root of C http://www.sfml-dev.org/download.php 2. run the installer MiniGW http://sourceforge.net/projects/mingw/files/ **** INSTALL CODE BLOCKS AFTER MINIGW FINISHES **** **** SELECT THE GNU GCC COMPILER AS DEFAULT **** if you dont you'll need to change it in the project its not that big of a deal. 3. install codeblocks "codeblocks-12.11mingw-setup.exe" http://www.codeblocks.org/downloads/binaries You can choose to add the patch i mentioned that will fix Std::To_string(); and other std fucntions for minigw http://tehsausage.com/mingw-to-string ***other linker options*** -static-libgcc -static-libstdc++ -std=c++11 yes they need the dashes. Comment if you have questions and I'll try to help If this guide helped you install sfml 2.1, up-vote the video so others will see it faster. This might help the libgmp-10.dll missing error. http://stackoverflow.com/questions/6951938/libgmp-10-dll-is-missing
Views: 14333 mack44halo3
CppCon 2017: Titus Winters “C++ as a "Live at Head" Language”
 
01:31:14
http://CppCon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2017 — Engineering is programming integrated over time. That is to say, as much as it can be difficult to get your code to build and run correctly, it is manifestly harder to keep it working in the face of changing assumptions and requirements. This is true no matter the scale, from a small program to a shared library. Only two solutions have been shown to be theoretically sound: never change or provide no compatibility guarantees. What if there were a third option? What if we took the question of maintenance out of the realm of theory and moved it to practice? This talk discusses the approach we've used at Google and how that intersects with other languages, package management, API and ABI compatibility, and a host of other software engineering practices. The particulars of C++ as a language and an ecosystem make it well positioned for a different approach: Live at Head. — Titus Winters: Google, C++ Codebase Cultivator, NYC Titus Winters has spent the past 6 years working on Google's core C++ libraries. He's particularly interested in issues of large scale software engineer and codebase maintenance: how do we keep a codebase of over 100M lines of code consistent and flexible for the next decade? Along the way he has helped Google teams pioneer techniques to perform automated code transformations on a massive scale, and helps maintain the Google C++ Style Guide. — Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
Views: 28939 CppCon
2017-11-11 -- How to Compile Digger for Windows with VS2008 (digger.org)
 
13:19
http://digger.org/winsrc.zip Use Visual Studio 2008. DirectX SDK (for example 8.0a): http://archive.org/download/DirectX.8.0a.SDK_includes_libs_only/DirectX.8.0a.SDK.zip Copy the DirectX SDK, for example to C:\ We could use only the "include" and "lib" directories from DirectX SDK 8.0a. Around 10MB. Make sure to add the "include" directory to the Visual Studio C++ Include directories. Make sure to add it to the very end of the directories because it will allow basic things like WINDOWS.H to define everything properly and only then include DirectX headers, now already properly defined. Make sure to add the "lib" directory of DirectX SDK to Visual Studio C++ Library directories. It doesn't matter if it's the first or last directory in the list because library files are used on demand, unlike Include header files which need to be included to define things in proper sequence. Choose "Release" before compiling Digger for Windows. Right click the main project and use "Build", "Rebuild" or "Clean" (this last one to start over after changing the code). You will see an error about "libc.lib". We must configure the linker options of the project and in linker dependencies, change "libc.lib" to "libcmt.lib" (mt es Multithreading). Right click the project. Go to Linker. Go to Input. Double click "Additional Dependencies". Change "libc.lib" to "libcmt.lib". Press OK button. Build/Rebuild again. The resulting program will now be in the source's root directory. For the Release compile, it will be called WinDigDX.exe
Views: 26 AltComp126
2013 Day2P13 LoB: Thread Local Storage (TLS)
 
14:16
The class materials are available at http://www.OpenSecurityTraining.info/LifeOfBinaries.html Follow us on Twitter for class news @OpenSecTraining. The playlist for this class is here: http://bit.ly/1cdrfel The full quality video can be downloaded at http://archive.org/details/opensecuritytraining Have you ever wondered what happens when a C program is compiled and executed on a system? This three-day class by Xeno Kovah will investigate the life of a binary from birth as C source code to death as a process running in memory being terminated. Topics will include but are not limited to: *Scanning and tokenizing source code. *Parsing a grammar and outputting assembly code. *Different targets for x86 assembly object files generation. (E.g. relocatable vs. position independent code). *Linking object files together to create a well-formed binary. *Detailed description of the Windows PE binary format. *How Windows loads a binary into memory and links it on the fly before executing it. *Detailed description of the Unix/Linux/BSD ELF binary format. Along the way we will discuss the relevance of security at different stages of a binary's life, from how viruses *really* work, to the way which malware "packers" duplicate OS process execution functionality, to the benefit of a security-enhanced OS loader which implements address space layout randomization (ASLR). Lab work will include: *Using the new "Binary Scavenger Hunt" tool which creates randomized PE binaries and asks randomized questions about the material you just learned! *Manipulating compiler options to change the type of assembly which is output *Manipulating linker options to change the structure of binary formats *Reading and understanding PE files with PEView *Using WinDbg to watch the loader resolve imports in an executable *Using Thread Local Storage (TLS) to obfuscate control flow and serve as a basic anti-debug mechanism *Creating a simple example virus for PE *Analyze the changes made to the binary format when a file is packed with UPX *Using the rootkit technique of Import Address Table (IAT) hooking to subvert the integrity of a program's calls to external libraries, allowing processes to be hidden. The prerequisites for this class are a basic understanding of C programming and compilation. This class is recommended for a later class on Rootkits (playlist: http://bit.ly/HLkPVG) as we talk about IAT Hooking, and required for a later class on malware analysis.
Views: 2196 Open SecurityTraining
Solved || How to install graphics.h in code blocks || 100% working.
 
05:17
Solved || How to install graphics.h in code blocks || 100% working. Detailed procedure for accesing graphics.h in codeblocks ....... download WinBGIm http://winbgim.codecutter.org .......change in codeblocks,other linker options -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32 ......link to download libbgi.a , given at last in note https://www.cs.colorado.edu/~main/bgi/dev-c++/
Views: 62690 Run& Chase
Setting Up OpenCV in Visual Studio
 
15:16
Installation of OpenCV in Visual Studio Environment. Originally was created for Image Processing class, Robotics Department, Nazarbayev University, Kazakhstan
Views: 155322 nurimbet
LECTURE 1: How to set environment for Assembly language in visual studio  [urdu & hindi ] 2019
 
08:21
Download Visual Studio https://docs.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2017 Download Irvine Library https://drive.google.com/open?id=1vDVfiR9tS-Lr3K_GThq93imvLBGQmPWx STEPS  Go to Build customizations--check masm  Go to properties  Linker--input--additional dependencies--edit--Irvine32.lib  Linker--general/all options--additional library directories--edit--give path of Irvine--apply  Microassembler--include paths--c:\Irvine  -Apply --ok VS KEYS 2015 Visual Studio Professional 2015 Key : HMGNV-WCYXV-X7G9W-YCX63-B98R2 Visual Studio Enterprise 2015 Key :HM6NR-QXX7C-DFW2Y-8B82K-WTYJV Visual Studio Enterprise 2015 Key :2XNFG-KFHR8-QV3CP-3W6HT-683CH
Compiling C++ using CMake and Make (CS20170204)
 
05:17
This dev log shows how to compile C++ code using a Makefile generated by CMake. This will also allow you add a flag to compile c++14 compliant syntax. Requirements: * g++ * cmake 3.x * text editor
Views: 54368 devlogs
Install OpenGL
 
02:54
Download Glut dan DevPack terlebih dahulu Extract glut, didalam folder glut terdapat 3 file dengan tipe .dll .h .a  Pindahkan file glut32.dll ke directori C:/Windows/System32 jika arsitektur komputer/laptop 64bit maka pindahkan file glut32.dll ke directori Localdisk C:/Windows/SysWOW64 Pindahkan file glut.h (header file) pada directori Localdisk C:/Programfile/CodeBlock/MinGW/include/gl Pindahkan file lib glut32.lib pada directori Localdisk C:/Programfile/CodeBlock/MinGW/lib Tambahkan linker ke OpenGL. Dengan cara klik kanan project Build Optionspilih nama project tab Linker Setting kemudian tambahkan tulisan seperti dibawah ini: glut32 -glu32 -opengl32 -winmm -lgdi32 Tab ke Debug masukkan glut32.lib dari folder C:/codeblock/minGW/lib/
Views: 15 Candra Liao
Visual Studio 2017  Linux development with C++
 
11:44
Get an overview of the new Linux C++ development workload in Visual Studio 2017. Download VS 2017 and try the new Linux development with C++ workload, everything you need to know is here: http://aka.ms/vslinux
2013 Day1P2 Life of Binaries: Compilers
 
03:15
The class materials are available at http://www.OpenSecurityTraining.info/LifeOfBinaries.html Follow us on Twitter for class news @OpenSecTraining. The playlist for this class is here: http://bit.ly/1cdrfel The full quality video can be downloaded at http://archive.org/details/opensecuritytraining Have you ever wondered what happens when a C program is compiled and executed on a system? This three-day class by Xeno Kovah will investigate the life of a binary from birth as C source code to death as a process running in memory being terminated. Topics will include but are not limited to: *Scanning and tokenizing source code. *Parsing a grammar and outputting assembly code. *Different targets for x86 assembly object files generation. (E.g. relocatable vs. position independent code). *Linking object files together to create a well-formed binary. *Detailed description of the Windows PE binary format. *How Windows loads a binary into memory and links it on the fly before executing it. *Detailed description of the Unix/Linux/BSD ELF binary format. Along the way we will discuss the relevance of security at different stages of a binary's life, from how viruses *really* work, to the way which malware "packers" duplicate OS process execution functionality, to the benefit of a security-enhanced OS loader which implements address space layout randomization (ASLR). Lab work will include: *Using the new "Binary Scavenger Hunt" tool which creates randomized PE binaries and asks randomized questions about the material you just learned! *Manipulating compiler options to change the type of assembly which is output *Manipulating linker options to change the structure of binary formats *Reading and understanding PE files with PEView *Using WinDbg to watch the loader resolve imports in an executable *Using Thread Local Storage (TLS) to obfuscate control flow and serve as a basic anti-debug mechanism *Creating a simple example virus for PE *Analyze the changes made to the binary format when a file is packed with UPX *Using the rootkit technique of Import Address Table (IAT) hooking to subvert the integrity of a program's calls to external libraries, allowing processes to be hidden. The prerequisites for this class are a basic understanding of C programming and compilation. This class is recommended for a later class on Rootkits (playlist: http://bit.ly/HLkPVG) as we talk about IAT Hooking, and required for a later class on malware analysis.
Views: 4433 Open SecurityTraining
CppCon 2017: Dmitry Panin “Practical Techniques for Improving C++ Build Times”
 
55:52
http://CppCon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2017 — Slow builds block all C++ developers from the work being done. At Facebook we have a huge codebase, where the time spent compiling C++ sources grows significantly faster than the size of the repository. In this talk we will share our practical experience optimizing build times, in some cases from several hours to just a few minutes. The majority of the techniques are open sourced or generic and can be immediately applied to your codebase. Facebook strives to squeeze build speed out of everything: starting from a distributed build system, through the compiler toolchain and ending with code itself. We will dive into different strategies of calculating cache keys, potential caching traps and approaches to improve cache efficiency. We tune the compiler, specifically with compilation flags, profile data and link time options. We will talk about the benchmarks we use to track improvements and detect regressions and what challenges we face there. Finally, you will learn about our unsuccessful approaches with an explanation of why they didn't work out for us. — Dmitry Panin: Facebook, Software Engineer Dmitry is a software engineer at Facebook working in Ads Infrastructure Team. He has been contributing to efficiency, scalability and reliability of C++ backend services responsible for ads delivery. He is currently hacking on Facebook's build infrastructure and C++ codebase itself with the goal to improve build speed. — Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
Views: 4746 CppCon
CppCon 2017: Carl Cook “When a Microsecond Is an Eternity: High Performance Trading Systems in C++”
 
01:00:07
http://CppCon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2017 — Automated trading involves submitting electronic orders rapidly when opportunities arise. But it’s harder than it seems: either your system is the fastest and you make the trade, or you get nothing. This is a considerable challenge for any C++ developer - the critical path is only a fraction of the total codebase, it is invoked infrequently and unpredictably, yet must execute quickly and without delay. Unfortunately we can’t rely on the help of compilers, operating systems and standard hardware, as they typically aim for maximum throughput and fairness across all processes. This talk describes how successful low latency trading systems can be developed in C++, demonstrating common coding techniques used to reduce execution times. While automated trading is used as the motivation for this talk, the topics discussed are equally valid to other domains such as game development and soft real-time processing. — Carl Cook: Optiver, Software Engineer Carl has a Ph.D. from the University of Canterbury, New Zealand, graduating in 2006. He currently works for Optiver, a global electronic market maker, where he is tasked with adding new trading features into the execution stack while continually reducing latencies. Carl is also an active member of SG14, making sure that requirements from the automated trading industry are represented. He is currently assisting with several proposals, including non-allocating standard functions, fast containers, and CPU affinity/cache control. — Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
Views: 56757 CppCon
How to run graphics programs on Code Blocks 16.01
 
06:21
This video shows the process to install Code Blocks 16.01 in such a way that one can also run Graphics programs in it. Download Code Blocks 16.01 from : https://sourceforge.net/projects/codeblocks/files/Binaries/16.01/Windows/codeblocks-16.01mingw-setup.exe/download and Other File from below link: https://drive.google.com/file/d/1vr6iUA7TZvaYfOcCrJ9drpz5AZ_ONLtq/view?usp=sharing Process : 1. Copy graphics.h and winbgim.h files in include folder of your compiler directory 2. Copy libbgi.a to lib folder of your compiler directory 3. In code::blocks open Settings - Compiler and debugger -linker settings click Add button in link libraries part and browse and select libbgi.a file 4. In right part (i.e. other linker options) paste commands -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32 Click OK
Views: 248 L N Pandey
2013 Day2P06 LoB: Dependency Walker
 
01:46
The class materials are available at http://www.OpenSecurityTraining.info/LifeOfBinaries.html Follow us on Twitter for class news @OpenSecTraining. The playlist for this class is here: http://bit.ly/1cdrfel The full quality video can be downloaded at http://archive.org/details/opensecuritytraining Have you ever wondered what happens when a C program is compiled and executed on a system? This three-day class by Xeno Kovah will investigate the life of a binary from birth as C source code to death as a process running in memory being terminated. Topics will include but are not limited to: *Scanning and tokenizing source code. *Parsing a grammar and outputting assembly code. *Different targets for x86 assembly object files generation. (E.g. relocatable vs. position independent code). *Linking object files together to create a well-formed binary. *Detailed description of the Windows PE binary format. *How Windows loads a binary into memory and links it on the fly before executing it. *Detailed description of the Unix/Linux/BSD ELF binary format. Along the way we will discuss the relevance of security at different stages of a binary's life, from how viruses *really* work, to the way which malware "packers" duplicate OS process execution functionality, to the benefit of a security-enhanced OS loader which implements address space layout randomization (ASLR). Lab work will include: *Using the new "Binary Scavenger Hunt" tool which creates randomized PE binaries and asks randomized questions about the material you just learned! *Manipulating compiler options to change the type of assembly which is output *Manipulating linker options to change the structure of binary formats *Reading and understanding PE files with PEView *Using WinDbg to watch the loader resolve imports in an executable *Using Thread Local Storage (TLS) to obfuscate control flow and serve as a basic anti-debug mechanism *Creating a simple example virus for PE *Analyze the changes made to the binary format when a file is packed with UPX *Using the rootkit technique of Import Address Table (IAT) hooking to subvert the integrity of a program's calls to external libraries, allowing processes to be hidden. The prerequisites for this class are a basic understanding of C programming and compilation. This class is recommended for a later class on Rootkits (playlist: http://bit.ly/HLkPVG) as we talk about IAT Hooking, and required for a later class on malware analysis.
Views: 1468 Open SecurityTraining
Compiling and configuring Boost C++ libraries for Visual Studio 2010
 
06:19
This video demonstrates how to compile the Boost C++ Libraries for VC++ 10.0. It will then show how to configure Visual Studio 2010, making it ready for use in your own C++ projects. You can download the source code at: http://toefel.nl/wp-content/uploads/2011/02/HelloBoost.zip For a good detailed description, you can also check out this page: http://stackoverflow.com/questions/2629421/how-to-use-boost-in-visual-studio-2010 I hope it helps, Christophe Hesters ( http://www.toefel.nl )
Views: 81396 toefel18
Winsock in Code::Blocks - Can it be done? (SHORT VERSION)
 
13:51
Winsock in Code::Blocks - Can it be done? (SHORT VERSION) This is the short, snappy and to the point version of the video. if you want a longer version with more 'detail' then click on the card link! Original video is here: https://www.youtube.com/watch?v=WDn-htpBlnU Clone the repository: git clone https://[email protected]/sloankelly/youtube-source-repository.git How to get Code::Blocks to compile the C++ server and client examples from this playlist: https://www.youtube.com/playlist?list=PLZo2FfoMkJeEogzRXEJeTb3xpA2RAzwCZ 1. Download Code::Blocks from http://www.codeblocks.org/downloads. I used the codeblocks-17.12mingw-setup.exe one in this video and it worked for me. 2. Clone the git repository (details above) to get the C++ code from the playlists 3. Open Code::Blocks 4. Click File | Import Project | MS Visual Studio Solution... 5. Browse to the BarebonesServer solution file and open it. Follow the wizard, just say OK/YES and you'll be fine. 6. Remove any #pragma comment .... lines in the file 7. Right-click the project in the "Projects" window on the left and click "Build options..." 8. In the dialog that appears, click the "Linker settings" tab and then the "add" button 9. Browse to the MinGW\lib folder and add the 'libwsock32.a' library 10. Compile! If it fails, check that your MinGW is setup correctly. Well... Read on a bit. I can't get code::blocks to see getnameinfo or inet_ntop, so if anyone has any suggestions? In the meantime we can use inet_ntoa instead, it's almost identical to what we want to do. Find the part of the code that looks like this: if (getnameinfo((sockaddr*)&client, sizeof(client), host, NI_MAXHOST, service, NI_MAXSERV, 0) == 0) { cout << host << " connected on port " << service <<endl; } else { inet_ntoa(AF_INET, &client.sin_addr, host, NI_MAXHOST); cout << host << " connected on port " << ntohs(client.sin_port) << endl; } And replace it with: strcpy (host, inet_ntoa(client.sin_addr)); cout << host << " connected on port " << ntohs(client.sin_port) << endl;
Views: 850 Sloan Kelly
CUDA GUI VS 2015 + CLR FORM [Simple Adding]
 
05:11
I have seeking for this couple of day to integrate CUDA and Windows Form Application (CLR Template). At the beginning it's very hard for me. Hope this help you everyone. I've attached source file from my visual studio in this link : https://drive.google.com/open?id=0By24PZRwSBT0eW9nTkFPaXFpYVk Read more from my reference and thanks to the owner of : 1. http://milagorobets.com/embedding-cuda-into-a-winforms-application/ 2. https://devtalk.nvidia.com/default/topic/979462/how-can-i-compile-cuda-code-then-link-it-to-a-c-clr-project/ 3. http://vivekvidyasagaran.weebly.com/moose/compiling-cuda-code-along-with-other-c-code Have a nice day, people :)
Views: 1299 Ka Mirul
Introducing Visual Studio, build configurations
 
09:52
This is essentially a longer version of what I wrote in Assignment 1 handout about starting the assignment and the build configurations. If all of that is already clear to you, consider skipping to the next video.
Views: 3601 Yrjö Peussa