|
Windows 10 MSVC 2019 not able to find allegro_primitives.h allegro-5.2.6.0 |
MichaelC
Member #18,589
October 2020
|
Hi, I am new to Allegro 5 and am trying to learn how to draw primitives and when I try to #include <allegro5\allegro_primitives.h> the IDE cant find the file. I have looked in the include directory and cant find that file. Is there something new in allegro5 that does not include primitives or have I done something wrong? I would really appreciate your help Hi, I am really sorry but when I clicked on Manage NuGet Packages and installed Allegro5 that way I got a primitive to display on the screen which answers my question. but thank you |
amarillion
Member #940
January 2001
|
Try a complete search of your filesystem. Do you have allegro_primitives.h anywhere on your computer? There is no reason why it should be excluded. Maybe NuGet installs it in a weird place? -- |
MiquelFire
Member #3,110
January 2003
|
I think he installed without NuGet at first. Once he installed via NuGet, it worked if I'm reading the last part of his post correctly. --- |
DanielH
Member #934
January 2001
|
For MSVC, NuGet is great. Easy to use. Easy to set which modules you want. If not, then you need to go to properties and add Allegero's include and library directories to your project's include and library search list. |
|