OpenGL and c++ error...

  • (2 Pages)
  • +
  • 1
  • 2

26 Replies - 1019 Views - Last Post: 08 February 2018 - 12:45 PM Rate Topic: -----

#16 snoopy11   User is offline

  • Engineering ● Software
  • member icon

Reputation: 1467
  • View blog
  • Posts: 4,726
  • Joined: 20-March 10

Re: OpenGL and c++ error...

Posted 27 January 2018 - 12:19 PM

Building the library...
Was This Post Helpful? 0
  • +
  • -

#17 FlamingBurrito15   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 71
  • Joined: 13-December 17

Re: OpenGL and c++ error...

Posted 27 January 2018 - 12:21 PM

View Postsnoopy11, on 27 January 2018 - 12:19 PM, said:

Building the library...


like building the libglfw.a is that the library you are talking about?
Was This Post Helpful? 0
  • +
  • -

#18 snoopy11   User is offline

  • Engineering ● Software
  • member icon

Reputation: 1467
  • View blog
  • Posts: 4,726
  • Joined: 20-March 10

Re: OpenGL and c++ error...

Posted 27 January 2018 - 12:29 PM

Yeah unless you are using the precompiled binaries of course
Was This Post Helpful? 0
  • +
  • -

#19 FlamingBurrito15   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 71
  • Joined: 13-December 17

Re: OpenGL and c++ error...

Posted 27 January 2018 - 12:35 PM

View Postsnoopy11, on 27 January 2018 - 12:29 PM, said:

Yeah unless you are using the precompiled binaries of course


Yeah That's the one I think I am using
Was This Post Helpful? 0
  • +
  • -

#20 snoopy11   User is offline

  • Engineering ● Software
  • member icon

Reputation: 1467
  • View blog
  • Posts: 4,726
  • Joined: 20-March 10

Re: OpenGL and c++ error...

Posted 27 January 2018 - 12:36 PM

Ok see how you get on with that then
Was This Post Helpful? 0
  • +
  • -

#21 FlamingBurrito15   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 71
  • Joined: 13-December 17

Re: OpenGL and c++ error...

Posted 27 January 2018 - 02:31 PM

Ok well I added the files and linked them now get an error with a file crtdefs.h... "size_t does not name a type"
Was This Post Helpful? 0
  • +
  • -

#22 snoopy11   User is offline

  • Engineering ● Software
  • member icon

Reputation: 1467
  • View blog
  • Posts: 4,726
  • Joined: 20-March 10

Re: OpenGL and c++ error...

Posted 27 January 2018 - 05:52 PM

include the header cstring,

either in crtdefs or at the top of your main.cpp
Was This Post Helpful? 0
  • +
  • -

#23 Skydiver   User is online

  • Code herder
  • member icon

Reputation: 6330
  • View blog
  • Posts: 21,734
  • Joined: 05-May 12

Re: OpenGL and c++ error...

Posted 27 January 2018 - 06:21 PM

FlamingBurrito15: There is no need to quote the post above yours. Just use the big Reply button or the Fast Reply area.
Was This Post Helpful? 0
  • +
  • -

#24 FlamingBurrito15   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 71
  • Joined: 13-December 17

Re: OpenGL and c++ error...

Posted 27 January 2018 - 09:43 PM

View PostSkydiver, on 27 January 2018 - 06:21 PM, said:

FlamingBurrito15: There is no need to quote the post above yours. Just use the big Reply button or the Fast Reply area.


I know... I quote and reply to the previous post because I find it easier and it makes more sense to me...

View Postsnoopy11, on 27 January 2018 - 05:52 PM, said:

include the header cstring,

either in crtdefs or at the top of your main.cpp


Thanks that worked but now stddef.h comes in... is there and stdstring that I can add?
Was This Post Helpful? 0
  • +
  • -

#25 snoopy11   User is offline

  • Engineering ● Software
  • member icon

Reputation: 1467
  • View blog
  • Posts: 4,726
  • Joined: 20-March 10

Re: OpenGL and c++ error...

Posted 27 January 2018 - 10:56 PM

#include <string>

You really need to learn the language first before tackling projects like this.

Right now you are like a one legged man in an arse kicking contest. (doomed to failure)
Was This Post Helpful? 0
  • +
  • -

#26 Skydiver   User is online

  • Code herder
  • member icon

Reputation: 6330
  • View blog
  • Posts: 21,734
  • Joined: 05-May 12

Re: OpenGL and c++ error...

Posted 28 January 2018 - 05:37 AM

View PostFlamingBurrito15, on 27 January 2018 - 11:43 PM, said:

I know... I quote and reply to the previous post because I find it easier and it makes more sense to me...

Yes, but you are now making it more difficult for people with limited screen real estate, metered bandwith, or limited device memory. So for your convenience, you are inconveniencing everybody else.

If you are going to quote, narrow it down to the section that you want to discuss.
Was This Post Helpful? 0
  • +
  • -

#27 FlamingBurrito15   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 71
  • Joined: 13-December 17

Re: OpenGL and c++ error...

Posted 08 February 2018 - 12:45 PM

[/quote]
...So for your convenience, you are inconveniencing everybody else...
[/quote]
(I know this is a bit late sorry) I actually did not think that would have done anything... but now that I think about it, it does make sense :)
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2