Making and Working with Libraries in C++ (Multiple Projects in Visual Studio)

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 มิ.ย. 2024
  • Patreon ► / thecherno
    Twitter ► / thecherno
    Instagram ► / thecherno
    Discord ► thecherno.com/discord
    Series Playlist ► thecherno.com/cpp
    Thank you to the following Patreon supporters:
    - Samuel Egger
    - Dominic Pace
    - Kevin Gregory Agwaze
    - Sébastien Bervoets
    - Tobias Humig
    Gear I use:
    -----------------
    BEST laptop for programming! ► geni.us/pakTES
    My FAVOURITE keyboard for programming! ► geni.us/zNhB
    FAVOURITE monitors for programming! ► geni.us/Ig6KBq
    MAIN Camera ► geni.us/t6xyDRO
    MAIN Lens ► geni.us/xGoDWT
    Second Camera ► geni.us/CYUQ
    Microphone ► geni.us/wqO6g7K

ความคิดเห็น • 187

  • @prezadent1
    @prezadent1 6 ปีที่แล้ว +176

    You forgot to turn off wire-frame display for the cactus.

  • @shaladddin5687
    @shaladddin5687 3 ปีที่แล้ว +59

    I'm immediately subscribing, because of how clear the tutorial is

  • @robertmoats1890
    @robertmoats1890 2 ปีที่แล้ว +16

    You're naturally gifted at walking people through potentially complex concepts rather effortlessly. I'll definitely be checking out more of your videos. Thanks man!

  • @pwrdwnsys
    @pwrdwnsys 6 ปีที่แล้ว +64

    Your C++ series is really good. Thanks for making these as they're super helpful.

  • @HaeriStudios
    @HaeriStudios 6 ปีที่แล้ว +6

    This is exactly what I needed!
    I would love to see a tutorial about proper use of namespaces in a large project and correct inclusion of header files (So that no circular dependencies can happen)

  • @mb-ql1gb
    @mb-ql1gb 6 ปีที่แล้ว

    Great tutorial, short, direct and on point, well explaint for beginners, thank you very much!

  • @fzntolenk
    @fzntolenk 6 ปีที่แล้ว +3

    Cool... You showed what exactly I was looking for... in detail and easy to understand...

  • @lechi_2002
    @lechi_2002 6 ปีที่แล้ว +120

    I would like to see a video about exception handling in C++.

    • @shpresimmuja467
      @shpresimmuja467 6 ปีที่แล้ว +23

      Tudor Lechintan he doesn't like exception handling, and I agree, exception handling is stupid.

    • @greatbullet7372
      @greatbullet7372 6 ปีที่แล้ว +15

      we dont want to make exceptions xD

    • @michaelatorn8380
      @michaelatorn8380 5 ปีที่แล้ว +9

      3 important commands:
      -try
      -throw
      -catch

    • @claudiopisa2043
      @claudiopisa2043 3 ปีที่แล้ว +4

      @@shpresimmuja467 why ? They can be very useful

  • @drewbell5260
    @drewbell5260 5 ปีที่แล้ว

    Great stuff Cherno. Thanks!

  • @gavinw77
    @gavinw77 2 ปีที่แล้ว

    Thank you, this was much easier than the MS guide for setting up a DLL. I couldn't get that to work. This guide is simpler. And note that it's also good for DLL's, not just static libraries!

  • @bulentgercek
    @bulentgercek 3 ปีที่แล้ว

    This video explain its content as beautiful as a masterpiece. Thank you.

  • @Playturbot
    @Playturbot 6 ปีที่แล้ว +5

    I spent hours trying to figure this out myself a few weeks ago. If I only knew that it was this simple...

  • @dreamhollow
    @dreamhollow 2 ปีที่แล้ว

    This was really helpful.
    I feel like I understand namespaces much better, too.

  • @zonico5826
    @zonico5826 6 ปีที่แล้ว

    As always, great video!

  • @MSSoftwareGuru
    @MSSoftwareGuru 5 ปีที่แล้ว

    Wow, you really saved me!!! Thanks SOOO much!

  • @acho8387
    @acho8387 2 ปีที่แล้ว

    Absolutely amazing.

  • @adrianoldchannel2494
    @adrianoldchannel2494 6 ปีที่แล้ว

    That's incredible

  • @georges.154
    @georges.154 6 ปีที่แล้ว

    Awsome video! Thanks a lot man!

  • @amateursdream
    @amateursdream 4 ปีที่แล้ว

    As usually amazing!

  • @loryon
    @loryon 6 ปีที่แล้ว +2

    That was useful thanks !

  • @josea8187
    @josea8187 6 ปีที่แล้ว +9

    Great video as always mate. It would be great if you could make a couple of videos regarding operator overloading as well as polymorphism.

  • @femloh
    @femloh 5 ปีที่แล้ว +3

    Your tutorials are really good. Thanks for this. Want to build a custom maths library for my 3d projects so I don't recopy every time. Thanks.

  • @soddoffbaldrick2209
    @soddoffbaldrick2209 5 ปีที่แล้ว

    Awesome! Thanks.

  • @shyammishra3568
    @shyammishra3568 3 ปีที่แล้ว +2

    Hey , A big fan of your great c++ sessions. can you please make one video on VSTest or native c++ unit testing in visual studio? This will be a great subject to make a video. Looking for hearing soon :)

  • @JuWnL
    @JuWnL 4 ปีที่แล้ว

    Really helpful

  • @unluckyaf7673
    @unluckyaf7673 2 ปีที่แล้ว

    God bless you mate!

  • @eduardolacerda8818
    @eduardolacerda8818 6 ปีที่แล้ว +2

    I would like to see a video about C++ mobile development showing how to develop a very simple cross-plataform app. Maybe a video about "modern C++"? Another one about makefiles and/or CMake? I couldn't find good youtube videos about these topics, so... :)

  • @slayer5171
    @slayer5171 5 ปีที่แล้ว

    Briliant video. Thanks..

  • @mfatihaydogdu7
    @mfatihaydogdu7 ปีที่แล้ว

    Thanks!

  • @jackthehammer2245
    @jackthehammer2245 6 ปีที่แล้ว +2

    Thanks for your video! Any chance to cover V-table in your future video? especially the internal behavior in memory. Also when talking about V-table it would also be nice to cover multi inheritance(evil diamond that people like to stay away) and the internal behavior. It is quite confusing but also interesting topic. Thanks again for your cool video! Hopefully could see more topics on C++ Optimization in future! (You probably have a lot to cover since this is c++.....Take your time!)

  • @piotrlenarczyk5803
    @piotrlenarczyk5803 3 ปีที่แล้ว

    Thank you for video.

  • @shohamziner
    @shohamziner 3 ปีที่แล้ว

    very helpful. thx

  • @FelipeMendez
    @FelipeMendez 6 ปีที่แล้ว +32

    where i could find a cmake vesion of this?

  • @Alexander-lc8oe
    @Alexander-lc8oe 5 ปีที่แล้ว +4

    Please make a video on Makefiles and CMake! Keep up the great work!

  • @VinayKumar123
    @VinayKumar123 3 ปีที่แล้ว

    thank you

  • @F1nalspace
    @F1nalspace 6 ปีที่แล้ว +6

    Like it, even though i knew all the stuff. But confirming it is kind of satisfying ;)

  • @chainonsmanquants1630
    @chainonsmanquants1630 3 ปีที่แล้ว

    Thanks

  • @YoqubDavlatov-fb2br
    @YoqubDavlatov-fb2br ปีที่แล้ว

    You are "answers" to all of my questions))

  • @thetankgarage
    @thetankgarage 6 ปีที่แล้ว +1

    I find it absolutely astonishing how vague and insanely complicated learning compiling with C is. You'd think having had over 45 years someone would have created a workflow that's actually readable. I can learn any programming language in 2-3 days but after 4 days now I'm still no where near closer to actually compiling a usable .lib file or where it actually goes in my project or anything. I think I'm actually more confused than helped by all the reading about Visual Studio I've done.

  • @97Giorgos97
    @97Giorgos97 6 ปีที่แล้ว

    Great!

  • @sheepmeahow
    @sheepmeahow 6 ปีที่แล้ว +3

    I tried separating my solution into an Engine and Game project like you showed in this video, however in my Engine project I am doing static linking to many third party libraries such as glew and glfw. This results in compiler errors in my Game project that says "cannot open source file "GL/glew.h" " etc... So do I have to do the static linking for all third party libraries again in the Game project (seems tedious) or is their a way to combine/merge them into the Engine.lib?

  • @menderelcapbig1876
    @menderelcapbig1876 2 ปีที่แล้ว +1

    recursively watching all your videos

  • @raphaelkuttruf
    @raphaelkuttruf 3 ปีที่แล้ว +1

    A similar tutorial for DLLs would be great. Maybe a C# Windows Forms App with C++ DLLs in the backend? :)

  • @FelipeMendez
    @FelipeMendez 6 ปีที่แล้ว

    do audio next, what are good options for cross platform audio libraries and what techniques exist to manage audio effects and so on

  • @QuoteVG
    @QuoteVG 6 ปีที่แล้ว

    After you make the reference to Engine, do you still need to keep the additional include directory that you added at 6:20?

  • @ProjectPhysX
    @ProjectPhysX 6 ปีที่แล้ว +2

    Can you make a video on how to setup CUDA in VS 2017?

  • @Fragtex_CN
    @Fragtex_CN ปีที่แล้ว

    wonderful video!!!!! appreciation from China!!!😉

    • @seino__
      @seino__ ปีที่แล้ว

      Yes it was veri helpful. Appreciation from India

  • @ashutoshrautela3454
    @ashutoshrautela3454 6 ปีที่แล้ว +56

    Templates... Please make an in depth video on templates

  • @Xhyllos1
    @Xhyllos1 2 ปีที่แล้ว +2

    Does the library have to be of the same language as the main project? If not, how can we use a library written in a different language?
    Thanks for the tutorial. It clarified a few things for me.

  • @akshaynaik4888
    @akshaynaik4888 6 ปีที่แล้ว +2

    Please make a detailed video on c++ templates

  • @ElTsakoss
    @ElTsakoss 4 ปีที่แล้ว

    You are the best

  • @tzgardner
    @tzgardner ปีที่แล้ว

    8:29 That's interesting, I didn't know VS connected the libs from all your projects automatically. I thought you had to add them in the Linker under additional library Directories.

  • @billroberts4534
    @billroberts4534 3 ปีที่แล้ว

    I follow your instruction and it works beautifully. However, when I add a header-only file to the static library project there are numerous errors - such as string not defined. How can I add an external header-only file to a static lib project?

  • @Popart-xh2fd
    @Popart-xh2fd ปีที่แล้ว

    All this process of defining source folder is done on Visual Studio program, it would be nice to see how it's done at the configuration file level so that the same can be done on other programs like de Visual Studio Code.

  • @BinkiklouGaminglol
    @BinkiklouGaminglol 5 ปีที่แล้ว +1

    You talked about make a similar video but with a DLL ? Will you ever do it ?

  • @riccardostresa
    @riccardostresa 3 ปีที่แล้ว

    I have a question: but what about ? Isn't that a library too? We have added the header file to cpp, but where is the library itself? Is it something that is dynamically linked like dlls? It seems to me that it is a sort of "special" link also because my program runs on another pc that does not have Visual Studio installed. I'm confused.

  • @franejelavic
    @franejelavic 6 ปีที่แล้ว

    Hi Cherno,
    First of all thank you very much for this series and everything you do here.
    One question regarding the above.
    If you would make a project to be build on someone else's computer, is all of this defined in a makefile?
    How do you keep this consistency of linking the right static library and keeping absolute paths unchanged when you ship your project and aren't sure if the
    customer or someone who works with you has VisualStudio?
    Sorry if this is basic just need to wrap it all in my head.
    Thank you in advance and best regards.

    • @ABCo-ABMedia
      @ABCo-ABMedia 4 ปีที่แล้ว

      This is a really late reply, and probably not helpful anymore, but a couple of things to mention here.
      For the "customer", they won't notice. These are static libraries here, which means that when the application gets compiled they essentially become a part of the executable. So, you just give the "customer" the executable file, and it should just work.
      However, if you give the actual code to someone, things are a bit different. No, there is no makefile, because this is using the VC++ compiler, and all of these settings are stored inside the "vcxproj" file, so, if they have Visual Studio, and you give them the whole folder containing the "sln" file, all of the settings will transfer over. But, of course, they need Visual Studio. You could make a makefile yourself if you want.

  • @KayVerbruggen
    @KayVerbruggen 6 ปีที่แล้ว +17

    Is this also the setup of the game engine series?

  • @angucbac2655
    @angucbac2655 6 ปีที่แล้ว

    Thanks for your sharing. Would you introduce about some Design pattern in C++.

  • @adambeardsley7909
    @adambeardsley7909 6 ปีที่แล้ว

    Dose the lib file have to be Inside the project solution for this to work.
    I have tried creating static library in a separate project but carnt seem to get it to link.

  • @imanmehrabinezhad3844
    @imanmehrabinezhad3844 8 หลายเดือนก่อน +1

    I watched all three sequenced videos on linking in C++. While things are much more clear to me now, I was wondering if you can make a video about using CMake as well. I ask this because I tried linking Armadillo for example and could not solve the errors.

  • @LegacyCS2
    @LegacyCS2 6 ปีที่แล้ว +4

    You uploaded this the 18th of October. It's the 29th today. Are there gonna be anymore videos in the series? or have you lost interest? Great series btw, I've learned SO MUCH. Thank you! :D

    • @TheCherno
      @TheCherno  6 ปีที่แล้ว +16

      lol yes of course there will be more videos, it hasn't even been two weeks, relax :)

    • @LegacyCS2
      @LegacyCS2 6 ปีที่แล้ว +3

      I'm relaxing. Sorry for hurrying you. I've just noticed that between each other vids there has been less than a week between them, sometime there were a new vid everyday. I was just curious. :'D

  • @shavais33
    @shavais33 3 ปีที่แล้ว +3

    What about the libraries that the engine links into it? In my experimental project, even though I have my "engine" set up as a project reference in my "game", I still have to link my game against all the same external libraries that my engine links against, or I get a whole bunch of unresolved externals when I go to build my game, even though those externals are linked statically into the engine, and the engine is a static library.
    The thing is, the engine.h file includes bunches of .h files in the engine which in turn include external library headers. So I guess to avoid this, I'd have to somehow not reference any external library headers in the engine headers that are included in the engine.h file, is that right? If you have public class members that are, return or take as parameters types that are defined in external libraries, what do you do? Define wrapper types for all those types? But the definitions for those types is going to have to be somewhere? The consumer of the library is going to have to know about them, so..? That doesn't solve the problem?
    Is there no way to just tell the linker that all these external libraries are in engine.lib?
    I guess to successfully wrap an external library into an internal library, you have to completely avoid exposing any of the wrapped libraries types. Which means your public interface can't use any of the types exported by that library. I suppose I know this already, but. I guess I was naively hoping some part of all the modern schiz would take care of this for me.

  • @sunday-thequant8477
    @sunday-thequant8477 10 หลายเดือนก่อน

    You have some guide to do all this from CMake?

  • @iamjovani
    @iamjovani 6 ปีที่แล้ว

    Please cover exception handling or template classes and functions

  • @teddychen1709
    @teddychen1709 ปีที่แล้ว

    I made it, half way of the series!

  • @Narblo
    @Narblo 6 ปีที่แล้ว +1

    I did this with my project but i am having truble with my only nested namespace , it wont get recognized idk why :(

  • @VulcanRavenPL
    @VulcanRavenPL หลายเดือนก่อน

    It's soo much different than the videos, no macros like #ifndef etc. @Cherno is that few thing we really need ? That's awesome. On Microsoft tutorial there is bunch of stuff. Why yours better ? Could you give me some explanation?

  • @untitledisdead
    @untitledisdead 2 ปีที่แล้ว

    I keep thinking hes gonna hit his hand on that cactus with all that arm flailing body language

  • @CR33D404
    @CR33D404 10 หลายเดือนก่อน

    May i ask how is this better than just writing all the stuff (definitions and declarations) in a header file and then include it whenever we need it?

  • @user-br6jl1hh7v
    @user-br6jl1hh7v 4 หลายเดือนก่อน

    Do you have a video that does the same thing but create an import library and a DLL to install with the app?

  • @Piplodocus
    @Piplodocus 5 ปีที่แล้ว

    I spent the first 10s trying to work out if that is an Ibanez RG and a Manson. 🤔

  • @CashewOCE
    @CashewOCE 6 ปีที่แล้ว

    This is great and all but how do you go about this using a different IDE or even just a basic editor like Sublime Text, Notepad++ etc?

    • @pradyumnkejriwal3007
      @pradyumnkejriwal3007 6 ปีที่แล้ว

      Wally Nut how do you even compile the code with simple text editors

    • @402ExpectationFailed
      @402ExpectationFailed ปีที่แล้ว +2

      Hi, sorry for the very late reply, I'm sure you'll have all figured it out by yourself by now, but maybe it will be useful for someone in the future.
      I was in your same situation because I am on Ubuntu and I decided to go raw with just notepad and g++.
      So I made some research and came up with something. This is for linux + notepad + g++ though, idk about windows, maybe there's something analogous:
      First, I tried to replicate the filesystem like this:
      engine/
      |_ engine.h
      |_ engine.cpp
      game/
      |_ application.cpp
      I then positioned myself in the engine directory:
      1 - I generated the object file from engine.cpp
      > g++ -c engine.cpp
      After this, engine.o file should pop up in the directory
      2 - I created the library file from the object file using linux's command for creating static libraries, ar
      > ar rsv engine.a engine.o
      After this, engine.a file should pop up in the directory, which is the actual library file
      3 - I then positioned myself in the game directory
      > cd ../game
      4 - Finally I compiled application.cpp linking it to the library. The parameters are:
      -I : (capital i) the relative / absolute path for inclusion of the header file (similar to what he did around 6:06), in our case it's the engine directory
      -L : the relative / absolute path to the library file (similar to what he did around 8:00), in our case it's the engine directory
      -l : (lowercase L) the name of the library file, in our case it's engine.a
      > g++ -I ../engine application.cpp -L ../engine -l:engine.a
      After this, the executable a.out should pop up in the directory and do whatever is in the main() function
      I used relative paths because I don't need it to be "a stable setting" since there's nothing automated in here.

  • @Wimachtendink
    @Wimachtendink 4 ปีที่แล้ว +5

    Well don't I feel stupid, watch the whole video is the moral of this comment I guess...

  • @bloodwolf8307
    @bloodwolf8307 4 ปีที่แล้ว

    cool

  • @napalmpig3772
    @napalmpig3772 4 ปีที่แล้ว +1

    I feel like Neo downloading Kung Fu

  • @remi.scarlet.
    @remi.scarlet. 8 หลายเดือนก่อน

    How do you build cross platform?
    I mean do you build Hazel exclusively for windows?
    Do you not plan on having Linux (Android) support?
    Because id like to know how you set up a cross platform project, especially cause of Android... (.so)
    Do you use CMake?

  • @akshayraut3719
    @akshayraut3719 6 ปีที่แล้ว +2

    you can do more object oriented things like namespaces, exception handling etc. Also you made a video on vectors, then u should also do other data structures specially those which are in the STL for c++. These are my 2 suggestions. And u r doing great so far and i follow u everywhere dude(not in real but virtually :p)....

  • @johncyestibeiro2609
    @johncyestibeiro2609 5 ปีที่แล้ว +2

    Why did you include "Engine.h" in Engine.cpp? Shouldn't it work without that step as well?

    • @poryg5350
      @poryg5350 4 ปีที่แล้ว +2

      Not exactly.
      The compiler does not care about naming, naming is only useful for us people. So if you don't include Engine.h inside Engine.cpp, then the function declaration inside Engine.h could be treated as a completely different function from the one inside Engine.cpp.
      For this reason some compilers even throw an error when you define a previously undeclared top level function in a program that's not meant to be executable.

  • @orocimarosay1447
    @orocimarosay1447 5 ปีที่แล้ว

    That trick with add reference is nice

  • @abhishek.rathore
    @abhishek.rathore ปีที่แล้ว

    How do I share this library to others? I mean how can they use it in their projects? By sharing the Engine folder? Does this work even if they don't use Visual Studio to link or not even Windows?

  • @dXXPacmanXXb
    @dXXPacmanXXb 6 ปีที่แล้ว

    What if I make a new solution where I also want to use a library/engine I made in a previous project?

  • @geekofthewild600
    @geekofthewild600 2 ปีที่แล้ว +1

    How would I do this using G++ or CMake?

  • @zonico5826
    @zonico5826 6 ปีที่แล้ว

    So with let's say C#, it works just like this? Noice!

    • @ABCo-ABMedia
      @ABCo-ABMedia 4 ปีที่แล้ว

      Um, no. For C#, you would have to use a DllImport on a DLL file, which is a DYNAMIC library, in this video, he describes how to use STATIC libraries... Static libraries don't and physically can't exist for C# since it's practically interpreted after it's compiled to IL.
      So, technically, if you choose DLL in the list instead of LIB when he changed the project's properties, then added a C# project to the solution, set the build dependencies and set the library to copy to the C# bin directory, and used "DllImport" attributes within the C# code to access things in the DLL, then, yes, you could. Just not QUITE in the way he showed it.

  • @artinzareie4806
    @artinzareie4806 9 หลายเดือนก่อน

    Can you please make a video on how to do this with CMake?

  • @Melobotica
    @Melobotica ปีที่แล้ว

    How would I make the library work for Debug and Release mode?

  • @Djzaamir
    @Djzaamir 6 ปีที่แล้ว

    implement some algorithms , specially those which involve pointers

  • @disenchantedcardgd9878
    @disenchantedcardgd9878 3 หลายเดือนก่อน

    Y'all can take this a step further and do it in cmake, it's objectively better for bigger projects and gives You more control.

  • @Mohammed24441
    @Mohammed24441 3 ปีที่แล้ว

    What about header-only libs using cmake.

  • @QonCalculations
    @QonCalculations 2 ปีที่แล้ว +1

    I got a little doubt.. Anyone can answer. Don't we want to use a class to write these Library functions? I know writing directly into namespace will work.. Does this have any drawbacks?..

  • @harshtiwari9588
    @harshtiwari9588 6 ปีที่แล้ว +4

    IDK why I am Getting this error can anyone help me please!!
    1>Application.obj : error LNK2019: unresolved external symbol "void __cdecl engine::PrintMessage(void)" (?PrintMessage@engine@@YAXXZ) referenced in function _main
    1>C:\Dev\Cherno(C++)\Game\Debug\Game.exe : fatal error LNK1120: 1 unresolved externals
    1>Done building project "Game.vcxproj" -- FAILED.

    • @sing759
      @sing759 4 ปีที่แล้ว +1

      if you are having this error while you right click and building your application.cpp.... just Ctrl+F7 instead of right-click build
      You can successfully build your Game project.

  • @vertigo6982
    @vertigo6982 5 ปีที่แล้ว +1

    10:17 dont you have to recompile for the std::cin.get() to work?

    • @xeliani.7809
      @xeliani.7809 4 ปีที่แล้ว

      Late answer but,
      When he typed it and ran the program, it recompiled automatically then ran the instructions of the program

  • @ilieschamkar6767
    @ilieschamkar6767 ปีที่แล้ว

    how can I include in game all the third party includes of Engine ?

  • @lilyvmax6642
    @lilyvmax6642 2 ปีที่แล้ว

    I love you

  • @user-tw2ex8nr8r
    @user-tw2ex8nr8r 8 หลายเดือนก่อน

    which difference between obj and lib files?

  • @javadmahdavi1151
    @javadmahdavi1151 ปีที่แล้ว

    how can I add header-only library in visual studio

  • @doublechindoge7
    @doublechindoge7 4 ปีที่แล้ว +2

    I've made absolutely sure to copy everything you did (I just named the files differently), but I got an error.
    *"unresolved external symbol "void __ cdedl Library::PrintMessage(void)" (?PrintMessage@Library@@YAXXZ) referenced in function _main""*
    Library is the namesapce I used instead of Engine.
    It seems to be saying that the main program can't find a definition for the function, even though I have one in the cpp for the library which I did include the header file for on both cpps.

    • @Wimachtendink
      @Wimachtendink 4 ปีที่แล้ว +6

      If you are using VS2019 something that worked for me was after following all of the instructions in this video I had to go back to filter view, right click on the "references" filter then "add reference..." then a menu came up where I could toggle Engine on.
      If you found a better solution I'd like to hear it.

    • @flashheart1676
      @flashheart1676 4 ปีที่แล้ว

      Flashheart
      THANKS! I was pulling my hair out!

    • @emanuelsarbu7070
      @emanuelsarbu7070 3 ปีที่แล้ว

      I'm enraged, I wrote the solution 2 times.
      Thank you, made a flash card out of it xD
      I kept looking at the declaration and definition to see if I misspelled something, at the relative path too...

    • @smajin28
      @smajin28 2 ปีที่แล้ว

      @@Wimachtendink where is refences? I'm not seeing anything. I don't see the button for filter view either.

    • @Wimachtendink
      @Wimachtendink 2 ปีที่แล้ว

      @@smajin28 I'm sorry I really don't remember the context.
      I think you can just go to the solution explorer window and right click "references" which should allow you to add references. But you probably want to gen comfortable with the Project Properties window which is project dropdown at the top bar, then the bottom option should be properties. From there you can include directories and libraries for the linker and stuff.
      Sorry I'm not of more help but this was two years ago

  • @yesveryprofesionalnameyes6055
    @yesveryprofesionalnameyes6055 5 ปีที่แล้ว

    Now , how to do it in dev c++?

  • @destroyerofchalk6456
    @destroyerofchalk6456 3 ปีที่แล้ว +1

    what if dll, cou you give a tutorial about "Making and Working with dll in C++"

  • @marflage
    @marflage 4 ปีที่แล้ว

    How does Application.cpp know i has to compile Engine.cpp as well? I mean only Engine.h is included in Application.cpp and not Engine.cpp, too.

    • @xrafter
      @xrafter 4 ปีที่แล้ว

      Compiler