Results 1 to 3 of 3

Thread: ordering code

  1. #1
    Senior Member Regular Contributor
    Join Date
    Jul 2013
    Posts
    101

    ordering code

    Hi all,
    I've started at a fresh to order my opengl code. It's panned out in a lot of auxillery-stuf, but everytime I employ opengl-stuff the compiling does not respond as expected.
    I've ordered my consol-project (code::blocks) so neat that all the 'technical opengl-stuff' is wrapped inside a class of it's own .. and executes nicely (from consol main{}) when I instantiate an object and starts it going. I 'would' like to make a shared library out of that class, but there the fun stops. There's no way that I can get anything going without the close presence of a consol-execution ..
    The latest errors on compiling the class is an endless list :
    cannot export .. >chars and recognizable opengl-function names< .. missing symbol
    I assume that it's not doable, but please tell me that I'm wrong ;o)

    cheers

  2. #2
    Senior Member OpenGL Lord
    Join Date
    Mar 2015
    Posts
    6,674
    I don't know what you mean by "order my opengl code" in this context. It sounds a bit like you're having some compilation issues, but I can't fathom what that has to do with "ordering".

    It sounds like you've written some kind of class that perhaps uses OpenGL. And you're trying to run it from the "consol". And that seems to work. But then you're trying to make a shared library out of it. And that doesn't work, maybe? I don't know what "without the close presence of a consol-execution" means.

    Also, please put spaces between your paragraphs.

  3. #3
    Senior Member Regular Contributor
    Join Date
    Jul 2013
    Posts
    101
    hi Reinhardt,
    Yes, I'm having compilation issues. I've tried out opengl-code for a while, to get a gist of the whole thing. It works, but it's a mess, so I've desided to use it as a copy/paste base and start over from a more C++ object oriented way of thinking. My class uses glew and glfw. I think that you got my issues right - making a shared library out of a class that runs on a console.

Similar Threads

  1. VAO/VBO indices [re]ordering
    By The Little Body in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 04-29-2013, 06:06 PM
  2. Element Ordering?
    By frank2 in forum COLLADA
    Replies: 2
    Last Post: 08-21-2007, 09:49 AM
  3. Transparency for cut-outs without ordering?
    By RobertWebb in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 02-16-2005, 01:30 AM
  4. GL_LINE_LOOP ordering
    By cunny in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 08-27-2002, 12:24 AM
  5. z-axis ordering
    By elimin8tor in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-12-2002, 06:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean