# No monitors found

**URL:** <https://discourse.glfw.org/t/no-monitors-found/122>\
**Category:** support\
**Created:** [March 18, 2015, 9:12am UTC](https://discourse.glfw.org/t/no-monitors-found/122 "2015-03-18T09:12:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 18, 2015, 9:12am UTC](https://discourse.glfw.org/t/no-monitors-found/122/1 "2015-03-18T09:12:00Z")

</div>

**[zilarrezko](https://sourceforge.net/u/zilarrezko/)** wrote on [Wednesday, March 18, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/75c1c30f/#3d49):

Hopefully this is the right forum to post this.

So I have a basic setup here. Not sure if I’m suppose to specify which monitor I’m creating a window or something? Though I don’t even get to creating a window. Here’s my code so far…

```auto
#include <iostream>

#include "glfw3.h"

void
error_callback(int error, const char* description)
{
   puts(description);
}

int
main()
{
   glfwSetErrorCallback(error_callback);

   if(!glfwInit())
   {
      std::cout << "ERROR: GLFW failed to Initialize" << std::endl;
      //TODO: Logging
      return -1;
   }

   char *WindowTitle = "Hello World";
   GLFWwindow* Window = glfwCreateWindow(960, 540, WindowTitle, NULL, NULL);

   if(!Window)
   {
      glfwTerminate();
      //TODO: Logging
      return -1;
   }

   //TODO: Running loop

   //NOTE: Yay
   std::cout << "Window Created successfully" << std::endl;
   glfwTerminate();

   system("pause");

   return 0;
}

```

However, glfwInit returns false, prints out ERROR: GLFW failed to initialize (because I told it to when failing of course) and set it to exit with int -1 per the basic setup guide diddly.

I have two monitors, one isn’t 1920x1080 but I’m not sure exactly what the problem is. I’m using an AMD graphics card and AMD processor.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 18, 2015, 10:30am UTC](https://discourse.glfw.org/t/no-monitors-found/122/2 "2015-03-18T10:30:47Z")

</div>

**[elmindreda](https://sourceforge.net/u/elmindreda/)** wrote on [Wednesday, March 18, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/75c1c30f/#66af):

Does the error callback print anything?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 18, 2015, 11:04am UTC](https://discourse.glfw.org/t/no-monitors-found/122/3 "2015-03-18T11:04:46Z")

</div>

**[zilarrezko](https://sourceforge.net/u/zilarrezko/)** wrote on [Wednesday, March 18, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/75c1c30f/#66af/8cea):

I believe that’s the thing printing out “no monitors found”. Because I don’t have anything else that would print that.

(Just tested it, when I delete the callback it doesn’t say the no monitors found)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 18, 2015, 11:06am UTC](https://discourse.glfw.org/t/no-monitors-found/122/4 "2015-03-18T11:06:56Z")

</div>

**[elmindreda](https://sourceforge.net/u/elmindreda/)** wrote on [Wednesday, March 18, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/75c1c30f/#b3d7):

What version of what OS are you running? Is it running in a VM?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 18, 2015, 12:50pm UTC](https://discourse.glfw.org/t/no-monitors-found/122/5 "2015-03-18T12:50:03Z")

</div>

**[zilarrezko](https://sourceforge.net/u/zilarrezko/)** wrote on [Wednesday, March 18, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/75c1c30f/#b3d7/3470):

Negative, Windows 8.1. And no it isn’t pirated.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 18, 2015, 1:19pm UTC](https://discourse.glfw.org/t/no-monitors-found/122/6 "2015-03-18T13:19:03Z")

</div>

**[elmindreda](https://sourceforge.net/u/elmindreda/)** wrote on [Wednesday, March 18, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/75c1c30f/#5737):

Wouldn’t matter if it was.

Please file [an issue](https://github.com/glfw/glfw/issues).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/glfw/original/1X/b8cdefe6b61b8d5aee6c43b2c56e9cf5eabecfe4.svg) [@system](https://discourse.glfw.org/u/system)\
**Post date:** [March 18, 2015, 7:23pm UTC](https://discourse.glfw.org/t/no-monitors-found/122/7 "2015-03-18T19:23:57Z")

</div>

**[zilarrezko](https://sourceforge.net/u/zilarrezko/)** wrote on [Wednesday, March 18, 2015](https://sourceforge.net/p/glfw/discussion/247562/thread/75c1c30f/#5737/c23b):

alrighty, just had to be sure. Thanks.
