Quantcast

[OpenNI-dev] Building on debian sid: undefined reference to symbol 'glEnd'

classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[OpenNI-dev] Building on debian sid: undefined reference to symbol 'glEnd'

Alexander
Trying to compile on current debian sid using ./RedistMaker


Target: Linux-x86
Version: 1.5.2.23
Num of compile jobs: 4

* Building OpenNI...
/usr/bin/ld: ./x86-Release/NiSimpleViewer.o: undefined reference to
symbol 'glEnd'
/usr/bin/ld: note: 'glEnd' is defined in DSO /usr/lib/libGL.so.1 so
try adding it to the linker command line
/usr/lib/libGL.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [../../../Bin/x86-Release/Sample-NiSimpleViewer] Error 1
make: *** [Samples/NiSimpleViewer] Error 2
make: *** Waiting for unfinished jobs....
/usr/bin/ld: ./x86-Release/Draw.o: undefined reference to symbol
'glEnd'
/usr/bin/ld: note: 'glEnd' is defined in DSO /usr/lib/libGL.so.1 so
try adding it to the linker command line
/usr/lib/libGL.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [../../../Bin/x86-Release/NiViewer] Error 1
make: *** [Samples/NiViewer] Error 2
failed to execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
Platform/Linux/CreateRedist/../Build > /home/dreamer/Sources/kinect/
OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt
Building Failed!

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AW: [OpenNI-dev] Building on debian sid: undefined reference to symbol 'glEnd'

stevenmorf@bluewin.ch
hi
have you opengl-headers and libs??? into compileScript RedistMaker ???
glEnd should be glEnd().....
regards nomad

----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 09.03.2012 23:51
An: "OpenNI"<openni-dev@googlegroups.
com>
Betreff: [OpenNI-dev] Building on debian sid: undefined reference to symbol &#39;glEnd&#39;

Trying to compile on
current debian sid using ./RedistMaker


Target: Linux-x86
Version: 1.5.2.23
Num of compile jobs: 4

* Building
OpenNI...
/usr/bin/ld: ./x86-Release/NiSimpleViewer.o: undefined reference to
symbol 'glEnd'/usr/bin/ld: note: 'glEnd'
is defined in DSO /usr/lib/libGL.so.1 so
try adding it to the linker command line
/usr/lib/libGL.so.1: could not read
symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [../../../Bin/x86-Release/Sample-
NiSimpleViewer] Error 1
make: *** [Samples/NiSimpleViewer] Error 2
make: *** Waiting for unfinished jobs....

/usr/bin/ld: ./x86-Release/Draw.o: undefined reference to symbol
'glEnd'
/usr/bin/ld: note: 'glEnd' is defined in DSO
/usr/lib/libGL.so.1 so
try adding it to the linker command line
/usr/lib/libGL.so.1: could not read symbols: Invalid
operation
collect2: ld returned 1 exit status
make[1]: *** [../../../Bin/x86-Release/NiViewer] Error 1
make: ***
[Samples/NiViewer] Error 2
failed to execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/

Platform/Linux/CreateRedist/../Build > /home/dreamer/Sources/kinect/

OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt
Building Failed!

--
You received this message because you
are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].

To unsubscribe from this group, send email to [hidden email].
For more options, visit this
group at http://groups.google.com/group/openni-dev?hl=en.




--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

Alexander
Yes, I have all the requirements installed (from the README).
This was the output of the 'OpenNI/Platform/Linux/CreateRedist/
RedistMaker' script.


On Mar 10, 10:01 am, "[hidden email]" <[hidden email]>
wrote:

> hi
> have you opengl-headers and libs??? into compileScript RedistMaker ???
> glEnd should be glEnd().....
> regards nomad
>
> ----Ursprüngliche Nachricht----
> Von: [hidden email]
> Datum: 09.03.2012 23:51
> An: "OpenNI"<openni-dev@googlegroups.
> com>
> Betreff: [OpenNI-dev] Building on debian sid: undefined reference to symbol &#39;glEnd&#39;
>
> Trying to compile on
> current debian sid using ./RedistMaker
>
> Target: Linux-x86
> Version: 1.5.2.23
> Num of compile jobs: 4
>
> * Building
> OpenNI...
> /usr/bin/ld: ./x86-Release/NiSimpleViewer.o: undefined reference to
> symbol 'glEnd'/usr/bin/ld: note: 'glEnd'
> is defined in DSO /usr/lib/libGL.so.1 so
> try adding it to the linker command line
> /usr/lib/libGL.so.1: could not read
> symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[1]: *** [../../../Bin/x86-Release/Sample-
> NiSimpleViewer] Error 1
> make: *** [Samples/NiSimpleViewer] Error 2
> make: *** Waiting for unfinished jobs....
>
> /usr/bin/ld: ./x86-Release/Draw.o: undefined reference to symbol
> 'glEnd'
> /usr/bin/ld: note: 'glEnd' is defined in DSO
> /usr/lib/libGL.so.1 so
> try adding it to the linker command line
> /usr/lib/libGL.so.1: could not read symbols: Invalid
> operation
> collect2: ld returned 1 exit status
> make[1]: *** [../../../Bin/x86-Release/NiViewer] Error 1
> make: ***
> [Samples/NiViewer] Error 2
> failed to execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> Platform/Linux/CreateRedist/../Build > /home/dreamer/Sources/kinect/
>
> OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt
> Building Failed!
>
> --
> You received this message because you
> are subscribed to the Google Groups "OpenNI" group.
> To post to this group, send email to [hidden email].
>
> To unsubscribe from this group, send email to [hidden email].
> For more options, visit this
> group athttp://groups.google.com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AW: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

stevenmorf@bluewin.ch
i think its ev.
this stuff on:
PLEASE READ THIS:


void glutDisplay (void)
{
        XnStatus rc = XN_STATUS_OK;

        // Read a
new frame
        rc = g_context.WaitAnyUpdateAll();
        if (rc != XN_STATUS_OK)
        {
                printf("Read failed: %s\n",
xnGetStatusString(rc));
                return;
        }

        g_depth.GetMetaData(g_depthMD);
        g_image.GetMetaData(g_imageMD);
        const
XnDepthPixel* pDepth = g_depthMD.Data();
        const XnUInt8* pImage = g_imageMD.Data();

        unsigned int nImageScale =
GL_WIN_SIZE_X / g_depthMD.FullXRes();

        // Copied from SimpleViewer
        // Clear the OpenGL buffers
        glClear
(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

        // Setup the OpenGL viewpoint
        glMatrixMode(GL_PROJECTION);

// here you
make a
---> glPushMatrix();
           glLoadIdentity();
           glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y, 0, -1.0, 1.0);

          //
Calculate the accumulative histogram (the yellow display...)
          HERE SOME STUFFF
          .....
          // Create the
OpenGL texture map
          glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP_SGIS, GL_TRUE);
          glTexParameteri
(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);
          glTexParameteri(GL_TEXTURE_2D,
GL_TEXTURE_MAG_FILTER, GL_LINEAR);
          glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY, 0, GL_RGB,
GL_UNSIGNED_BYTE, g_pTexMap);

          // Display the OpenGL texture map
          glColor4f(1,1,1,1);

-->  glBegin(GL_QUADS);

       
      int nXRes = g_depthMD.FullXRes();
              int nYRes = g_depthMD.FullYRes();
             
             // upper left
       
     glTexCoord2f(0, 0);
             glVertex2f(0, 0);
             // upper right
             glTexCoord2f((float)nXRes/(float)
g_nTexMapX, 0);
             glVertex2f(GL_WIN_SIZE_X, 0);
             // bottom right
             glTexCoord2f((float)nXRes/(float)
g_nTexMapX, (float)nYRes/(float)g_nTexMapY);
             glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
             // bottom left
             
glTexCoord2f(0, (float)nYRes/(float)g_nTexMapY);
             glVertex2f(0, GL_WIN_SIZE_Y);
             
        glEnd();  //THIS IS
EV. THE FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);

BUT YOU NO glPopMatrix()
------------------------
regards
nomad

--------------------------
       
----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 10.03.2012 14:
44
An: "OpenNI"<[hidden email]>
Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference to
symbol &#39;glEnd&#39;

Yes, I have all the requirements installed (from the README).
This was the output of the
'OpenNI/Platform/Linux/CreateRedist/
RedistMaker' script.


On Mar 10, 10:01 am, "[hidden email]" <stevenm...
@bluewin.ch>
wrote:
> hi
> have you opengl-headers and libs??? into compileScript RedistMaker ???
> glEnd should be
glEnd().....
> regards nomad
>
> ----Ursprüngliche Nachricht----
> Von: [hidden email]
> Datum: 09.03.2012 23:51
>
An: "OpenNI"<openni-dev@googlegroups.
> com>
> Betreff: [OpenNI-dev] Building on debian sid: undefined reference to
symbol &#39;glEnd&#39;
>
> Trying to compile on
> current debian sid using ./RedistMaker
>
> Target: Linux-x86
>
Version: 1.5.2.23
> Num of compile jobs: 4
>
> * Building
> OpenNI...
> /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
undefined reference to
> symbol 'glEnd'/usr/bin/ld: note: 'glEnd'
> is defined in DSO /usr/lib/libGL.so.1 so
> try
adding it to the linker command line
> /usr/lib/libGL.so.1: could not read
> symbols: Invalid operation
> collect2: ld
returned 1 exit status
> make[1]: *** [../../../Bin/x86-Release/Sample-
> NiSimpleViewer] Error 1
> make: ***
[Samples/NiSimpleViewer] Error 2
> make: *** Waiting for unfinished jobs....
>
> /usr/bin/ld: ./x86-Release/Draw.o:
undefined reference to symbol
> 'glEnd'
> /usr/bin/ld: note: 'glEnd' is defined in DSO
> /usr/lib/libGL.so.1 so
> try
adding it to the linker command line
> /usr/lib/libGL.so.1: could not read symbols: Invalid
> operation
> collect2: ld
returned 1 exit status
> make[1]: *** [../../../Bin/x86-Release/NiViewer] Error 1
> make: ***
> [Samples/NiViewer]
Error 2
> failed to execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> Platform/Linux/CreateRedist/../Build
> /home/dreamer/Sources/kinect/
>
> OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt
> Building Failed!
>
> --

> You received this message because you
> are subscribed to the Google Groups "OpenNI" group.
> To post to this group,
send email to [hidden email].
>
> To unsubscribe from this group, send email to openni-
[hidden email].
> For more options, visit this
> group athttp://groups.google.com/group/openni-dev?
hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this
group, send email to [hidden email].
To unsubscribe from this group, send email to openni-
[hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.




--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

Alexander
I'm sorry, but I have no idea what to do with your code.

Maybe I didn't mention this is from latest unstable branch.



On Mar 11, 8:16 am, "[hidden email]" <[hidden email]>
wrote:

> i think its ev.
> this stuff on:
> PLEASE READ THIS:
>
> void glutDisplay (void)
> {
>         XnStatus rc = XN_STATUS_OK;
>
>         // Read a
> new frame
>         rc = g_context.WaitAnyUpdateAll();
>         if (rc != XN_STATUS_OK)
>         {
>                 printf("Read failed: %s\n",
> xnGetStatusString(rc));
>                 return;
>         }
>
>         g_depth.GetMetaData(g_depthMD);
>         g_image.GetMetaData(g_imageMD);
>         const
> XnDepthPixel* pDepth = g_depthMD.Data();
>         const XnUInt8* pImage = g_imageMD.Data();
>
>         unsigned int nImageScale =
> GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
>         // Copied from SimpleViewer
>         // Clear the OpenGL buffers
>         glClear
> (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
>         // Setup the OpenGL viewpoint
>         glMatrixMode(GL_PROJECTION);
>
> // here you
> make a
> --->         glPushMatrix();
>            glLoadIdentity();
>            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y, 0, -1.0, 1.0);
>
>           //
> Calculate the accumulative histogram (the yellow display...)
>           HERE SOME STUFFF
>           .....
>           // Create the
> OpenGL texture map
>           glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP_SGIS, GL_TRUE);
>           glTexParameteri
> (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);
>           glTexParameteri(GL_TEXTURE_2D,
> GL_TEXTURE_MAG_FILTER, GL_LINEAR);
>           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY, 0, GL_RGB,
> GL_UNSIGNED_BYTE, g_pTexMap);
>
>           // Display the OpenGL texture map
>           glColor4f(1,1,1,1);
>
> -->    glBegin(GL_QUADS);
>
>       int nXRes = g_depthMD.FullXRes();
>               int nYRes = g_depthMD.FullYRes();
>
>              // upper left
>
>      glTexCoord2f(0, 0);
>              glVertex2f(0, 0);
>              // upper right
>              glTexCoord2f((float)nXRes/(float)
> g_nTexMapX, 0);
>              glVertex2f(GL_WIN_SIZE_X, 0);
>              // bottom right
>              glTexCoord2f((float)nXRes/(float)
> g_nTexMapX, (float)nYRes/(float)g_nTexMapY);
>              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
>              // bottom left
>
> glTexCoord2f(0, (float)nYRes/(float)g_nTexMapY);
>              glVertex2f(0, GL_WIN_SIZE_Y);
>
>         glEnd();  //THIS IS
> EV. THE FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
> BUT YOU NO glPopMatrix()
> ------------------------
> regards
> nomad
>
> --------------------------
>
> ----Ursprüngliche Nachricht----
> Von: [hidden email]
> Datum: 10.03.2012 14:
> 44
> An: "OpenNI"<[hidden email]>
> Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference to
> symbol &#39;glEnd&#39;
>
> Yes, I have all the requirements installed (from the README).
> This was the output of the
> 'OpenNI/Platform/Linux/CreateRedist/
> RedistMaker' script.
>
> On Mar 10, 10:01 am, "[hidden email]" <stevenm...
> @bluewin.ch>
> wrote:> hi
> > have you opengl-headers and libs??? into compileScript RedistMaker ???
> > glEnd should be
> glEnd().....
> > regards nomad
>
> > ----Ursprüngliche Nachricht----
> > Von: [hidden email]
> > Datum: 09.03.2012 23:51
>
> An: "OpenNI"<openni-dev@googlegroups.> com>
> > Betreff: [OpenNI-dev] Building on debian sid: undefined reference to
>
> symbol &#39;glEnd&#39;
>
> > Trying to compile on
> > current debian sid using ./RedistMaker
>
> > Target: Linux-x86
>
> Version: 1.5.2.23
> > Num of compile jobs: 4
>
> > * Building
> > OpenNI...
> > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> undefined reference to> symbol 'glEnd'/usr/bin/ld: note: 'glEnd'
> > is defined in DSO /usr/lib/libGL.so.1 so
> > try
>
> adding it to the linker command line> /usr/lib/libGL.so.1: could not read
> > symbols: Invalid operation
> > collect2: ld
>
> returned 1 exit status> make[1]: *** [../../../Bin/x86-Release/Sample-
> > NiSimpleViewer] Error 1
> > make: ***
>
> [Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
> > /usr/bin/ld: ./x86-Release/Draw.o:
>
> undefined reference to symbol> 'glEnd'
> > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > /usr/lib/libGL.so.1 so
> > try
>
> adding it to the linker command line> /usr/lib/libGL.so.1: could not read symbols: Invalid
> > operation
> > collect2: ld
>
> returned 1 exit status
>
>
>
>
>
>
>
>
>
> > make[1]: *** [../../../Bin/x86-Release/NiViewer] Error 1
> > make: ***
> > [Samples/NiViewer]
> Error 2
> > failed to execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > Platform/Linux/CreateRedist/../Build
> > /home/dreamer/Sources/kinect/
>
> > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt
> > Building Failed!
>
> > --
> > You received this message because you
> > are subscribed to the Google Groups "OpenNI" group.
> > To post to this group,
>
> send email to [hidden email].
>
> > To unsubscribe from this group, send email to openni-
>
> [hidden email].> For more options, visit this
> > group athttp://groups.google.com/group/openni-dev?
>
> hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "OpenNI" group.
> To post to this
> group, send email to [hidden email].
> To unsubscribe from this group, send email to openni-
> [hidden email].
> For more options, visit this group athttp://groups.google.com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AW: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

stevenmorf@bluewin.ch
hi
look in your code
if you make a
--> glPushMatrix();
     .....
     
>    this is wrong  glColor4f(1,1,1,1); float
(1.0f,1.0f,1.0f,1.0f)
      .......
       
      -->    glBegin(GL_QUADS);
              ......
              ......

             glEnd();  //THIS IS
-->  glPopMatrix()

hope its useful
regards nomad

----Ursprüngliche Nachricht----

Von: [hidden email]
Datum: 11.03.2012 12:49
An: "OpenNI"<[hidden email]>
Betreff: [OpenNI-dev] Re:
Building on debian sid: undefined reference to symbol &#39;glEnd&#39;

I'm sorry, but I have no idea what to do with
your code.

Maybe I didn't mention this is from latest unstable branch.



On Mar 11, 8:16 am, "[hidden email]"
<[hidden email]>
wrote:
> i think its ev.
> this stuff on:
> PLEASE READ THIS:
>
> void glutDisplay (void)
> {

>         XnStatus rc = XN_STATUS_OK;
>
>         // Read a
> new frame
>         rc = g_context.WaitAnyUpdateAll();

>         if (rc != XN_STATUS_OK)
>         {
>                 printf("Read failed: %s\n",
> xnGetStatusString(rc));

>                 return;
>         }
>
>         g_depth.GetMetaData(g_depthMD);
>         g_image.GetMetaData
(g_imageMD);
>         const
> XnDepthPixel* pDepth = g_depthMD.Data();
>         const XnUInt8* pImage = g_imageMD.
Data();
>
>         unsigned int nImageScale =
> GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
>         // Copied from
SimpleViewer
>         // Clear the OpenGL buffers
>         glClear
> (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>

>         // Setup the OpenGL viewpoint
>         glMatrixMode(GL_PROJECTION);
>
> // here you
> make a
> ---
>         glPushMatrix();
>            glLoadIdentity();
>            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y, 0, -1.0,
1.0);
>
>           //
> Calculate the accumulative histogram (the yellow display...)
>           HERE SOME STUFFF

>           .....
>           // Create the
> OpenGL texture map
>           glTexParameteri(GL_TEXTURE_2D,
GL_GENERATE_MIPMAP_SGIS, GL_TRUE);
>           glTexParameteri
> (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
GL_LINEAR_MIPMAP_LINEAR);
>           glTexParameteri(GL_TEXTURE_2D,
> GL_TEXTURE_MAG_FILTER, GL_LINEAR);

>           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY, 0, GL_RGB,
> GL_UNSIGNED_BYTE, g_pTexMap);
>

>           // Display the OpenGL texture map
>           glColor4f(1,1,1,1);
>
> -->    glBegin(GL_QUADS);
>

>       int nXRes = g_depthMD.FullXRes();
>               int nYRes = g_depthMD.FullYRes();
>
>              // upper
left
>
>      glTexCoord2f(0, 0);
>              glVertex2f(0, 0);
>              // upper right

>              glTexCoord2f((float)nXRes/(float)
> g_nTexMapX, 0);
>              glVertex2f(GL_WIN_SIZE_X, 0);

>              // bottom right
>              glTexCoord2f((float)nXRes/(float)
> g_nTexMapX, (float)nYRes/(float)
g_nTexMapY);
>              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
>              // bottom left
>
> glTexCoord2f(0,
(float)nYRes/(float)g_nTexMapY);
>              glVertex2f(0, GL_WIN_SIZE_Y);
>
>         glEnd();  //THIS IS
> EV. THE
FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
> BUT YOU NO glPopMatrix()
> ------------------------
> regards
>
nomad
>
> --------------------------
>
> ----Ursprüngliche Nachricht----
> Von: [hidden email]
> Datum: 10.03.2012
14:
> 44
> An: "OpenNI"<[hidden email]>
> Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
reference to
> symbol &#39;glEnd&#39;
>
> Yes, I have all the requirements installed (from the README).
> This was the
output of the
> 'OpenNI/Platform/Linux/CreateRedist/
> RedistMaker' script.
>
> On Mar 10, 10:01 am, "stevenm...
@bluewin.ch" <stevenm...
> @bluewin.ch>
> wrote:> hi
> > have you opengl-headers and libs??? into compileScript
RedistMaker ???
> > glEnd should be
> glEnd().....
> > regards nomad
>
> > ----Ursprüngliche Nachricht----
> > Von:
[hidden email]
> > Datum: 09.03.2012 23:51
>
> An: "OpenNI"<openni-dev@googlegroups.> com>
> > Betreff: [OpenNI-
dev] Building on debian sid: undefined reference to
>
> symbol &#39;glEnd&#39;
>
> > Trying to compile on
> > current
debian sid using ./RedistMaker
>
> > Target: Linux-x86
>
> Version: 1.5.2.23
> > Num of compile jobs: 4
>
> > *
Building
> > OpenNI...
> > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> undefined reference to> symbol
'glEnd'/usr/bin/ld: note: 'glEnd'
> > is defined in DSO /usr/lib/libGL.so.1 so
> > try
>
> adding it to the linker
command line> /usr/lib/libGL.so.1: could not read
> > symbols: Invalid operation
> > collect2: ld
>
> returned 1 exit
status> make[1]: *** [../../../Bin/x86-Release/Sample-
> > NiSimpleViewer] Error 1
> > make: ***
>
>
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
> > /usr/bin/ld: ./x86-Release/Draw.o:
>

> undefined reference to symbol> 'glEnd'
> > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > /usr/lib/libGL.so.1 so
>
> try
>
> adding it to the linker command line> /usr/lib/libGL.so.1: could not read symbols: Invalid
> > operation
> >
collect2: ld

>
> returned 1 exit status
>
>
>
>
>
>
>
>
>
> > make[1]: *** [../../../Bin/x86-Release/NiViewer] Error 1

> > make: ***
> > [Samples/NiViewer]
> Error 2
> > failed to execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/

>
> > Platform/Linux/CreateRedist/../Build
> > /home/dreamer/Sources/kinect/
>
> >
OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt
> > Building Failed!
>
> > --
> > You received this message
because you
> > are subscribed to the Google Groups "OpenNI" group.
> > To post to this group,
>
> send email to openni-
[hidden email].

>
> > To unsubscribe from this group, send email to openni-
>
> [hidden email].
> For more options, visit this
> > group athttp://groups.google.com/group/openni-dev?
>
> hl=en.
>
> --
> You received
this message because you are subscribed to the Google Groups "OpenNI" group.
> To post to this
> group, send email to
[hidden email].
> To unsubscribe from this group, send email to openni-
> dev+unsubscribe@googlegroups.
com.
> For more options, visit this group athttp://groups.google.com/group/openni-dev?hl=en.

--
You received this
message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to openni-
[hidden email].
To unsubscribe from this group, send email to [hidden email].
For more
options, visit this group at http://groups.google.com/group/openni-dev?hl=en.




--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

Alexander
You mean I should grep through the entire openni source?
Let me remind you: this is not 'my' code. It's the unstable branch
from github.

I appreciate your help, but I still have no idea what to do with it.


On Mar 12, 9:12 am, "[hidden email]" <[hidden email]>
wrote:

> hi
> look in your code
> if you make a
> --> glPushMatrix();
>      .....
>
> >    this is wrong  glColor4f(1,1,1,1); float
>
> (1.0f,1.0f,1.0f,1.0f)
>       .......
>
>       -->    glBegin(GL_QUADS);
>               ......
>               ......
>
>              glEnd();  //THIS IS
> -->  glPopMatrix()
>
> hope its useful
> regards nomad
>
> ----Ursprüngliche Nachricht----
>
> Von: [hidden email]
> Datum: 11.03.2012 12:49
> An: "OpenNI"<[hidden email]>
> Betreff: [OpenNI-dev] Re:
> Building on debian sid: undefined reference to symbol &#39;glEnd&#39;
>
> I'm sorry, but I have no idea what to do with
> your code.
>
> Maybe I didn't mention this is from latest unstable branch.
>
> On Mar 11, 8:16 am, "[hidden email]"
> <[hidden email]>
> wrote:
>
>
>
>
>
>
>
>
>
>
>
>
>
> > i think its ev.
> > this stuff on:
> > PLEASE READ THIS:
>
> > void glutDisplay (void)
> > {
> >         XnStatus rc = XN_STATUS_OK;
>
> >         // Read a
> > new frame
> >         rc = g_context.WaitAnyUpdateAll();
> >         if (rc != XN_STATUS_OK)
> >         {
> >                 printf("Read failed: %s\n",
> > xnGetStatusString(rc));
> >                 return;
> >         }
>
> >         g_depth.GetMetaData(g_depthMD);
> >         g_image.GetMetaData
> (g_imageMD);
> >         const
> > XnDepthPixel* pDepth = g_depthMD.Data();
> >         const XnUInt8* pImage = g_imageMD.
> Data();
>
> >         unsigned int nImageScale =
> > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
> >         // Copied from
> SimpleViewer
> >         // Clear the OpenGL buffers
> >         glClear
> > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> >         // Setup the OpenGL viewpoint
> >         glMatrixMode(GL_PROJECTION);
>
> > // here you
> > make a
> > ---
> >         glPushMatrix();
> >            glLoadIdentity();
> >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y, 0, -1.0,
> 1.0);
>
> >           //
> > Calculate the accumulative histogram (the yellow display...)
> >           HERE SOME STUFFF
> >           .....
> >           // Create the
> > OpenGL texture map
> >           glTexParameteri(GL_TEXTURE_2D,
>
> GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
> > (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>
> GL_LINEAR_MIPMAP_LINEAR);
>
>
>
>
>
>
>
>
>
>
>
> >           glTexParameteri(GL_TEXTURE_2D,
> > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY, 0, GL_RGB,
> > GL_UNSIGNED_BYTE, g_pTexMap);
>
> >           // Display the OpenGL texture map
> >           glColor4f(1,1,1,1);
>
> > -->    glBegin(GL_QUADS);
>
> >       int nXRes = g_depthMD.FullXRes();
> >               int nYRes = g_depthMD.FullYRes();
>
> >              // upper
> left
>
> >      glTexCoord2f(0, 0);
> >              glVertex2f(0, 0);
> >              // upper right
> >              glTexCoord2f((float)nXRes/(float)
> > g_nTexMapX, 0);
> >              glVertex2f(GL_WIN_SIZE_X, 0);
> >              // bottom right
> >              glTexCoord2f((float)nXRes/(float)
> > g_nTexMapX, (float)nYRes/(float)
> g_nTexMapY);
> >              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> >              // bottom left
>
> > glTexCoord2f(0,
>
> (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0, GL_WIN_SIZE_Y);
>
> >         glEnd();  //THIS IS
> > EV. THE
>
> FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
>
>
>
>
>
>
>
>
> > BUT YOU NO glPopMatrix()
> > ------------------------
> > regards
>
> nomad
>
> > --------------------------
>
> > ----Ursprüngliche Nachricht----
> > Von: [hidden email]
> > Datum: 10.03.2012
> 14:
> > 44
> > An: "OpenNI"<[hidden email]>
> > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
> reference to
> > symbol &#39;glEnd&#39;
>
> > Yes, I have all the requirements installed (from the README).
> > This was the
> output of the
> > 'OpenNI/Platform/Linux/CreateRedist/
> > RedistMaker' script.
>
> > On Mar 10, 10:01 am, "stevenm...
>
> @bluewin.ch" <stevenm...> @bluewin.ch>
> > wrote:> hi
> > > have you opengl-headers and libs??? into compileScript
> RedistMaker ???
> > > glEnd should be
> > glEnd().....
> > > regards nomad
>
> > > ----Ursprüngliche Nachricht----
> > > Von:
>
> [hidden email]> > Datum: 09.03.2012 23:51
>
> > An: "OpenNI"<openni-dev@googlegroups.> com>
> > > Betreff: [OpenNI-
>
> dev] Building on debian sid: undefined reference to
>
> > symbol &#39;glEnd&#39;
>
> > > Trying to compile on
> > > current
>
> debian sid using ./RedistMaker
>
> > > Target: Linux-x86
>
> > Version: 1.5.2.23
> > > Num of compile jobs: 4
>
> > > *
> Building
> > > OpenNI...
> > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> > undefined reference to> symbol
>
> 'glEnd'/usr/bin/ld: note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
> > > try
>
> > adding it to the linker
>
> command line> /usr/lib/libGL.so.1: could not read> > symbols: Invalid operation
> > > collect2: ld
>
> > returned 1 exit
>
> status> make[1]: *** [../../../Bin/x86-Release/Sample-> > NiSimpleViewer] Error 1
> > > make: ***
>
> [Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
>
>
>
>
>
>
>
>
>
>
>
>
> > > /usr/bin/ld: ./x86-Release/Draw.o:
>
> > undefined reference to symbol> 'glEnd'
> > > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > > /usr/lib/libGL.so.1 so
>
> > try
>
> > adding it to the linker command line> /usr/lib/libGL.so.1: could not read symbols: Invalid
> > > operation
>
> collect2: ld
>
> > returned 1 exit status
>
> > > make[1]: *** [../../../Bin/x86-Release/NiViewer] Error 1
> > > make: ***
> > > [Samples/NiViewer]
> > Error 2
> > > failed to execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > > Platform/Linux/CreateRedist/../Build
> > > /home/dreamer/Sources/kinect/
>
> OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt> > Building Failed!
>
> > > --
> > > You received this message
> because you
> > > are subscribed to the Google Groups "OpenNI" group.
> > > To post to this group,
>
> > send email to openni-
>
> [hidden email].
>
> > > To unsubscribe from this group, send email to openni-
>
> > [hidden email].
> > For more options, visit this
> > > group athttp://groups.google.com/group/openni-dev?
>
> > hl=en.
>
> > --
> > You received
>
> this message because you are subscribed to the Google Groups "OpenNI" group.> To post to this
> > group, send email to
>
> [hidden email].
>
> > To unsubscribe from this group, send email to openni-
> > dev+unsubscribe@googlegroups.
> com.
> > For more options, visit this group athttp://groups.google.com/group/openni-dev?hl=en.
>
> --
> You received this
> message because you are subscribed to the Google Groups "OpenNI" group.
> To post to this group, send email to openni-
> [hidden email].
> To unsubscribe from this group, send email to [hidden email].
> For more
> options, visit this group athttp://groups.google.com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

Alexander
Btw, I get the same result with the master branch.


On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:

> You mean I should grep through the entire openni source?
> Let me remind you: this is not 'my' code. It's the unstable branch
> from github.
>
> I appreciate your help, but I still have no idea what to do with it.
>
> On Mar 12, 9:12 am, "[hidden email]" <[hidden email]>
> wrote:
>
>
>
>
>
>
>
> > hi
> > look in your code
> > if you make a
> > --> glPushMatrix();
> >      .....
>
> > >    this is wrong  glColor4f(1,1,1,1); float
>
> > (1.0f,1.0f,1.0f,1.0f)
> >       .......
>
> >       -->    glBegin(GL_QUADS);
> >               ......
> >               ......
>
> >              glEnd();  //THIS IS
> > -->  glPopMatrix()
>
> > hope its useful
> > regards nomad
>
> > ----Ursprüngliche Nachricht----
>
> > Von: [hidden email]
> > Datum: 11.03.2012 12:49
> > An: "OpenNI"<[hidden email]>
> > Betreff: [OpenNI-dev] Re:
> > Building on debian sid: undefined reference to symbol &#39;glEnd&#39;
>
> > I'm sorry, but I have no idea what to do with
> > your code.
>
> > Maybe I didn't mention this is from latest unstable branch.
>
> > On Mar 11, 8:16 am, "[hidden email]"
> > <[hidden email]>
> > wrote:
>
> > > i think its ev.
> > > this stuff on:
> > > PLEASE READ THIS:
>
> > > void glutDisplay (void)
> > > {
> > >         XnStatus rc = XN_STATUS_OK;
>
> > >         // Read a
> > > new frame
> > >         rc = g_context.WaitAnyUpdateAll();
> > >         if (rc != XN_STATUS_OK)
> > >         {
> > >                 printf("Read failed: %s\n",
> > > xnGetStatusString(rc));
> > >                 return;
> > >         }
>
> > >         g_depth.GetMetaData(g_depthMD);
> > >         g_image.GetMetaData
> > (g_imageMD);
> > >         const
> > > XnDepthPixel* pDepth = g_depthMD.Data();
> > >         const XnUInt8* pImage = g_imageMD.
> > Data();
>
> > >         unsigned int nImageScale =
> > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
> > >         // Copied from
> > SimpleViewer
> > >         // Clear the OpenGL buffers
> > >         glClear
> > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> > >         // Setup the OpenGL viewpoint
> > >         glMatrixMode(GL_PROJECTION);
>
> > > // here you
> > > make a
> > > ---
> > >         glPushMatrix();
> > >            glLoadIdentity();
> > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y, 0, -1.0,
> > 1.0);
>
> > >           //
> > > Calculate the accumulative histogram (the yellow display...)
> > >           HERE SOME STUFFF
> > >           .....
> > >           // Create the
> > > OpenGL texture map
> > >           glTexParameteri(GL_TEXTURE_2D,
>
> > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
> > > (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>
> > GL_LINEAR_MIPMAP_LINEAR);
>
> > >           glTexParameteri(GL_TEXTURE_2D,
> > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY, 0, GL_RGB,
> > > GL_UNSIGNED_BYTE, g_pTexMap);
>
> > >           // Display the OpenGL texture map
> > >           glColor4f(1,1,1,1);
>
> > > -->    glBegin(GL_QUADS);
>
> > >       int nXRes = g_depthMD.FullXRes();
> > >               int nYRes = g_depthMD.FullYRes();
>
> > >              // upper
> > left
>
> > >      glTexCoord2f(0, 0);
> > >              glVertex2f(0, 0);
> > >              // upper right
> > >              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, 0);
> > >              glVertex2f(GL_WIN_SIZE_X, 0);
> > >              // bottom right
> > >              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, (float)nYRes/(float)
> > g_nTexMapY);
> > >              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> > >              // bottom left
>
> > > glTexCoord2f(0,
>
> > (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0, GL_WIN_SIZE_Y);
>
> > >         glEnd();  //THIS IS
> > > EV. THE
>
> > FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
> > > BUT YOU NO glPopMatrix()
> > > ------------------------
> > > regards
>
> > nomad
>
> > > --------------------------
>
> > > ----Ursprüngliche Nachricht----
> > > Von: [hidden email]
> > > Datum: 10.03.2012
> > 14:
> > > 44
> > > An: "OpenNI"<[hidden email]>
> > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
> > reference to
> > > symbol &#39;glEnd&#39;
>
> > > Yes, I have all the requirements installed (from the README).
> > > This was the
> > output of the
> > > 'OpenNI/Platform/Linux/CreateRedist/
> > > RedistMaker' script.
>
> > > On Mar 10, 10:01 am, "stevenm...
>
> > @bluewin.ch" <stevenm...> @bluewin.ch>
> > > wrote:> hi
> > > > have you opengl-headers and libs??? into compileScript
> > RedistMaker ???
> > > > glEnd should be
> > > glEnd().....
> > > > regards nomad
>
> > > > ----Ursprüngliche Nachricht----
> > > > Von:
>
> > [hidden email]> > Datum: 09.03.2012 23:51
>
> > > An: "OpenNI"<openni-dev@googlegroups.> com>
> > > > Betreff: [OpenNI-
>
> > dev] Building on debian sid: undefined reference to
>
> > > symbol &#39;glEnd&#39;
>
> > > > Trying to compile on
> > > > current
>
> > debian sid using ./RedistMaker
>
> > > > Target: Linux-x86
>
> > > Version: 1.5.2.23
> > > > Num of compile jobs: 4
>
> > > > *
> > Building
> > > > OpenNI...
> > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> > > undefined reference to> symbol
>
> > 'glEnd'/usr/bin/ld: note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
> > > > try
>
> > > adding it to the linker
>
> > command line> /usr/lib/libGL.so.1: could not read> > symbols: Invalid operation
> > > > collect2: ld
>
> > > returned 1 exit
>
> > status> make[1]: *** [../../../Bin/x86-Release/Sample-> > NiSimpleViewer] Error 1
> > > > make: ***
>
> > [Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
> > > > /usr/bin/ld: ./x86-Release/Draw.o:
>
> > > undefined reference to symbol> 'glEnd'
> > > > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > > > /usr/lib/libGL.so.1 so
>
> > > try
>
> > > adding it to the linker command line> /usr/lib/libGL.so.1: could not read symbols: Invalid
> > > > operation
>
> > collect2: ld
>
> > > returned 1 exit status
>
> > > > make[1]: *** [../../../Bin/x86-Release/NiViewer] Error 1
> > > > make: ***
> > > > [Samples/NiViewer]
> > > Error 2
> > > > failed to execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > > > Platform/Linux/CreateRedist/../Build
> > > > /home/dreamer/Sources/kinect/
>
> > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt> > Building Failed!
>
> > > > --
> > > > You received this message
> > because you
> > > > are subscribed to the Google Groups "OpenNI" group.
> > > > To post to this group,
>
> > > send email to openni-
>
> > [hidden email].
>
> > > > To unsubscribe from this group, send email to openni-
>
> > > [hidden email].
> > > For more options, visit this
> > > > group athttp://groups.google.com/group/openni-dev?
>
> > > hl=en.
>
> > > --
> > > You received
>
> > this message because you are subscribed to the Google Groups "OpenNI" group.> To post to this
> > > group, send email to
>
> > [hidden email].
>
> > > To unsubscribe from this group, send email to openni-
> > > dev+unsubscribe@googlegroups.
> > com.
> > > For more options, visit this group athttp://groups.google.com/group/openni-dev?hl=en.
>
> > --
> > You received this
> > message because you are subscribed to the Google Groups "OpenNI" group.
> > To post to this group, send email to openni-
> > [hidden email].
> > To unsubscribe from this group, send email to [hidden email].
> > For more
> > options, visit this group athttp://groups.google.com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

Dougoutigui Bayoh
Hello,
Can you help me get started on a project about motion sensing?

On Mon, Mar 12, 2012 at 4:59 AM, Alexander <[hidden email]> wrote:
Btw, I get the same result with the master branch.


On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:
> You mean I should grep through the entire openni source?
> Let me remind you: this is not 'my' code. It's the unstable branch
> from github.
>
> I appreciate your help, but I still have no idea what to do with it.
>
> On Mar 12, 9:12 am, "[hidden email]" <[hidden email]>
> wrote:
>
>
>
>
>
>
>
> > hi
> > look in your code
> > if you make a
> > --> glPushMatrix();
> >      .....
>
> > >    this is wrong  glColor4f(1,1,1,1); float
>
> > (1.0f,1.0f,1.0f,1.0f)
> >       .......
>
> >       -->    glBegin(GL_QUADS);
> >               ......
> >               ......
>
> >              glEnd();  //THIS IS
> > -->  glPopMatrix()
>
> > hope its useful
> > regards nomad
>
> > ----Ursprüngliche Nachricht----
>
> > Von: [hidden email]
> > Datum: 11.03.2012 12:49
> > An: "OpenNI"<[hidden email]>
> > Betreff: [OpenNI-dev] Re:
> > Building on debian sid: undefined reference to symbol &#39;glEnd&#39;
>
> > I'm sorry, but I have no idea what to do with
> > your code.
>
> > Maybe I didn't mention this is from latest unstable branch.
>
> > On Mar 11, 8:16 am, "[hidden email]"
> > <[hidden email]>
> > wrote:
>
> > > i think its ev.
> > > this stuff on:
> > > PLEASE READ THIS:
>
> > > void glutDisplay (void)
> > > {
> > >         XnStatus rc = XN_STATUS_OK;
>
> > >         // Read a
> > > new frame
> > >         rc = g_context.WaitAnyUpdateAll();
> > >         if (rc != XN_STATUS_OK)
> > >         {
> > >                 printf("Read failed: %s\n",
> > > xnGetStatusString(rc));
> > >                 return;
> > >         }
>
> > >         g_depth.GetMetaData(g_depthMD);
> > >         g_image.GetMetaData
> > (g_imageMD);
> > >         const
> > > XnDepthPixel* pDepth = g_depthMD.Data();
> > >         const XnUInt8* pImage = g_imageMD.
> > Data();
>
> > >         unsigned int nImageScale =
> > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
> > >         // Copied from
> > SimpleViewer
> > >         // Clear the OpenGL buffers
> > >         glClear
> > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> > >         // Setup the OpenGL viewpoint
> > >         glMatrixMode(GL_PROJECTION);
>
> > > // here you
> > > make a
> > > ---
> > >         glPushMatrix();
> > >            glLoadIdentity();
> > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y, 0, -1.0,
> > 1.0);
>
> > >           //
> > > Calculate the accumulative histogram (the yellow display...)
> > >           HERE SOME STUFFF
> > >           .....
> > >           // Create the
> > > OpenGL texture map
> > >           glTexParameteri(GL_TEXTURE_2D,
>
> > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
> > > (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>
> > GL_LINEAR_MIPMAP_LINEAR);
>
> > >           glTexParameteri(GL_TEXTURE_2D,
> > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY, 0, GL_RGB,
> > > GL_UNSIGNED_BYTE, g_pTexMap);
>
> > >           // Display the OpenGL texture map
> > >           glColor4f(1,1,1,1);
>
> > > -->    glBegin(GL_QUADS);
>
> > >       int nXRes = g_depthMD.FullXRes();
> > >               int nYRes = g_depthMD.FullYRes();
>
> > >              // upper
> > left
>
> > >      glTexCoord2f(0, 0);
> > >              glVertex2f(0, 0);
> > >              // upper right
> > >              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, 0);
> > >              glVertex2f(GL_WIN_SIZE_X, 0);
> > >              // bottom right
> > >              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, (float)nYRes/(float)
> > g_nTexMapY);
> > >              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> > >              // bottom left
>
> > > glTexCoord2f(0,
>
> > (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0, GL_WIN_SIZE_Y);
>
> > >         glEnd();  //THIS IS
> > > EV. THE
>
> > FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
> > > BUT YOU NO glPopMatrix()
> > > ------------------------
> > > regards
>
> > nomad
>
> > > --------------------------
>
> > > ----Ursprüngliche Nachricht----
> > > Von: [hidden email]
> > > Datum: 10.03.2012
> > 14:
> > > 44
> > > An: "OpenNI"<[hidden email]>
> > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
> > reference to
> > > symbol &#39;glEnd&#39;
>
> > > Yes, I have all the requirements installed (from the README).
> > > This was the
> > output of the
> > > 'OpenNI/Platform/Linux/CreateRedist/
> > > RedistMaker' script.
>
> > > On Mar 10, 10:01 am, "stevenm...
>
> > @bluewin.ch" <stevenm...> @bluewin.ch>
> > > wrote:> hi
> > > > have you opengl-headers and libs??? into compileScript
> > RedistMaker ???
> > > > glEnd should be
> > > glEnd().....
> > > > regards nomad
>
> > > > ----Ursprüngliche Nachricht----
> > > > Von:
>
> > [hidden email]> > Datum: 09.03.2012 23:51
>
> > > An: "OpenNI"<openni-dev@googlegroups.> com>
> > > > Betreff: [OpenNI-
>
> > dev] Building on debian sid: undefined reference to
>
> > > symbol &#39;glEnd&#39;
>
> > > > Trying to compile on
> > > > current
>
> > debian sid using ./RedistMaker
>
> > > > Target: Linux-x86
>
> > > Version: 1.5.2.23
> > > > Num of compile jobs: 4
>
> > > > *
> > Building
> > > > OpenNI...
> > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> > > undefined reference to> symbol
>
> > 'glEnd'/usr/bin/ld: note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
> > > > try
>
> > > adding it to the linker
>
> > command line> /usr/lib/libGL.so.1: could not read> > symbols: Invalid operation
> > > > collect2: ld
>
> > > returned 1 exit
>
> > status> make[1]: *** [../../../Bin/x86-Release/Sample-> > NiSimpleViewer] Error 1
> > > > make: ***
>
> > [Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
> > > > /usr/bin/ld: ./x86-Release/Draw.o:
>
> > > undefined reference to symbol> 'glEnd'
> > > > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > > > /usr/lib/libGL.so.1 so
>
> > > try
>
> > > adding it to the linker command line> /usr/lib/libGL.so.1: could not read symbols: Invalid
> > > > operation
>
> > collect2: ld
>
> > > returned 1 exit status
>
> > > > make[1]: *** [../../../Bin/x86-Release/NiViewer] Error 1
> > > > make: ***
> > > > [Samples/NiViewer]
> > > Error 2
> > > > failed to execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > > > Platform/Linux/CreateRedist/../Build
> > > > /home/dreamer/Sources/kinect/
>
> > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt> > Building Failed!
>
> > > > --
> > > > You received this message
> > because you
> > > > are subscribed to the Google Groups "OpenNI" group.
> > > > To post to this group,
>
> > > send email to openni-
>
> > [hidden email].
>
> > > > To unsubscribe from this group, send email to openni-
>
> > > [hidden email].
> > > For more options, visit this
> > > > group athttp://groups.google.com/group/openni-dev?
>
> > > hl=en.
>
> > > --
> > > You received
>
> > this message because you are subscribed to the Google Groups "OpenNI" group.> To post to this
> > > group, send email to
>
> > [hidden email].
>
> > > To unsubscribe from this group, send email to openni-
> > > dev+unsubscribe@googlegroups.
> > com.
> > > For more options, visit this group athttp://groups.google.com/group/openni-dev?hl=en.
>
> > --
> > You received this
> > message because you are subscribed to the Google Groups "OpenNI" group.
> > To post to this group, send email to openni-
> > [hidden email].
> > To unsubscribe from this group, send email to [hidden email].
> > For more
> > options, visit this group athttp://groups.google.com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.


--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AW: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

stevenmorf@bluewin.ch
In reply to this post by Alexander
hi
i know this is not your code.
if :have you link the opengl-stuff in your compile
    if glEnd() the only failure,
whats happened if you make the statement  glEnd() commented out aka glEnd();  -> //glEnd();???
    can you other
examples compile ???
    its your install OK ???
else
then i cant help you.....
regards nomad...

----Ursprüngliche
Nachricht----
Von: [hidden email]
Datum: 12.03.2012 09:54
An: "OpenNI"<[hidden email]>
Betreff:
[OpenNI-dev] Re: Building on debian sid: undefined reference to symbol &#39;glEnd&#39;

You mean I should grep through
the entire openni source?
Let me remind you: this is not 'my' code. It's the unstable branch
from github.

I appreciate
your help, but I still have no idea what to do with it.


On Mar 12, 9:12 am, "[hidden email]" <stevenm...
@bluewin.ch>
wrote:
> hi
> look in your code
> if you make a
> --> glPushMatrix();
>      .....
>
> >    this is
wrong  glColor4f(1,1,1,1); float
>
> (1.0f,1.0f,1.0f,1.0f)
>       .......
>
>       -->    glBegin(GL_QUADS);

>               ......
>               ......
>
>              glEnd();  //THIS IS
> -->  glPopMatrix()
>
> hope its
useful
> regards nomad
>
> ----Ursprüngliche Nachricht----
>
> Von: [hidden email]
> Datum: 11.03.2012 12:49
> An:
"OpenNI"<[hidden email]>
> Betreff: [OpenNI-dev] Re:
> Building on debian sid: undefined reference to
symbol &#39;glEnd&#39;
>
> I'm sorry, but I have no idea what to do with
> your code.
>
> Maybe I didn't mention this
is from latest unstable branch.
>
> On Mar 11, 8:16 am, "[hidden email]"
> <[hidden email]>
> wrote:
>
>

>
>
>
>
>
>
>
>
>
>
>
> > i think its ev.
> > this stuff on:
> > PLEASE READ THIS:
>
> > void glutDisplay (void)
> > {

> >         XnStatus rc = XN_STATUS_OK;
>
> >         // Read a
> > new frame
> >         rc = g_context.
WaitAnyUpdateAll();

> >         if (rc != XN_STATUS_OK)
> >         {
> >                 printf("Read failed: %s\n",
>
> xnGetStatusString(rc));
> >                 return;
> >         }
>
> >         g_depth.GetMetaData(g_depthMD);
>
>         g_image.GetMetaData
> (g_imageMD);
> >         const
> > XnDepthPixel* pDepth = g_depthMD.Data();
>
>         const XnUInt8* pImage = g_imageMD.
> Data();
>
> >         unsigned int nImageScale =
> > GL_WIN_SIZE_X /
g_depthMD.FullXRes();

>
> >         // Copied from
> SimpleViewer
> >         // Clear the OpenGL buffers
>
>         glClear
> > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> >         // Setup the OpenGL viewpoint
>
>         glMatrixMode(GL_PROJECTION);
>
> > // here you
> > make a
> > ---
> >         glPushMatrix();
>
>            glLoadIdentity();
> >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y, 0, -1.0,
> 1.0);
>
>
>           //
> > Calculate the accumulative histogram (the yellow display...)
> >           HERE SOME STUFFF
>
>           .....
> >           // Create the
> > OpenGL texture map
> >           glTexParameteri(GL_TEXTURE_2D,
>
>
GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
> > (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>
>
GL_LINEAR_MIPMAP_LINEAR);

>
>
>
>
>
>
>
>
>
>
>
> >           glTexParameteri(GL_TEXTURE_2D,
> > GL_TEXTURE_MAG_FILTER,
GL_LINEAR);
> >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY, 0, GL_RGB,
> >
GL_UNSIGNED_BYTE, g_pTexMap);
>
> >           // Display the OpenGL texture map
> >           glColor4f(1,1,1,1);
>
> >
-->    glBegin(GL_QUADS);
>
> >       int nXRes = g_depthMD.FullXRes();
> >               int nYRes = g_depthMD.
FullYRes();

>
> >              // upper
> left
>
> >      glTexCoord2f(0, 0);
> >              glVertex2f(0, 0);
>
>              // upper right
> >              glTexCoord2f((float)nXRes/(float)
> > g_nTexMapX, 0);
>
>              glVertex2f(GL_WIN_SIZE_X, 0);
> >              // bottom right
> >              glTexCoord2f((float)
nXRes/(float)
> > g_nTexMapX, (float)nYRes/(float)
> g_nTexMapY);
> >              glVertex2f(GL_WIN_SIZE_X,
GL_WIN_SIZE_Y);

> >              // bottom left
>
> > glTexCoord2f(0,
>
> (float)nYRes/(float)g_nTexMapY);
>              glVertex2f(0, GL_WIN_SIZE_Y);
>
> >         glEnd();  //THIS IS
> > EV. THE
>
> FAILURE ITS CORRESPONDED
WITH glBegin(GL_QUAD);

>
>
>
>
>
>
>
>
>
> > BUT YOU NO glPopMatrix()
> > ------------------------
> > regards
>
>
nomad
>
> > --------------------------
>
> > ----Ursprüngliche Nachricht----
> > Von: [hidden email]
> > Datum:
10.03.2012
> 14:
> > 44
> > An: "OpenNI"<[hidden email]>
> > Betreff: [OpenNI-dev] Re: Building on debian
sid: undefined
> reference to
> > symbol &#39;glEnd&#39;
>
> > Yes, I have all the requirements installed (from the
README).
> > This was the
> output of the
> > 'OpenNI/Platform/Linux/CreateRedist/
> > RedistMaker' script.
>
> > On
Mar 10, 10:01 am, "stevenm...
>
> @bluewin.ch" <stevenm...> @bluewin.ch>
> > wrote:> hi
> > > have you opengl-headers
and libs??? into compileScript
> RedistMaker ???
> > > glEnd should be
> > glEnd().....
> > > regards nomad
>
> > > ----
Ursprüngliche Nachricht----
> > > Von:
>
> [hidden email]> > Datum: 09.03.2012 23:51
>
> > An: "OpenNI"<openni-
dev@googlegroups.> com>
> > > Betreff: [OpenNI-
>
> dev] Building on debian sid: undefined reference to
>
> > symbol
&#39;glEnd&#39;
>
> > > Trying to compile on
> > > current
>
> debian sid using ./RedistMaker
>
> > > Target: Linux-x86

>
> > Version: 1.5.2.23
> > > Num of compile jobs: 4
>
> > > *
> Building
> > > OpenNI...
> > > /usr/bin/ld: ./x86-
Release/NiSimpleViewer.o:
>
> > undefined reference to> symbol
>
> 'glEnd'/usr/bin/ld: note: 'glEnd'> > is defined in
DSO /usr/lib/libGL.so.1 so
> > > try
>
> > adding it to the linker
>
> command line> /usr/lib/libGL.so.1: could not
read> > symbols: Invalid operation
> > > collect2: ld
>
> > returned 1 exit
>
> status> make[1]: *** [../../../Bin/x86-
Release/Sample-> > NiSimpleViewer] Error 1
> > > make: ***
>
> [Samples/NiSimpleViewer] Error 2> make: *** Waiting for
unfinished jobs....

>
>
>
>
>
>
>
>
>
>
>
>
>
> > > /usr/bin/ld: ./x86-Release/Draw.o:
>
> > undefined reference to
symbol> 'glEnd'
> > > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > > /usr/lib/libGL.so.1 so
>
> > try
>
> > adding
it to the linker command line> /usr/lib/libGL.so.1: could not read symbols: Invalid
> > > operation
>
> collect2: ld
>

> > returned 1 exit status
>
> > > make[1]: *** [../../../Bin/x86-Release/NiViewer] Error 1
> > > make: ***
> > >
[Samples/NiViewer]
> > Error 2
> > > failed to execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > >
Platform/Linux/CreateRedist/../Build
> > > /home/dreamer/Sources/kinect/
>
>
OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt> > Building Failed!
>
> > > --
> > > You received this
message
> because you
> > > are subscribed to the Google Groups "OpenNI" group.
> > > To post to this group,
>
> > send
email to openni-
>
> [hidden email].
>
> > > To unsubscribe from this group, send email to openni-
>
> >
[hidden email].
> > For more options, visit this
> > > group athttp://groups.google.com/group/openni-
dev?
>
> > hl=en.
>
> > --
> > You received
>
> this message because you are subscribed to the Google Groups "OpenNI"
group.> To post to this
> > group, send email to
>
> [hidden email].
>
> > To unsubscribe from this group,
send email to openni-
> > dev+unsubscribe@googlegroups.
> com.
> > For more options, visit this group athttp://groups.
google.com/group/openni-dev?hl=en.
>
> --
> You received this
> message because you are subscribed to the Google Groups
"OpenNI" group.
> To post to this group, send email to openni-
> [hidden email].
> To unsubscribe from this
group, send email to [hidden email].
> For more
> options, visit this group athttp://groups.
google.com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups
"OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send
email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.




--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AW: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

stevenmorf@bluewin.ch
In reply to this post by Alexander
hi (2)
its possible that you have the package (unstable or master) not correct install.... :-(
excuse my english

regards nomad

----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 12.03.2012 09:59
An: "OpenNI"<openni-
[hidden email]>
Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol &#39;glEnd&#39;


Btw, I get the same result with the master branch.


On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:
> You
mean I should grep through the entire openni source?
> Let me remind you: this is not 'my' code. It's the unstable
branch
> from github.
>
> I appreciate your help, but I still have no idea what to do with it.
>
> On Mar 12, 9:12 am,
"[hidden email]" <[hidden email]>

> wrote:
>
>
>
>
>
>
>
> > hi
> > look in your code
> > if you make a
>
> --> glPushMatrix();
> >      .....
>
> > >    this is wrong  glColor4f(1,1,1,1); float
>
> > (1.0f,1.0f,1.0f,1.0f)
>
>       .......
>
> >       -->    glBegin(GL_QUADS);
> >               ......
> >               ......
>
>
>              glEnd();  //THIS IS
> > -->  glPopMatrix()
>
> > hope its useful
> > regards nomad
>
> > ----
Ursprüngliche Nachricht----
>
> > Von: [hidden email]
> > Datum: 11.03.2012 12:49
> > An: "OpenNI"<openni-
[hidden email]>
> > Betreff: [OpenNI-dev] Re:
> > Building on debian sid: undefined reference to symbol &#39;
glEnd&#39;
>
> > I'm sorry, but I have no idea what to do with
> > your code.
>
> > Maybe I didn't mention this is from
latest unstable branch.

>
> > On Mar 11, 8:16 am, "[hidden email]"
> > <[hidden email]>
> > wrote:
>
> >
> i think its ev.
> > > this stuff on:
> > > PLEASE READ THIS:
>
> > > void glutDisplay (void)
> > > {
> >
>         XnStatus rc = XN_STATUS_OK;
>
> > >         // Read a
> > > new frame
> > >         rc = g_context.
WaitAnyUpdateAll();
> > >         if (rc != XN_STATUS_OK)
> > >         {
> > >                 printf("Read failed: %
s\n",
> > > xnGetStatusString(rc));
> > >                 return;
> > >         }
>
> > >         g_depth.GetMetaData
(g_depthMD);
> > >         g_image.GetMetaData
> > (g_imageMD);
> > >         const
> > > XnDepthPixel* pDepth =
g_depthMD.Data();
> > >         const XnUInt8* pImage = g_imageMD.
> > Data();
>
> > >         unsigned int nImageScale
=
> > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
> > >         // Copied from
> > SimpleViewer
> > >         // Clear
the OpenGL buffers
> > >         glClear
> > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> > >         // Setup
the OpenGL viewpoint
> > >         glMatrixMode(GL_PROJECTION);
>
> > > // here you
> > > make a
> > > ---
> >
>         glPushMatrix();
> > >            glLoadIdentity();
> > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y,
0, -1.0,

> > 1.0);
>
> > >           //
> > > Calculate the accumulative histogram (the yellow display...)
> >
>           HERE SOME STUFFF
> > >           .....
> > >           // Create the
> > > OpenGL texture map
> >
>           glTexParameteri(GL_TEXTURE_2D,
>
> > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
> > >
(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>
> > GL_LINEAR_MIPMAP_LINEAR);
>
> > >           glTexParameteri(GL_TEXTURE_2D,

> > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY,
0, GL_RGB,

> > > GL_UNSIGNED_BYTE, g_pTexMap);
>
> > >           // Display the OpenGL texture map
> >
>           glColor4f(1,1,1,1);
>
> > > -->    glBegin(GL_QUADS);
>
> > >       int nXRes = g_depthMD.FullXRes();
> >
>               int nYRes = g_depthMD.FullYRes();
>
> > >              // upper
> > left
>
> > >      glTexCoord2f(0,
0);
> > >              glVertex2f(0, 0);
> > >              // upper right
> > >              glTexCoord2f((float)nXRes/
(float)

> > > g_nTexMapX, 0);
> > >              glVertex2f(GL_WIN_SIZE_X, 0);
> > >              // bottom right
> >
>              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, (float)nYRes/(float)
> > g_nTexMapY);
> >
>              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> > >              // bottom left
>
> > > glTexCoord2f(0,
>
>
> (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0, GL_WIN_SIZE_Y);
>
> > >         glEnd();  //THIS IS
> >
> EV. THE
>
> > FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
> > > BUT YOU NO glPopMatrix()
> > >
------------------------
> > > regards
>
> > nomad
>
> > > --------------------------
>
> > > ----Ursprüngliche
Nachricht----
> > > Von: [hidden email]
> > > Datum: 10.03.2012
> > 14:
> > > 44
> > > An: "OpenNI"<openni-
[hidden email]>
> > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
> > reference to
> > > symbol
&#39;glEnd&#39;
>
> > > Yes, I have all the requirements installed (from the README).
> > > This was the
> > output of
the
> > > 'OpenNI/Platform/Linux/CreateRedist/
> > > RedistMaker' script.
>
> > > On Mar 10, 10:01 am, "stevenm...
>
>
> @bluewin.ch" <stevenm...> @bluewin.ch>
> > > wrote:> hi
> > > > have you opengl-headers and libs??? into
compileScript
> > RedistMaker ???
> > > > glEnd should be
> > > glEnd().....
> > > > regards nomad
>
> > > > ----
Ursprüngliche Nachricht----
> > > > Von:
>
> > [hidden email]> > Datum: 09.03.2012 23:51
>
> > > An: "OpenNI"
<openni-dev@googlegroups.> com>

> > > > Betreff: [OpenNI-
>
> > dev] Building on debian sid: undefined reference to
>
>
> > symbol &#39;glEnd&#39;
>
> > > > Trying to compile on
> > > > current
>
> > debian sid using ./RedistMaker
>
> > >
> Target: Linux-x86
>
> > > Version: 1.5.2.23
> > > > Num of compile jobs: 4
>
> > > > *
> > Building
> > > > OpenNI...

> > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> > > undefined reference to> symbol
>
> > 'glEnd'/usr/bin/ld:
note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
> > > > try
>
> > > adding it to the linker
>
> > command
line> /usr/lib/libGL.so.1: could not read> > symbols: Invalid operation
> > > > collect2: ld
>
> > > returned 1 exit
>

> > status> make[1]: *** [../../../Bin/x86-Release/Sample-> > NiSimpleViewer] Error 1
> > > > make: ***
>
> >
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
> > > > /usr/bin/ld: ./x86-Release/Draw.
o:
>
> > > undefined reference to symbol> 'glEnd'
> > > > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > > >
/usr/lib/libGL.so.1 so
>
> > > try
>
> > > adding it to the linker command line> /usr/lib/libGL.so.1: could not read
symbols: Invalid
> > > > operation
>
> > collect2: ld
>
> > > returned 1 exit status
>
> > > > make[1]: *** [../../..
/Bin/x86-Release/NiViewer] Error 1
> > > > make: ***
> > > > [Samples/NiViewer]
> > > Error 2
> > > > failed to
execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > > > Platform/Linux/CreateRedist/../Build
> > > >
/home/dreamer/Sources/kinect/

>
> > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt> > Building Failed!
>
> >
> > --
> > > > You received this message
> > because you
> > > > are subscribed to the Google Groups "OpenNI" group.
>
> > > To post to this group,
>
> > > send email to openni-
>
> > [hidden email].
>
> > > > To unsubscribe from
this group, send email to openni-
>
> > > [hidden email].
> > > For more options, visit this
> > > >
group athttp://groups.google.com/group/openni-dev?
>
> > > hl=en.
>
> > > --
> > > You received
>
> > this message
because you are subscribed to the Google Groups "OpenNI" group.> To post to this
> > > group, send email to
>
> >
[hidden email].
>
> > > To unsubscribe from this group, send email to openni-
> > >
dev+unsubscribe@googlegroups.
> > com.
> > > For more options, visit this group athttp://groups.google.com/group/openni-
dev?hl=en.
>
> > --
> > You received this
> > message because you are subscribed to the Google Groups "OpenNI" group.
>
> To post to this group, send email to openni-
> > [hidden email].
> > To unsubscribe from this group, send email
to [hidden email].
> > For more
> > options, visit this group athttp://groups.google.
com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI"
group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to
[hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.




--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

Alexander
No, I'm definitely sure that I pulled the git repository correctly.
I actually tried a clean pull and I get the exact same result.


On Tuesday, 13 March 2012 09:05:10 UTC+1, nomad wrote:
hi (2)
its possible that you have the package (unstable or master) not correct install.... :-(
excuse my english

regards nomad

----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 12.03.2012 09:59
An: "OpenNI"<openni-
[hidden email]>
Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol &#39;glEnd&#39;


Btw, I get the same result with the master branch.


On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:
> You
mean I should grep through the entire openni source?
> Let me remind you: this is not 'my' code. It's the unstable
branch
> from github.
>
> I appreciate your help, but I still have no idea what to do with it.
>
> On Mar 12, 9:12 am,
"[hidden email]" <[hidden email]>


> wrote:
>
>
>
>
>
>
>
> > hi
> > look in your code
> > if you make a
>
> --> glPushMatrix();
> >      .....
>
> > >    this is wrong  glColor4f(1,1,1,1); float
>
> > (1.0f,1.0f,1.0f,1.0f)
>
>       .......
>
> >       -->    glBegin(GL_QUADS);
> >               ......
> >               ......
>
>
>              glEnd();  //THIS IS
> > -->  glPopMatrix()
>
> > hope its useful
> > regards nomad
>
> > ----
Ursprüngliche Nachricht----
>
> > Von: [hidden email]
> > Datum: 11.03.2012 12:49
> > An: "OpenNI"<openni-
[hidden email]>
> > Betreff: [OpenNI-dev] Re:
> > Building on debian sid: undefined reference to symbol &#39;
glEnd&#39;
>
> > I'm sorry, but I have no idea what to do with
> > your code.
>
> > Maybe I didn't mention this is from
latest unstable branch.

>
> > On Mar 11, 8:16 am, "[hidden email]"
> > <[hidden email]>
> > wrote:
>
> >
> i think its ev.
> > > this stuff on:
> > > PLEASE READ THIS:
>
> > > void glutDisplay (void)
> > > {
> >
>         XnStatus rc = XN_STATUS_OK;
>
> > >         // Read a
> > > new frame
> > >         rc = g_context.
WaitAnyUpdateAll();
> > >         if (rc != XN_STATUS_OK)
> > >         {
> > >                 printf("Read failed: %
s\n",
> > > xnGetStatusString(rc));
> > >                 return;
> > >         }
>
> > >         g_depth.GetMetaData
(g_depthMD);
> > >         g_image.GetMetaData
> > (g_imageMD);
> > >         const
> > > XnDepthPixel* pDepth =
g_depthMD.Data();
> > >         const XnUInt8* pImage = g_imageMD.
> > Data();
>
> > >         unsigned int nImageScale
=
> > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
> > >         // Copied from
> > SimpleViewer
> > >         // Clear
the OpenGL buffers
> > >         glClear
> > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> > >         // Setup
the OpenGL viewpoint
> > >         glMatrixMode(GL_PROJECTION);
>
> > > // here you
> > > make a
> > > ---
> >
>         glPushMatrix();
> > >            glLoadIdentity();
> > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y,
0, -1.0,

> > 1.0);
>
> > >           //
> > > Calculate the accumulative histogram (the yellow display...)
> >
>           HERE SOME STUFFF
> > >           .....
> > >           // Create the
> > > OpenGL texture map
> >
>           glTexParameteri(GL_TEXTURE_2D,
>
> > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
> > >
(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>
> > GL_LINEAR_MIPMAP_LINEAR);
>
> > >           glTexParameteri(GL_TEXTURE_2D,

> > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY,
0, GL_RGB,


> > > GL_UNSIGNED_BYTE, g_pTexMap);
>
> > >           // Display the OpenGL texture map
> >
>           glColor4f(1,1,1,1);
>
> > > -->    glBegin(GL_QUADS);
>
> > >       int nXRes = g_depthMD.FullXRes();
> >
>               int nYRes = g_depthMD.FullYRes();
>
> > >              // upper
> > left
>
> > >      glTexCoord2f(0,
0);
> > >              glVertex2f(0, 0);
> > >              // upper right
> > >              glTexCoord2f((float)nXRes/
(float)

> > > g_nTexMapX, 0);
> > >              glVertex2f(GL_WIN_SIZE_X, 0);
> > >              // bottom right
> >
>              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, (float)nYRes/(float)
> > g_nTexMapY);
> >
>              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> > >              // bottom left
>
> > > glTexCoord2f(0,
>
>
> (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0, GL_WIN_SIZE_Y);
>
> > >         glEnd();  //THIS IS
> >
> EV. THE
>
> > FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
> > > BUT YOU NO glPopMatrix()
> > >
------------------------
> > > regards
>
> > nomad
>
> > > --------------------------
>
> > > ----Ursprüngliche
Nachricht----
> > > Von: [hidden email]
> > > Datum: 10.03.2012
> > 14:
> > > 44
> > > An: "OpenNI"<openni-
[hidden email]>
> > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
> > reference to
> > > symbol
&#39;glEnd&#39;
>
> > > Yes, I have all the requirements installed (from the README).
> > > This was the
> > output of
the
> > > 'OpenNI/Platform/Linux/CreateRedist/
> > > RedistMaker' script.
>
> > > On Mar 10, 10:01 am, "stevenm...
>
>
> @bluewin.ch" <stevenm...> @bluewin.ch>
> > > wrote:> hi
> > > > have you opengl-headers and libs??? into
compileScript
> > RedistMaker ???
> > > > glEnd should be
> > > glEnd().....
> > > > regards nomad
>
> > > > ----
Ursprüngliche Nachricht----
> > > > Von:
>
> > [hidden email]> > Datum: 09.03.2012 23:51
>
> > > An: "OpenNI"
<openni-dev@googlegroups.> com>

> > > > Betreff: [OpenNI-
>
> > dev] Building on debian sid: undefined reference to
>
>
> > symbol &#39;glEnd&#39;
>
> > > > Trying to compile on
> > > > current
>
> > debian sid using ./RedistMaker
>
> > >
> Target: Linux-x86
>
> > > Version: 1.5.2.23
> > > > Num of compile jobs: 4
>
> > > > *
> > Building
> > > > OpenNI...

> > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> > > undefined reference to> symbol
>
> > 'glEnd'/usr/bin/ld:

note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
> > > > try
>
> > > adding it to the linker
>
> > command
line> /usr/lib/libGL.so.1: could not read> > symbols: Invalid operation
> > > > collect2: ld
>
> > > returned 1 exit
>

> > status> make[1]: *** [../../../Bin/x86-Release/Sample-> > NiSimpleViewer] Error 1
> > > > make: ***
>
> >
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
> > > > /usr/bin/ld: ./x86-Release/Draw.
o:
>
> > > undefined reference to symbol> 'glEnd'
> > > > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > > >
/usr/lib/libGL.so.1 so
>
> > > try
>
> > > adding it to the linker command line> /usr/lib/libGL.so.1: could not read
symbols: Invalid
> > > > operation
>
> > collect2: ld
>
> > > returned 1 exit status
>
> > > > make[1]: *** [../../..
/Bin/x86-Release/NiViewer] Error 1
> > > > make: ***
> > > > [Samples/NiViewer]
> > > Error 2
> > > > failed to
execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > > > Platform/Linux/CreateRedist/../Build
> > > >
/home/dreamer/Sources/kinect/


>
> > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt> > Building Failed!
>
> >
> > --
> > > > You received this message
> > because you
> > > > are subscribed to the Google Groups "OpenNI" group.
>
> > > To post to this group,
>
> > > send email to openni-
>
> > [hidden email].
>
> > > > To unsubscribe from
this group, send email to openni-
>
> > > [hidden email].
> > > For more options, visit this
> > > >
group athttp://groups.google.com/group/openni-dev?
>
> > > hl=en.
>
> > > --
> > > You received
>
> > this message
because you are subscribed to the Google Groups "OpenNI" group.> To post to this
> > > group, send email to
>
> >
[hidden email].
>
> > > To unsubscribe from this group, send email to openni-
> > >
dev+unsubscribe@googlegroups.
> > com.
> > > For more options, visit this group athttp://groups.google.com/group/openni-
dev?hl=en
.
>
> > --
> > You received this
> > message because you are subscribed to the Google Groups "OpenNI" group.
>
> To post to this group, send email to openni-
> > [hidden email].
> > To unsubscribe from this group, send email
to [hidden email].
> > For more
> > options, visit this group athttp://groups.google.
com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI"
group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to
[hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.


--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/P8kio5HAKW4J.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

Alexander
Btw, I see that in Samples/NiSimpleViewer/x86-Release/NiSimpleViewer.d there is uncluded /usr/include/GL/gl.h:
which actually provides: GLAPI void GLAPIENTRY glEnd( void );

So, I really have no idea what's going on :)


On Tuesday, 13 March 2012 09:39:34 UTC+1, Alexander wrote:
No, I'm definitely sure that I pulled the git repository correctly.
I actually tried a clean pull and I get the exact same result.


On Tuesday, 13 March 2012 09:05:10 UTC+1, nomad wrote:
hi (2)
its possible that you have the package (unstable or master) not correct install.... :-(
excuse my english

regards nomad

----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 12.03.2012 09:59
An: "OpenNI"<openni-
[hidden email]>
Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol &#39;glEnd&#39;


Btw, I get the same result with the master branch.


On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:
> You
mean I should grep through the entire openni source?
> Let me remind you: this is not 'my' code. It's the unstable
branch
> from github.
>
> I appreciate your help, but I still have no idea what to do with it.
>
> On Mar 12, 9:12 am,
"[hidden email]" <[hidden email]>


> wrote:
>
>
>
>
>
>
>
> > hi
> > look in your code
> > if you make a
>
> --> glPushMatrix();
> >      .....
>
> > >    this is wrong  glColor4f(1,1,1,1); float
>
> > (1.0f,1.0f,1.0f,1.0f)
>
>       .......
>
> >       -->    glBegin(GL_QUADS);
> >               ......
> >               ......
>
>
>              glEnd();  //THIS IS
> > -->  glPopMatrix()
>
> > hope its useful
> > regards nomad
>
> > ----
Ursprüngliche Nachricht----
>
> > Von: [hidden email]
> > Datum: 11.03.2012 12:49
> > An: "OpenNI"<openni-
[hidden email]>
> > Betreff: [OpenNI-dev] Re:
> > Building on debian sid: undefined reference to symbol &#39;
glEnd&#39;
>
> > I'm sorry, but I have no idea what to do with
> > your code.
>
> > Maybe I didn't mention this is from
latest unstable branch.

>
> > On Mar 11, 8:16 am, "[hidden email]"
> > <[hidden email]>
> > wrote:
>
> >
> i think its ev.
> > > this stuff on:
> > > PLEASE READ THIS:
>
> > > void glutDisplay (void)
> > > {
> >
>         XnStatus rc = XN_STATUS_OK;
>
> > >         // Read a
> > > new frame
> > >         rc = g_context.
WaitAnyUpdateAll();
> > >         if (rc != XN_STATUS_OK)
> > >         {
> > >                 printf("Read failed: %
s\n",
> > > xnGetStatusString(rc));
> > >                 return;
> > >         }
>
> > >         g_depth.GetMetaData
(g_depthMD);
> > >         g_image.GetMetaData
> > (g_imageMD);
> > >         const
> > > XnDepthPixel* pDepth =
g_depthMD.Data();
> > >         const XnUInt8* pImage = g_imageMD.
> > Data();
>
> > >         unsigned int nImageScale
=
> > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
> > >         // Copied from
> > SimpleViewer
> > >         // Clear
the OpenGL buffers
> > >         glClear
> > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> > >         // Setup
the OpenGL viewpoint
> > >         glMatrixMode(GL_PROJECTION);
>
> > > // here you
> > > make a
> > > ---
> >
>         glPushMatrix();
> > >            glLoadIdentity();
> > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y,
0, -1.0,

> > 1.0);
>
> > >           //
> > > Calculate the accumulative histogram (the yellow display...)
> >
>           HERE SOME STUFFF
> > >           .....
> > >           // Create the
> > > OpenGL texture map
> >
>           glTexParameteri(GL_TEXTURE_2D,
>
> > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
> > >
(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>
> > GL_LINEAR_MIPMAP_LINEAR);
>
> > >           glTexParameteri(GL_TEXTURE_2D,

> > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY,
0, GL_RGB,


> > > GL_UNSIGNED_BYTE, g_pTexMap);
>
> > >           // Display the OpenGL texture map
> >
>           glColor4f(1,1,1,1);
>
> > > -->    glBegin(GL_QUADS);
>
> > >       int nXRes = g_depthMD.FullXRes();
> >
>               int nYRes = g_depthMD.FullYRes();
>
> > >              // upper
> > left
>
> > >      glTexCoord2f(0,
0);
> > >              glVertex2f(0, 0);
> > >              // upper right
> > >              glTexCoord2f((float)nXRes/
(float)

> > > g_nTexMapX, 0);
> > >              glVertex2f(GL_WIN_SIZE_X, 0);
> > >              // bottom right
> >
>              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, (float)nYRes/(float)
> > g_nTexMapY);
> >
>              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> > >              // bottom left
>
> > > glTexCoord2f(0,
>
>
> (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0, GL_WIN_SIZE_Y);
>
> > >         glEnd();  //THIS IS
> >
> EV. THE
>
> > FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
> > > BUT YOU NO glPopMatrix()
> > >
------------------------
> > > regards
>
> > nomad
>
> > > --------------------------
>
> > > ----Ursprüngliche
Nachricht----
> > > Von: [hidden email]
> > > Datum: 10.03.2012
> > 14:
> > > 44
> > > An: "OpenNI"<openni-
[hidden email]>
> > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
> > reference to
> > > symbol
&#39;glEnd&#39;
>
> > > Yes, I have all the requirements installed (from the README).
> > > This was the
> > output of
the
> > > 'OpenNI/Platform/Linux/CreateRedist/
> > > RedistMaker' script.
>
> > > On Mar 10, 10:01 am, "stevenm...
>
>
> @bluewin.ch" <stevenm...> @bluewin.ch>
> > > wrote:> hi
> > > > have you opengl-headers and libs??? into
compileScript
> > RedistMaker ???
> > > > glEnd should be
> > > glEnd().....
> > > > regards nomad
>
> > > > ----
Ursprüngliche Nachricht----
> > > > Von:
>
> > [hidden email]> > Datum: 09.03.2012 23:51
>
> > > An: "OpenNI"
<openni-dev@googlegroups.> com>

> > > > Betreff: [OpenNI-
>
> > dev] Building on debian sid: undefined reference to
>
>
> > symbol &#39;glEnd&#39;
>
> > > > Trying to compile on
> > > > current
>
> > debian sid using ./RedistMaker
>
> > >
> Target: Linux-x86
>
> > > Version: 1.5.2.23
> > > > Num of compile jobs: 4
>
> > > > *
> > Building
> > > > OpenNI...

> > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> > > undefined reference to> symbol
>
> > 'glEnd'/usr/bin/ld:

note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
> > > > try
>
> > > adding it to the linker
>
> > command
line> /usr/lib/libGL.so.1: could not read> > symbols: Invalid operation
> > > > collect2: ld
>
> > > returned 1 exit
>

> > status> make[1]: *** [../../../Bin/x86-Release/Sample-> > NiSimpleViewer] Error 1
> > > > make: ***
>
> >
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
> > > > /usr/bin/ld: ./x86-Release/Draw.
o:
>
> > > undefined reference to symbol> 'glEnd'
> > > > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > > >
/usr/lib/libGL.so.1 so
>
> > > try
>
> > > adding it to the linker command line> /usr/lib/libGL.so.1: could not read
symbols: Invalid
> > > > operation
>
> > collect2: ld
>
> > > returned 1 exit status
>
> > > > make[1]: *** [../../..
/Bin/x86-Release/NiViewer] Error 1
> > > > make: ***
> > > > [Samples/NiViewer]
> > > Error 2
> > > > failed to
execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > > > Platform/Linux/CreateRedist/../Build
> > > >
/home/dreamer/Sources/kinect/


>
> > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt> > Building Failed!
>
> >
> > --
> > > > You received this message
> > because you
> > > > are subscribed to the Google Groups "OpenNI" group.
>
> > > To post to this group,
>
> > > send email to openni-
>
> > [hidden email].
>
> > > > To unsubscribe from
this group, send email to openni-
>
> > > [hidden email].
> > > For more options, visit this
> > > >
group athttp://groups.google.com/group/openni-dev?
>
> > > hl=en.
>
> > > --
> > > You received
>
> > this message
because you are subscribed to the Google Groups "OpenNI" group.> To post to this
> > > group, send email to
>
> >
[hidden email].
>
> > > To unsubscribe from this group, send email to openni-
> > >
dev+unsubscribe@googlegroups.
> > com.
> > > For more options, visit this group athttp://groups.google.com/group/openni-
dev?hl=en
.
>
> > --
> > You received this
> > message because you are subscribed to the Google Groups "OpenNI" group.
>
> To post to this group, send email to openni-
> > [hidden email].
> > To unsubscribe from this group, send email
to [hidden email].
> > For more
> > options, visit this group athttp://groups.google.
com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI"
group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to
[hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.


--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/mQU1ye7YGV4J.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

Alexander
In reply to this post by Dougoutigui Bayoh
1) how is this relevant to the topic?
2) why do you think I could help you?

Please start your own thread if you need help with OpenNI



On Tuesday, 13 March 2012 05:44:28 UTC+1, Bouba wrote:
Hello,
Can you help me get started on a project about motion sensing?

On Mon, Mar 12, 2012 at 4:59 AM, Alexander <[hidden email]> wrote:
Btw, I get the same result with the master branch.


On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:
> You mean I should grep through the entire openni source?
> Let me remind you: this is not 'my' code. It's the unstable branch
> from github.
>
> I appreciate your help, but I still have no idea what to do with it.
>
> On Mar 12, 9:12 am, "[hidden email]" <[hidden email]>
> wrote:
>
>
>
>
>
>
>
> > hi
> > look in your code
> > if you make a
> > --> glPushMatrix();
> >      .....
>
> > >    this is wrong  glColor4f(1,1,1,1); float
>
> > (1.0f,1.0f,1.0f,1.0f)
> >       .......
>
> >       -->    glBegin(GL_QUADS);
> >               ......
> >               ......
>
> >              glEnd();  //THIS IS
> > -->  glPopMatrix()
>
> > hope its useful
> > regards nomad
>
> > ----Ursprüngliche Nachricht----
>
> > Von: [hidden email]
> > Datum: 11.03.2012 12:49
> > An: "OpenNI"<[hidden email]>
> > Betreff: [OpenNI-dev] Re:
> > Building on debian sid: undefined reference to symbol &#39;glEnd&#39;
>
> > I'm sorry, but I have no idea what to do with
> > your code.
>
> > Maybe I didn't mention this is from latest unstable branch.
>
> > On Mar 11, 8:16 am, "[hidden email]"
> > <[hidden email]>
> > wrote:
>
> > > i think its ev.
> > > this stuff on:
> > > PLEASE READ THIS:
>
> > > void glutDisplay (void)
> > > {
> > >         XnStatus rc = XN_STATUS_OK;
>
> > >         // Read a
> > > new frame
> > >         rc = g_context.WaitAnyUpdateAll();
> > >         if (rc != XN_STATUS_OK)
> > >         {
> > >                 printf("Read failed: %s\n",
> > > xnGetStatusString(rc));
> > >                 return;
> > >         }
>
> > >         g_depth.GetMetaData(g_depthMD);
> > >         g_image.GetMetaData
> > (g_imageMD);
> > >         const
> > > XnDepthPixel* pDepth = g_depthMD.Data();
> > >         const XnUInt8* pImage = g_imageMD.
> > Data();
>
> > >         unsigned int nImageScale =
> > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
> > >         // Copied from
> > SimpleViewer
> > >         // Clear the OpenGL buffers
> > >         glClear
> > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> > >         // Setup the OpenGL viewpoint
> > >         glMatrixMode(GL_PROJECTION);
>
> > > // here you
> > > make a
> > > ---
> > >         glPushMatrix();
> > >            glLoadIdentity();
> > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y, 0, -1.0,
> > 1.0);
>
> > >           //
> > > Calculate the accumulative histogram (the yellow display...)
> > >           HERE SOME STUFFF
> > >           .....
> > >           // Create the
> > > OpenGL texture map
> > >           glTexParameteri(GL_TEXTURE_2D,
>
> > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
> > > (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>
> > GL_LINEAR_MIPMAP_LINEAR);
>
> > >           glTexParameteri(GL_TEXTURE_2D,
> > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY, 0, GL_RGB,
> > > GL_UNSIGNED_BYTE, g_pTexMap);
>
> > >           // Display the OpenGL texture map
> > >           glColor4f(1,1,1,1);
>
> > > -->    glBegin(GL_QUADS);
>
> > >       int nXRes = g_depthMD.FullXRes();
> > >               int nYRes = g_depthMD.FullYRes();
>
> > >              // upper
> > left
>
> > >      glTexCoord2f(0, 0);
> > >              glVertex2f(0, 0);
> > >              // upper right
> > >              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, 0);
> > >              glVertex2f(GL_WIN_SIZE_X, 0);
> > >              // bottom right
> > >              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, (float)nYRes/(float)
> > g_nTexMapY);
> > >              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> > >              // bottom left
>
> > > glTexCoord2f(0,
>
> > (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0, GL_WIN_SIZE_Y);
>
> > >         glEnd();  //THIS IS
> > > EV. THE
>
> > FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
> > > BUT YOU NO glPopMatrix()
> > > ------------------------
> > > regards
>
> > nomad
>
> > > --------------------------
>
> > > ----Ursprüngliche Nachricht----
> > > Von: [hidden email]
> > > Datum: 10.03.2012
> > 14:
> > > 44
> > > An: "OpenNI"<[hidden email]>
> > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
> > reference to
> > > symbol &#39;glEnd&#39;
>
> > > Yes, I have all the requirements installed (from the README).
> > > This was the
> > output of the
> > > 'OpenNI/Platform/Linux/CreateRedist/
> > > RedistMaker' script.
>
> > > On Mar 10, 10:01 am, "stevenm...
>
> > @bluewin.ch" <stevenm...> @bluewin.ch>
> > > wrote:> hi
> > > > have you opengl-headers and libs??? into compileScript
> > RedistMaker ???
> > > > glEnd should be
> > > glEnd().....
> > > > regards nomad
>
> > > > ----Ursprüngliche Nachricht----
> > > > Von:
>
> > [hidden email]> > Datum: 09.03.2012 23:51
>
> > > An: "OpenNI"<openni-dev@googlegroups.> com>
> > > > Betreff: [OpenNI-
>
> > dev] Building on debian sid: undefined reference to
>
> > > symbol &#39;glEnd&#39;
>
> > > > Trying to compile on
> > > > current
>
> > debian sid using ./RedistMaker
>
> > > > Target: Linux-x86
>
> > > Version: 1.5.2.23
> > > > Num of compile jobs: 4
>
> > > > *
> > Building
> > > > OpenNI...
> > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> > > undefined reference to> symbol
>
> > 'glEnd'/usr/bin/ld: note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
> > > > try
>
> > > adding it to the linker
>
> > command line> /usr/lib/libGL.so.1: could not read> > symbols: Invalid operation
> > > > collect2: ld
>
> > > returned 1 exit
>
> > status> make[1]: *** [../../../Bin/x86-Release/Sample-> > NiSimpleViewer] Error 1
> > > > make: ***
>
> > [Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
> > > > /usr/bin/ld: ./x86-Release/Draw.o:
>
> > > undefined reference to symbol> 'glEnd'
> > > > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > > > /usr/lib/libGL.so.1 so
>
> > > try
>
> > > adding it to the linker command line> /usr/lib/libGL.so.1: could not read symbols: Invalid
> > > > operation
>
> > collect2: ld
>
> > > returned 1 exit status
>
> > > > make[1]: *** [../../../Bin/x86-Release/NiViewer] Error 1
> > > > make: ***
> > > > [Samples/NiViewer]
> > > Error 2
> > > > failed to execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > > > Platform/Linux/CreateRedist/../Build
> > > > /home/dreamer/Sources/kinect/
>
> > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt> > Building Failed!
>
> > > > --
> > > > You received this message
> > because you
> > > > are subscribed to the Google Groups "OpenNI" group.
> > > > To post to this group,
>
> > > send email to openni-
>
> > [hidden email].
>
> > > > To unsubscribe from this group, send email to openni-
>
> > > [hidden email].
> > > For more options, visit this
> > > > group athttp://groups.google.com/group/openni-dev?
>
> > > hl=en.
>
> > > --
> > > You received
>
> > this message because you are subscribed to the Google Groups "OpenNI" group.> To post to this
> > > group, send email to
>
> > [hidden email].
>
> > > To unsubscribe from this group, send email to openni-
> > > dev+unsubscribe@googlegroups.
> > com.
> > > For more options, visit this group athttp://groups.google.com/group/openni-dev?hl=en.
>
> > --
> > You received this
> > message because you are subscribed to the Google Groups "OpenNI" group.
> > To post to this group, send email to openni-
> > [hidden email].
> > To unsubscribe from this group, send email to [hidden email].
> > For more
> > options, visit this group athttp://groups.google.com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.


--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/abt2IiR7bREJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

stevenmorf@bluewin.ch
In reply to this post by Alexander
hi
you must on your compile included opengl.
you can do that
example:
g++ -o niGestureX020 SceneDrawerX22.cpp niGestureX020.cpp -I/usr/include/GL -I/usr/include/ni -l'OpenNI' -l'glut' -lglut -lGLU -lGL
niGestureX020.cpp change to your program-name.
regards nomad




Btw, I see that in Samples/NiSimpleViewer/x86-Release/NiSimpleViewer.d there is uncluded /usr/include/GL/gl.h:
which actually provides: GLAPI void GLAPIENTRY glEnd( void );

So, I really have no idea what's going on :)


On Tuesday, 13 March 2012 09:39:34 UTC+1, Alexander wrote:
No, I'm definitely sure that I pulled the git repository correctly.
I actually tried a clean pull and I get the exact same result.


On Tuesday, 13 March 2012 09:05:10 UTC+1, nomad wrote:
hi (2)
its possible that you have the package (unstable or master) not correct install.... :-(
excuse my english

regards nomad

----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 12.03.2012 09:59
An: "OpenNI"[hidden email]>
Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'


Btw, I get the same result with the master branch.


On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:
> You
mean I should grep through the entire openni source?
> Let me remind you: this is not 'my' code. It's the unstable
branch
> from github.
>
> I appreciate your help, but I still have no idea what to do with it.
>
> On Mar 12, 9:12 am,
"[hidden email]" <[hidden email]>


> wrote:
>
>
>
>
>
>
>
> > hi
> > look in your code
> > if you make a
>
> glPushMatrix();
> >      .....
>
> > >    this is wrong  glColor4f(1,1,1,1); float
>
> > (1.0f,1.0f,1.0f,1.0f)
>
>       .......
>
> >          glBegin(GL_QUADS);
> >               ......
> >               ......
>
>
>              glEnd();  //THIS IS
> >  glPopMatrix()
>
> > hope its useful
> > regards nomad
>
> > ----
Ursprüngliche Nachricht----
>
> > Von: [hidden email]
> > Datum: 11.03.2012 12:49
> > An: "OpenNI"[hidden email]>
> > Betreff: [OpenNI-dev] Re:
> > Building on debian sid: undefined reference to symbol '
glEnd'
>
> > I'm sorry, but I have no idea what to do with
> > your code.
>
> > Maybe I didn't mention this is from
latest unstable branch.

>
> > On Mar 11, 8:16 am, "[hidden email]"
> ><[hidden email]>
> > wrote:
>
> >
> i think its ev.
> > > this stuff on:
> > > PLEASE READ THIS:
>
> > > void glutDisplay (void)
> > > {
> >
>         XnStatus rc = XN_STATUS_OK;
>
> > >         // Read a
> > > new frame
> > >         rc = g_context.
WaitAnyUpdateAll();
> > >         if (rc != XN_STATUS_OK)
> > >         {
> > >                 printf("Read failed: %
s\n",
> > > xnGetStatusString(rc));
> > >                 return;
> > >         }
>
> > >         g_depth.GetMetaData
(g_depthMD);
> > >         g_image.GetMetaData
> > (g_imageMD);
> > >         const
> > > XnDepthPixel* pDepth =
g_depthMD.Data();
> > >         const XnUInt8* pImage = g_imageMD.
> > Data();
>
> > >         unsigned int nImageScale
=
> > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
> > >         // Copied from
> > SimpleViewer
> > >         // Clear
the OpenGL buffers
> > >         glClear
> > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> > >         // Setup
the OpenGL viewpoint
> > >         glMatrixMode(GL_PROJECTION);
>
> > > // here you
> > > make a
> > > ---
> >
>         glPushMatrix();
> > >            glLoadIdentity();
> > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y,
0, -1.0,

> > 1.0);
>
> > >           //
> > > Calculate the accumulative histogram (the yellow display...)
> >
>           HERE SOME STUFFF
> > >           .....
> > >           // Create the
> > > OpenGL texture map
> >
>           glTexParameteri(GL_TEXTURE_2D,
>
> > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
> > >
(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>
> > GL_LINEAR_MIPMAP_LINEAR);
>
> > >           glTexParameteri(GL_TEXTURE_2D,

> > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY,
0, GL_RGB,


> > > GL_UNSIGNED_BYTE, g_pTexMap);
>
> > >           // Display the OpenGL texture map
> >
>           glColor4f(1,1,1,1);
>
> > >    glBegin(GL_QUADS);
>
> > >       int nXRes = g_depthMD.FullXRes();
> >
>               int nYRes = g_depthMD.FullYRes();
>
> > >              // upper
> > left
>
> > >      glTexCoord2f(0,
0);
> > >              glVertex2f(0, 0);
> > >              // upper right
> > >              glTexCoord2f((float)nXRes/
(float)

> > > g_nTexMapX, 0);
> > >              glVertex2f(GL_WIN_SIZE_X, 0);
> > >              // bottom right
> >
>              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, (float)nYRes/(float)
> > g_nTexMapY);
> >
>              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> > >              // bottom left
>
> > > glTexCoord2f(0,
>
>
> (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0, GL_WIN_SIZE_Y);
>
> > >         glEnd();  //THIS IS
> >
> EV. THE
>
> > FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
> > > BUT YOU NO glPopMatrix()
> > >
------------------------
> > > regards
>
> > nomad
>
> > > --------------------------
>
> > > ----Ursprüngliche
Nachricht----
> > > Von: [hidden email]
> > > Datum: 10.03.2012
> > 14:
> > > 44
> > > An: "OpenNI"[hidden email]>
> > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
> > reference to
> > > symbol
'glEnd'
>
> > > Yes, I have all the requirements installed (from the README).
> > > This was the
> > output of
the
> > > 'OpenNI/Platform/Linux/CreateRedist/
> > > RedistMaker' script.
>
> > > On Mar 10, 10:01 am, "stevenm...
>
>
> @bluewin.ch" @bluewin.ch>
> > > wrote:> hi
> > > > have you opengl-headers and libs??? into
compileScript
> > RedistMaker ???
> > > > glEnd should be
> > > glEnd().....
> > > > regards nomad
>
> > > > ----
Ursprüngliche Nachricht----
> > > > Von:
>
> >[hidden email]> > Datum: 09.03.2012 23:51
>
> > > An: "OpenNI"
com>

> > > > Betreff: [OpenNI-
>
> > dev] Building on debian sid: undefined reference to
>
>
> > symbol 'glEnd'
>
> > > > Trying to compile on
> > > > current
>
> > debian sid using ./RedistMaker
>
> > >
> Target: Linux-x86
>
> > > Version: 1.5.2.23
> > > > Num of compile jobs: 4
>
> > > > *
> > Building
> > > > OpenNI...

> > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> > > undefined reference to> symbol
>
> > 'glEnd'/usr/bin/ld:

note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
> > > > try
>
> > > adding it to the linker
>
> > command
line> /usr/lib/libGL.so.1: could not read> > symbols: Invalid operation
> > > > collect2: ld
>
> > > returned 1 exit
>

> > status> make[1]: *** [../../../Bin/x86-Release/Sample-> > NiSimpleViewer] Error 1
> > > > make: ***
>
> >
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
> > > > /usr/bin/ld: ./x86-Release/Draw.
o:
>
> > > undefined reference to symbol> 'glEnd'
> > > > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > > >
/usr/lib/libGL.so.1 so
>
> > > try
>
> > > adding it to the linker command line> /usr/lib/libGL.so.1: could not read
symbols: Invalid
> > > > operation
>
> > collect2: ld
>
> > > returned 1 exit status
>
> > > > make[1]: *** [../../..
/Bin/x86-Release/NiViewer] Error 1
> > > > make: ***
> > > > [Samples/NiViewer]
> > > Error 2
> > > > failed to
execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > > > Platform/Linux/CreateRedist/../Build
> > > >
/home/dreamer/Sources/kinect/


>
> > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt> > Building Failed!
>
> >
> > --
> > > > You received this message
> > because you
> > > > are subscribed to the Google Groups "OpenNI" group.
>
> > > To post to this group,
>
> > > send email to openni-
>
> >[hidden email].
>
> > > > To unsubscribe from
this group, send email to openni-
>
> > >[hidden email].
> > > For more options, visit this
> > > >
group athttp://groups.google.com/group/openni-dev?
>
> > > hl=en.
>
> > > --
> > > You received
>
> > this message
because you are subscribed to the Google Groups "OpenNI" group.> To post to this
> > > group, send email to
>
> >
[hidden email].
>
> > > To unsubscribe from this group, send email to openni-
> > >
dev+unsubscribe@googlegroups.
> > com.
> > > For more options, visit this group athttp://groups.google.com/group/openni-
dev?hl=en
.
>
> > --
> > You received this
> > message because you are subscribed to the Google Groups "OpenNI" group.
>
> To post to this group, send email to openni-
> >[hidden email].
> > To unsubscribe from this group, send email
to [hidden email].
> > For more
> > options, visit this group athttp://groups.google.
com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI"
group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to
[hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.


--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

Alexander
But how do I do that using the RedistMaker script?


On Wednesday, 14 March 2012 09:35:28 UTC+1, nomad wrote:
hi
you must on your compile included opengl.
you can do that
example:
g++ -o niGestureX020 SceneDrawerX22.cpp niGestureX020.cpp -I/usr/include/GL -I/usr/include/ni -l'OpenNI' -l'glut' -lglut -lGLU -lGL
niGestureX020.cpp change to your program-name.
regards nomad




Btw, I see that in Samples/NiSimpleViewer/x86-Release/NiSimpleViewer.d there is uncluded /usr/include/GL/gl.h:
which actually provides: GLAPI void GLAPIENTRY glEnd( void );

So, I really have no idea what's going on :)


On Tuesday, 13 March 2012 09:39:34 UTC+1, Alexander wrote:
No, I'm definitely sure that I pulled the git repository correctly.
I actually tried a clean pull and I get the exact same result.


On Tuesday, 13 March 2012 09:05:10 UTC+1, nomad wrote:
hi (2)
its possible that you have the package (unstable or master) not correct install.... :-(
excuse my english

regards nomad

----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 12.03.2012 09:59
An: "OpenNI"[hidden email]>
Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'


Btw, I get the same result with the master branch.


On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:
> You
mean I should grep through the entire openni source?
> Let me remind you: this is not 'my' code. It's the unstable
branch
> from github.
>
> I appreciate your help, but I still have no idea what to do with it.
>
> On Mar 12, 9:12 am,
"[hidden email]" <[hidden email]>


> wrote:
>
>
>
>
>
>
>
> > hi
> > look in your code
> > if you make a
>
> glPushMatrix();
> >      .....
>
> > >    this is wrong  glColor4f(1,1,1,1); float
>
> > (1.0f,1.0f,1.0f,1.0f)
>
>       .......
>
> >          glBegin(GL_QUADS);
> >               ......
> >               ......
>
>
>              glEnd();  //THIS IS
> >  glPopMatrix()
>
> > hope its useful
> > regards nomad
>
> > ----
Ursprüngliche Nachricht----
>
> > Von: [hidden email]
> > Datum: 11.03.2012 12:49
> > An: "OpenNI"[hidden email]>
> > Betreff: [OpenNI-dev] Re:
> > Building on debian sid: undefined reference to symbol '
glEnd'
>
> > I'm sorry, but I have no idea what to do with
> > your code.
>
> > Maybe I didn't mention this is from
latest unstable branch.

>
> > On Mar 11, 8:16 am, "[hidden email]"
> ><[hidden email]>
> > wrote:
>
> >
> i think its ev.
> > > this stuff on:
> > > PLEASE READ THIS:
>
> > > void glutDisplay (void)
> > > {
> >
>         XnStatus rc = XN_STATUS_OK;
>
> > >         // Read a
> > > new frame
> > >         rc = g_context.
WaitAnyUpdateAll();
> > >         if (rc != XN_STATUS_OK)
> > >         {
> > >                 printf("Read failed: %
s\n",
> > > xnGetStatusString(rc));
> > >                 return;
> > >         }
>
> > >         g_depth.GetMetaData
(g_depthMD);
> > >         g_image.GetMetaData
> > (g_imageMD);
> > >         const
> > > XnDepthPixel* pDepth =
g_depthMD.Data();
> > >         const XnUInt8* pImage = g_imageMD.
> > Data();
>
> > >         unsigned int nImageScale
=
> > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
> > >         // Copied from
> > SimpleViewer
> > >         // Clear
the OpenGL buffers
> > >         glClear
> > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> > >         // Setup
the OpenGL viewpoint
> > >         glMatrixMode(GL_PROJECTION);
>
> > > // here you
> > > make a
> > > ---
> >
>         glPushMatrix();
> > >            glLoadIdentity();
> > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y,
0, -1.0,

> > 1.0);
>
> > >           //
> > > Calculate the accumulative histogram (the yellow display...)
> >
>           HERE SOME STUFFF
> > >           .....
> > >           // Create the
> > > OpenGL texture map
> >
>           glTexParameteri(GL_TEXTURE_2D,
>
> > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
> > >
(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>
> > GL_LINEAR_MIPMAP_LINEAR);
>
> > >           glTexParameteri(GL_TEXTURE_2D,

> > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY,
0, GL_RGB,


> > > GL_UNSIGNED_BYTE, g_pTexMap);
>
> > >           // Display the OpenGL texture map
> >
>           glColor4f(1,1,1,1);
>
> > >    glBegin(GL_QUADS);
>
> > >       int nXRes = g_depthMD.FullXRes();
> >
>               int nYRes = g_depthMD.FullYRes();
>
> > >              // upper
> > left
>
> > >      glTexCoord2f(0,
0);
> > >              glVertex2f(0, 0);
> > >              // upper right
> > >              glTexCoord2f((float)nXRes/
(float)

> > > g_nTexMapX, 0);
> > >              glVertex2f(GL_WIN_SIZE_X, 0);
> > >              // bottom right
> >
>              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, (float)nYRes/(float)
> > g_nTexMapY);
> >
>              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> > >              // bottom left
>
> > > glTexCoord2f(0,
>
>
> (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0, GL_WIN_SIZE_Y);
>
> > >         glEnd();  //THIS IS
> >
> EV. THE
>
> > FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
> > > BUT YOU NO glPopMatrix()
> > >
------------------------
> > > regards
>
> > nomad
>
> > > --------------------------
>
> > > ----Ursprüngliche
Nachricht----
> > > Von: [hidden email]
> > > Datum: 10.03.2012
> > 14:
> > > 44
> > > An: "OpenNI"[hidden email]>
> > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
> > reference to
> > > symbol
'glEnd'
>
> > > Yes, I have all the requirements installed (from the README).
> > > This was the
> > output of
the
> > > 'OpenNI/Platform/Linux/CreateRedist/
> > > RedistMaker' script.
>
> > > On Mar 10, 10:01 am, "stevenm...
>
>
> @bluewin.ch" @bluewin.ch>
> > > wrote:> hi
> > > > have you opengl-headers and libs??? into
compileScript
> > RedistMaker ???
> > > > glEnd should be
> > > glEnd().....
> > > > regards nomad
>
> > > > ----
Ursprüngliche Nachricht----
> > > > Von:
>
> >[hidden email]> > Datum: 09.03.2012 23:51
>
> > > An: "OpenNI"
com>

> > > > Betreff: [OpenNI-
>
> > dev] Building on debian sid: undefined reference to
>
>
> > symbol 'glEnd'
>
> > > > Trying to compile on
> > > > current
>
> > debian sid using ./RedistMaker
>
> > >
> Target: Linux-x86
>
> > > Version: 1.5.2.23
> > > > Num of compile jobs: 4
>
> > > > *
> > Building
> > > > OpenNI...

> > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> > > undefined reference to> symbol
>
> > 'glEnd'/usr/bin/ld:

note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
> > > > try
>
> > > adding it to the linker
>
> > command
line> /usr/lib/libGL.so.1: could not read> > symbols: Invalid operation
> > > > collect2: ld
>
> > > returned 1 exit
>

> > status> make[1]: *** [../../../Bin/x86-Release/Sample-> > NiSimpleViewer] Error 1
> > > > make: ***
>
> >
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
> > > > /usr/bin/ld: ./x86-Release/Draw.
o:
>
> > > undefined reference to symbol> 'glEnd'
> > > > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > > >
/usr/lib/libGL.so.1 so
>
> > > try
>
> > > adding it to the linker command line> /usr/lib/libGL.so.1: could not read
symbols: Invalid
> > > > operation
>
> > collect2: ld
>
> > > returned 1 exit status
>
> > > > make[1]: *** [../../..
/Bin/x86-Release/NiViewer] Error 1
> > > > make: ***
> > > > [Samples/NiViewer]
> > > Error 2
> > > > failed to
execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > > > Platform/Linux/CreateRedist/../Build
> > > >
/home/dreamer/Sources/kinect/


>
> > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt> > Building Failed!
>
> >
> > --
> > > > You received this message
> > because you
> > > > are subscribed to the Google Groups "OpenNI" group.
>
> > > To post to this group,
>
> > > send email to openni-
>
> >[hidden email].
>
> > > > To unsubscribe from
this group, send email to openni-
>
> > >[hidden email].
> > > For more options, visit this
> > > >
group athttp://groups.google.com/group/openni-dev?
>
> > > hl=en.
>
> > > --
> > > You received
>
> > this message
because you are subscribed to the Google Groups "OpenNI" group.> To post to this
> > > group, send email to
>
> >
[hidden email].
>
> > > To unsubscribe from this group, send email to openni-
> > >
dev+unsubscribe@googlegroups.
> > com.
> > > For more options, visit this group athttp://groups.google.com/group/openni-
dev?hl=en
.
>
> > --
> > You received this
> > message because you are subscribed to the Google Groups "OpenNI" group.
>
> To post to this group, send email to openni-
> >[hidden email].
> > To unsubscribe from this group, send email
to [hidden email].
> > For more
> > options, visit this group athttp://groups.google.
com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI"
group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to
[hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.



On Wednesday, 14 March 2012 09:35:28 UTC+1, nomad wrote:
hi
you must on your compile included opengl.
you can do that
example:
g++ -o niGestureX020 SceneDrawerX22.cpp niGestureX020.cpp -I/usr/include/GL -I/usr/include/ni -l'OpenNI' -l'glut' -lglut -lGLU -lGL
niGestureX020.cpp change to your program-name.
regards nomad




Btw, I see that in Samples/NiSimpleViewer/x86-Release/NiSimpleViewer.d there is uncluded /usr/include/GL/gl.h:
which actually provides: GLAPI void GLAPIENTRY glEnd( void );

So, I really have no idea what's going on :)


On Tuesday, 13 March 2012 09:39:34 UTC+1, Alexander wrote:
No, I'm definitely sure that I pulled the git repository correctly.
I actually tried a clean pull and I get the exact same result.


On Tuesday, 13 March 2012 09:05:10 UTC+1, nomad wrote:
hi (2)
its possible that you have the package (unstable or master) not correct install.... :-(
excuse my english

regards nomad

----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 12.03.2012 09:59
An: "OpenNI"[hidden email]>
Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'


Btw, I get the same result with the master branch.


On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:
> You
mean I should grep through the entire openni source?
> Let me remind you: this is not 'my' code. It's the unstable
branch
> from github.
>
> I appreciate your help, but I still have no idea what to do with it.
>
> On Mar 12, 9:12 am,
"[hidden email]" <[hidden email]>


> wrote:
>
>
>
>
>
>
>
> > hi
> > look in your code
> > if you make a
>
> glPushMatrix();
> >      .....
>
> > >    this is wrong  glColor4f(1,1,1,1); float
>
> > (1.0f,1.0f,1.0f,1.0f)
>
>       .......
>
> >          glBegin(GL_QUADS);
> >               ......
> >               ......
>
>
>              glEnd();  //THIS IS
> >  glPopMatrix()
>
> > hope its useful
> > regards nomad
>
> > ----
Ursprüngliche Nachricht----
>
> > Von: [hidden email]
> > Datum: 11.03.2012 12:49
> > An: "OpenNI"[hidden email]>
> > Betreff: [OpenNI-dev] Re:
> > Building on debian sid: undefined reference to symbol '
glEnd'
>
> > I'm sorry, but I have no idea what to do with
> > your code.
>
> > Maybe I didn't mention this is from
latest unstable branch.

>
> > On Mar 11, 8:16 am, "[hidden email]"
> ><[hidden email]>
> > wrote:
>
> >
> i think its ev.
> > > this stuff on:
> > > PLEASE READ THIS:
>
> > > void glutDisplay (void)
> > > {
> >
>         XnStatus rc = XN_STATUS_OK;
>
> > >         // Read a
> > > new frame
> > >         rc = g_context.
WaitAnyUpdateAll();
> > >         if (rc != XN_STATUS_OK)
> > >         {
> > >                 printf("Read failed: %
s\n",
> > > xnGetStatusString(rc));
> > >                 return;
> > >         }
>
> > >         g_depth.GetMetaData
(g_depthMD);
> > >         g_image.GetMetaData
> > (g_imageMD);
> > >         const
> > > XnDepthPixel* pDepth =
g_depthMD.Data();
> > >         const XnUInt8* pImage = g_imageMD.
> > Data();
>
> > >         unsigned int nImageScale
=
> > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>
> > >         // Copied from
> > SimpleViewer
> > >         // Clear
the OpenGL buffers
> > >         glClear
> > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>
> > >         // Setup
the OpenGL viewpoint
> > >         glMatrixMode(GL_PROJECTION);
>
> > > // here you
> > > make a
> > > ---
> >
>         glPushMatrix();
> > >            glLoadIdentity();
> > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y,
0, -1.0,

> > 1.0);
>
> > >           //
> > > Calculate the accumulative histogram (the yellow display...)
> >
>           HERE SOME STUFFF
> > >           .....
> > >           // Create the
> > > OpenGL texture map
> >
>           glTexParameteri(GL_TEXTURE_2D,
>
> > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
> > >
(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>
> > GL_LINEAR_MIPMAP_LINEAR);
>
> > >           glTexParameteri(GL_TEXTURE_2D,

> > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX, g_nTexMapY,
0, GL_RGB,


> > > GL_UNSIGNED_BYTE, g_pTexMap);
>
> > >           // Display the OpenGL texture map
> >
>           glColor4f(1,1,1,1);
>
> > >    glBegin(GL_QUADS);
>
> > >       int nXRes = g_depthMD.FullXRes();
> >
>               int nYRes = g_depthMD.FullYRes();
>
> > >              // upper
> > left
>
> > >      glTexCoord2f(0,
0);
> > >              glVertex2f(0, 0);
> > >              // upper right
> > >              glTexCoord2f((float)nXRes/
(float)

> > > g_nTexMapX, 0);
> > >              glVertex2f(GL_WIN_SIZE_X, 0);
> > >              // bottom right
> >
>              glTexCoord2f((float)nXRes/(float)
> > > g_nTexMapX, (float)nYRes/(float)
> > g_nTexMapY);
> >
>              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> > >              // bottom left
>
> > > glTexCoord2f(0,
>
>
> (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0, GL_WIN_SIZE_Y);
>
> > >         glEnd();  //THIS IS
> >
> EV. THE
>
> > FAILURE ITS CORRESPONDED WITH glBegin(GL_QUAD);
>
> > > BUT YOU NO glPopMatrix()
> > >
------------------------
> > > regards
>
> > nomad
>
> > > --------------------------
>
> > > ----Ursprüngliche
Nachricht----
> > > Von: [hidden email]
> > > Datum: 10.03.2012
> > 14:
> > > 44
> > > An: "OpenNI"[hidden email]>
> > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
> > reference to
> > > symbol
'glEnd'
>
> > > Yes, I have all the requirements installed (from the README).
> > > This was the
> > output of
the
> > > 'OpenNI/Platform/Linux/CreateRedist/
> > > RedistMaker' script.
>
> > > On Mar 10, 10:01 am, "stevenm...
>
>
> @bluewin.ch" @bluewin.ch>
> > > wrote:> hi
> > > > have you opengl-headers and libs??? into
compileScript
> > RedistMaker ???
> > > > glEnd should be
> > > glEnd().....
> > > > regards nomad
>
> > > > ----
Ursprüngliche Nachricht----
> > > > Von:
>
> >[hidden email]> > Datum: 09.03.2012 23:51
>
> > > An: "OpenNI"
com>

> > > > Betreff: [OpenNI-
>
> > dev] Building on debian sid: undefined reference to
>
>
> > symbol 'glEnd'
>
> > > > Trying to compile on
> > > > current
>
> > debian sid using ./RedistMaker
>
> > >
> Target: Linux-x86
>
> > > Version: 1.5.2.23
> > > > Num of compile jobs: 4
>
> > > > *
> > Building
> > > > OpenNI...

> > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>
> > > undefined reference to> symbol
>
> > 'glEnd'/usr/bin/ld:

note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
> > > > try
>
> > > adding it to the linker
>
> > command
line> /usr/lib/libGL.so.1: could not read> > symbols: Invalid operation
> > > > collect2: ld
>
> > > returned 1 exit
>

> > status> make[1]: *** [../../../Bin/x86-Release/Sample-> > NiSimpleViewer] Error 1
> > > > make: ***
>
> >
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished jobs....
>
> > > > /usr/bin/ld: ./x86-Release/Draw.
o:
>
> > > undefined reference to symbol> 'glEnd'
> > > > /usr/bin/ld: note: 'glEnd' is defined in DSO
> > > >
/usr/lib/libGL.so.1 so
>
> > > try
>
> > > adding it to the linker command line> /usr/lib/libGL.so.1: could not read
symbols: Invalid
> > > > operation
>
> > collect2: ld
>
> > > returned 1 exit status
>
> > > > make[1]: *** [../../..
/Bin/x86-Release/NiViewer] Error 1
> > > > make: ***
> > > > [Samples/NiViewer]
> > > Error 2
> > > > failed to
execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>
> > > > Platform/Linux/CreateRedist/../Build
> > > >
/home/dreamer/Sources/kinect/


>
> > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt> > Building Failed!
>
> >
> > --
> > > > You received this message
> > because you
> > > > are subscribed to the Google Groups "OpenNI" group.
>
> > > To post to this group,
>
> > > send email to openni-
>
> >[hidden email].
>
> > > > To unsubscribe from
this group, send email to openni-
>
> > >[hidden email].
> > > For more options, visit this
> > > >
group athttp://groups.google.com/group/openni-dev?
>
> > > hl=en.
>
> > > --
> > > You received
>
> > this message
because you are subscribed to the Google Groups "OpenNI" group.> To post to this
> > > group, send email to
>
> >
[hidden email].
>
> > > To unsubscribe from this group, send email to openni-
> > >
dev+unsubscribe@googlegroups.
> > com.
> > > For more options, visit this group athttp://groups.google.com/group/openni-
dev?hl=en
.
>
> > --
> > You received this
> > message because you are subscribed to the Google Groups "OpenNI" group.
>
> To post to this group, send email to openni-
> >[hidden email].
> > To unsubscribe from this group, send email
to [hidden email].
> > For more
> > options, visit this group athttp://groups.google.
com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI"
group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to
[hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.


--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/UU7EzSoaGzAJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AW: Re: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

stevenmorf@bluewin.ch
hi
if you have a source-code of your program...
then make a experiment with my compile
if not : i dont know what you
then doing
excuse
regards nomad

----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 14.03.2012 10:09
An:
<[hidden email]>
Kopie: <[hidden email]>
Betreff: Re: [OpenNI-dev] Re: Building on debian sid:
undefined reference to symbol &#39;glEnd&#39;

But how do I do that using the RedistMaker script?


On Wednesday, 14
March 2012 09:35:28 UTC+1, nomad wrote:
>
>  hi
> you must on your compile included opengl.
> you can do that
>
example:
> g++ -o niGestureX020 SceneDrawerX22.cpp niGestureX020.cpp
> -I/usr/include/GL -I/usr/include/ni -l'OpenNI' -
l'glut' -lglut -lGLU -lGL
> niGestureX020.cpp change to your program-name.
> regards nomad
>
>
>
>
> Btw, I see that
in Samples/NiSimpleViewer/x86-Release/NiSimpleViewer.d
> there is uncluded /usr/include/GL/gl.h:
> which actually
provides: GLAPI void GLAPIENTRY glEnd( void );
>
> So, I really have no idea what's going on :)
>
>
> On Tuesday, 13
March 2012 09:39:34 UTC+1, Alexander wrote:
>>
>> No, I'm definitely sure that I pulled the git repository correctly.

>> I actually tried a clean pull and I get the exact same result.
>>
>>
>> On Tuesday, 13 March 2012 09:05:10 UTC+1,
nomad wrote:
>>>
>>> hi (2)
>>> its possible that you have the package (unstable or master) not correct
>>>
install.... :-(
>>> excuse my english
>>>
>>> regards nomad
>>>
>>> ----Ursprüngliche Nachricht----
>>> Von:
[hidden email]
>>> Datum: 12.03.2012 09:59
>>> An: "OpenNI"[hidden email]>
>>> Betreff: [OpenNI-dev] Re:
Building on debian sid: undefined reference to
>>> symbol 'glEnd'
>>>
>>>
>>> Btw, I get the same result with the
master branch.
>>>
>>>
>>> On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:
>>> > You
>>> mean I should grep
through the entire openni source?
>>> > Let me remind you: this is not 'my' code. It's the unstable
>>> branch
>>> >
from github.
>>> >
>>> > I appreciate your help, but I still have no idea what to do with it.
>>> >
>>> > On Mar 12, 9:
12 am,

>>> "[hidden email]" <[hidden email]>
>>> > wrote:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
> > hi
>>> > > look in your code
>>> > > if you make a
>>> >
>>> > glPushMatrix();
>>> > >      .....
>>> >
>>> > >
>    this is wrong  glColor4f(1,1,1,1); float
>>> >
>>> > > (1.0f,1.0f,1.0f,1.0f)
>>> >
>>> >       .......
>>> >
>>> >
>          glBegin(GL_QUADS);
>>> > >               ......
>>> > >               ......
>>> >
>>> >
>>> >              
glEnd();  //THIS IS
>>> > >  glPopMatrix()
>>> >
>>> > > hope its useful
>>> > > regards nomad
>>> >
>>> > > ----
>>>
Ursprüngliche Nachricht----
>>> >
>>> > > Von: [hidden email]
>>> > > Datum: 11.03.2012 12:49
>>> > > An: "OpenNI"
[hidden email]>
>>> > > Betreff: [OpenNI-dev] Re:
>>> > > Building on debian sid: undefined reference to symbol '

>>> glEnd'
>>> >
>>> > > I'm sorry, but I have no idea what to do with
>>> > > your code.
>>> >
>>> > > Maybe I didn't
mention this is from

>>> latest unstable branch.
>>> >
>>> > > On Mar 11, 8:16 am, "[hidden email]"
>>> >
><[hidden email]>
>>> > > wrote:
>>> >
>>> > >
>>> > i think its ev.
>>> > > > this stuff on:
>>> > > > PLEASE
READ THIS:
>>> >
>>> > > > void glutDisplay (void)
>>> > > > {
>>> > >
>>> >         XnStatus rc = XN_STATUS_OK;
>>> >

>>> > > >         // Read a
>>> > > > new frame
>>> > > >         rc = g_context.
>>> WaitAnyUpdateAll();
>>> > >
>         if (rc != XN_STATUS_OK)
>>> > > >         {
>>> > > >                 printf("Read failed: %
>>> s\n",
>>> >
> > xnGetStatusString(rc));
>>> > > >                 return;
>>> > > >         }
>>> >
>>> > > >         g_depth.
GetMetaData
>>> (g_depthMD);
>>> > > >         g_image.GetMetaData
>>> > > (g_imageMD);
>>> > > >         const
>>> > >
> XnDepthPixel* pDepth =
>>> g_depthMD.Data();
>>> > > >         const XnUInt8* pImage = g_imageMD.
>>> > > Data();

>>> >
>>> > > >         unsigned int nImageScale
>>> =
>>> > > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>>> >
>>> > >
>         // Copied from
>>> > > SimpleViewer
>>> > > >         // Clear
>>> the OpenGL buffers
>>> > > >        
glClear
>>> > > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>>> >
>>> > > >         // Setup
>>> the OpenGL
viewpoint

>>> > > >         glMatrixMode(GL_PROJECTION);
>>> >
>>> > > > // here you
>>> > > > make a
>>> > > > ---
>>>
> >
>>> >         glPushMatrix();
>>> > > >            glLoadIdentity();
>>> > > >            glOrtho(0, GL_WIN_SIZE_X,
GL_WIN_SIZE_Y,
>>> 0, -1.0,
>>> > > 1.0);
>>> >
>>> > > >           //
>>> > > > Calculate the accumulative histogram
(the yellow display...)
>>> > >
>>> >           HERE SOME STUFFF
>>> > > >           .....
>>> > > >           //
Create the
>>> > > > OpenGL texture map
>>> > >
>>> >           glTexParameteri(GL_TEXTURE_2D,
>>> >
>>> > >
GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
>>> > > >
>>> (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>>>
>
>>> > > GL_LINEAR_MIPMAP_LINEAR);
>>> >
>>> > > >           glTexParameteri(GL_TEXTURE_2D,
>>>
>>> > > >
GL_TEXTURE_MAG_FILTER, GL_LINEAR);
>>> > > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX,
>>>
g_nTexMapY,
>>> 0, GL_RGB,
>>> > > > GL_UNSIGNED_BYTE, g_pTexMap);
>>> >
>>> > > >           // Display the OpenGL
texture map
>>> > >
>>> >           glColor4f(1,1,1,1);
>>> >
>>> > > >    glBegin(GL_QUADS);
>>> >
>>> > > >       int
nXRes = g_depthMD.FullXRes();

>>> > >
>>> >               int nYRes = g_depthMD.FullYRes();
>>> >
>>> > >
>              // upper
>>> > > left
>>> >
>>> > > >      glTexCoord2f(0,
>>> 0);
>>> > > >              glVertex2f(0,
0);
>>> > > >              // upper right
>>> > > >              glTexCoord2f((float)nXRes/
>>> (float)
>>> > > >
g_nTexMapX, 0);

>>> > > >              glVertex2f(GL_WIN_SIZE_X, 0);
>>> > > >              // bottom right
>>> > >
>>>
>              glTexCoord2f((float)nXRes/(float)
>>> > > > g_nTexMapX, (float)nYRes/(float)
>>> > > g_nTexMapY);
>>> >
>
>>> >              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
>>> > > >              // bottom left
>>> >
>>> > > >
glTexCoord2f(0,

>>> >
>>> >
>>> > (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0,
>>> GL_WIN_SIZE_Y);
>>>
>
>>> > > >         glEnd();  //THIS IS
>>> > >
>>> > EV. THE
>>> >
>>> > > FAILURE ITS CORRESPONDED WITH glBegin
(GL_QUAD);

>>> >
>>> > > > BUT YOU NO glPopMatrix()
>>> > > >
>>> ------------------------
>>> > > > regards
>>> >
>>>
> > nomad
>>> >
>>> > > > --------------------------
>>> >
>>> > > > ----Ursprüngliche
>>> Nachricht----
>>> > > >
Von: [hidden email]
>>> > > > Datum: 10.03.2012
>>> > > 14:
>>> > > > 44
>>> > > > An: "OpenNI"dev@googlegroups.
com>
>>> > > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
>>> > > reference to
>>> > > > symbol
>>>
'glEnd'
>>> >
>>> > > > Yes, I have all the requirements installed (from the README).
>>> > > > This was the
>>> > >
output of
>>> the
>>> > > > 'OpenNI/Platform/Linux/CreateRedist/
>>> > > > RedistMaker' script.
>>> >
>>> > > > On Mar
10, 10:01 am, "stevenm...
>>> >
>>> >
>>> > @bluewin.ch" @bluewin.ch>
>>> > > > wrote:> hi
>>> > > > > have you opengl-
headers and libs??? into
>>> compileScript
>>> > > RedistMaker ???
>>> > > > > glEnd should be
>>> > > > glEnd().....

>>> > > > > regards nomad
>>> >
>>> > > > > ----
>>> Ursprüngliche Nachricht----
>>> > > > > Von:
>>> >
>>> > >alibo...
@gmail.com> > Datum: 09.03.2012 23:51
>>> >
>>> > > > An: "OpenNI"
>>> com>
>>> > > > > Betreff: [OpenNI-
>>> >
>>> > >
dev] Building on debian sid: undefined reference to
>>> >
>>> >
>>> > > symbol 'glEnd'
>>> >
>>> > > > > Trying to
compile on

>>> > > > > current
>>> >
>>> > > debian sid using ./RedistMaker
>>> >
>>> > > >
>>> > Target: Linux-x86
>>>
>
>>> > > > Version: 1.5.2.23
>>> > > > > Num of compile jobs: 4
>>> >
>>> > > > > *
>>> > > Building
>>> > > > >
OpenNI...
>>>
>>> > > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>>> >
>>> > > > undefined reference to> symbol

>>> >
>>> > > 'glEnd'/usr/bin/ld:
>>> note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
>>> > > > > try
>>> >

>>> > > > adding it to the linker
>>> >
>>> > > command
>>> line> /usr/lib/libGL.so.1: could not read> > symbols:
Invalid operation
>>> > > > > collect2: ld
>>> >
>>> > > > returned 1 exit
>>> >
>>>
>>> > > status> make[1]: *** [../..
/../Bin/x86-Release/Sample-> >
>>> NiSimpleViewer] Error 1
>>> > > > > make: ***
>>> >
>>> > >
>>>
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished
>>> jobs....
>>> >
>>> > > > > /usr/bin/ld: ./x86-
Release/Draw.
>>> o:
>>> >
>>> > > > undefined reference to symbol> 'glEnd'
>>> > > > > /usr/bin/ld: note: 'glEnd' is
defined in DSO
>>> > > > >
>>> /usr/lib/libGL.so.1 so
>>> >
>>> > > > try
>>> >
>>> > > > adding it to the linker
command line> /usr/lib/libGL.so.1: could
>>> not read
>>> symbols: Invalid
>>> > > > > operation
>>> >
>>> > >
collect2: ld
>>> >
>>> > > > returned 1 exit status
>>> >
>>> > > > > make[1]: *** [../../..
>>> /Bin/x86-
Release/NiViewer] Error 1
>>> > > > > make: ***
>>> > > > > [Samples/NiViewer]
>>> > > > Error 2
>>> > > > > failed to

>>> execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>>> >
>>> > > > > Platform/Linux/CreateRedist/../Build

>>> > > > >
>>> /home/dreamer/Sources/kinect/
>>> >
>>> > > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt>
>
>>> Building Failed!
>>> >
>>> > >
>>> > > --
>>> > > > > You received this message
>>> > > because you
>>> > > > >
are subscribed to the Google Groups "OpenNI" group.
>>> >
>>> > > > To post to this group,
>>> >
>>> > > > send email
to openni-
>>> >
>>> > >[hidden email].
>>> >
>>> > > > > To unsubscribe from
>>> this group, send email to
openni-
>>> >
>>> > > >[hidden email].
>>> > > > For more options, visit this
>>> > > > >
>>> group
athttp://groups.google.com/group/openni-dev?

>>> >
>>> > > > hl=en.
>>> >
>>> > > > --
>>> > > > You received
>>> >
>>>
> > this message
>>> because you are subscribed to the Google Groups "OpenNI" group.> To post
>>> to this
>>> > > >
group, send email to
>>> >
>>> > >
>>> [hidden email].
>>> >
>>> > > > To unsubscribe from this group,
send email to openni-
>>> > > >
>>> dev+unsubscribe@googlegroups.
>>> > > com.
>>> > > > For more options, visit this
group athttp://
>>> groups.google.com/group/openni-
>>> dev?hl=en.
>>> >
>>> > > --
>>> > > You received this
>>> > >
message because you are subscribed to the Google Groups "OpenNI"
>>> group.
>>> >
>>> > To post to this group, send
email to openni-
>>> > >[hidden email].
>>> > > To unsubscribe from this group, send email
>>> to openni-
[hidden email].
>>> > > For more
>>> > > options, visit this group athttp://groups.google.
>>>
com/group/openni-dev?hl=en.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>>
Groups "OpenNI"
>>> group.
>>> To post to this group, send email to [hidden email].
>>> To unsubscribe
from this group, send email to
>>> [hidden email].
>>> For more options, visit this group at

>>> http://groups.google.com/group/openni-dev?hl=en.
>>>
>>>
>>>
On Wednesday, 14 March 2012 09:35:28 UTC+1, nomad
wrote:
>
>  hi
> you must on your compile included opengl.
> you can do that
> example:
> g++ -o niGestureX020
SceneDrawerX22.cpp niGestureX020.cpp
> -I/usr/include/GL -I/usr/include/ni -l'OpenNI' -l'glut' -lglut -lGLU -lGL
>
niGestureX020.cpp change to your program-name.
> regards nomad
>
>
>
>
> Btw, I see that in Samples/NiSimpleViewer/x86-
Release/NiSimpleViewer.d
> there is uncluded /usr/include/GL/gl.h:
> which actually provides: GLAPI void GLAPIENTRY
glEnd( void );
>
> So, I really have no idea what's going on :)
>
>
> On Tuesday, 13 March 2012 09:39:34 UTC+1,
Alexander wrote:
>>
>> No, I'm definitely sure that I pulled the git repository correctly.
>> I actually tried a clean
pull and I get the exact same result.
>>
>>
>> On Tuesday, 13 March 2012 09:05:10 UTC+1, nomad wrote:
>>>
>>> hi (2)

>>> its possible that you have the package (unstable or master) not correct
>>> install.... :-(
>>> excuse my english

>>>
>>> regards nomad
>>>
>>> ----Ursprüngliche Nachricht----
>>> Von: [hidden email]
>>> Datum: 12.03.2012 09:59

>>> An: "OpenNI"[hidden email]>
>>> Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference to
>>>
symbol 'glEnd'
>>>
>>>
>>> Btw, I get the same result with the master branch.
>>>
>>>
>>> On Mar 12, 9:54 am, Alexander
<[hidden email]> wrote:
>>> > You
>>> mean I should grep through the entire openni source?
>>> > Let me remind
you: this is not 'my' code. It's the unstable
>>> branch
>>> > from github.
>>> >
>>> > I appreciate your help, but I
still have no idea what to do with it.
>>> >
>>> > On Mar 12, 9:12 am,
>>> "[hidden email]" <stevenm...@bluewin.
ch>

>>> > wrote:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > > hi
>>> > > look in your code
>>> > > if you make a

>>> >
>>> > glPushMatrix();
>>> > >      .....
>>> >
>>> > > >    this is wrong  glColor4f(1,1,1,1); float
>>> >
>>> >
> (1.0f,1.0f,1.0f,1.0f)
>>> >
>>> >       .......
>>> >
>>> > >          glBegin(GL_QUADS);
>>> > >              
......

>>> > >               ......
>>> >
>>> >
>>> >              glEnd();  //THIS IS
>>> > >  glPopMatrix()
>>> >
>>>
> > hope its useful
>>> > > regards nomad
>>> >
>>> > > ----
>>> Ursprüngliche Nachricht----
>>> >
>>> > > Von: alibo...
@gmail.com
>>> > > Datum: 11.03.2012 12:49
>>> > > An: "OpenNI"[hidden email]>
>>> > > Betreff: [OpenNI-dev] Re:

>>> > > Building on debian sid: undefined reference to symbol '
>>> glEnd'
>>> >
>>> > > I'm sorry, but I have no idea
what to do with
>>> > > your code.
>>> >
>>> > > Maybe I didn't mention this is from
>>> latest unstable branch.
>>> >

>>> > > On Mar 11, 8:16 am, "[hidden email]"
>>> > ><[hidden email]>
>>> > > wrote:
>>> >
>>> > >
>>> > i
think its ev.
>>> > > > this stuff on:
>>> > > > PLEASE READ THIS:
>>> >
>>> > > > void glutDisplay (void)
>>> > > > {

>>> > >
>>> >         XnStatus rc = XN_STATUS_OK;
>>> >
>>> > > >         // Read a
>>> > > > new frame
>>> > >
>         rc = g_context.
>>> WaitAnyUpdateAll();
>>> > > >         if (rc != XN_STATUS_OK)
>>> > > >         {
>>> > >
>                 printf("Read failed: %
>>> s\n",
>>> > > > xnGetStatusString(rc));
>>> > > >                 return;

>>> > > >         }
>>> >
>>> > > >         g_depth.GetMetaData
>>> (g_depthMD);
>>> > > >         g_image.GetMetaData

>>> > > (g_imageMD);
>>> > > >         const
>>> > > > XnDepthPixel* pDepth =
>>> g_depthMD.Data();
>>> > > >        
const XnUInt8* pImage = g_imageMD.
>>> > > Data();
>>> >
>>> > > >         unsigned int nImageScale
>>> =
>>> > > >
GL_WIN_SIZE_X / g_depthMD.FullXRes();
>>> >
>>> > > >         // Copied from
>>> > > SimpleViewer
>>> > > >         //
Clear
>>> the OpenGL buffers
>>> > > >         glClear
>>> > > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>>> >

>>> > > >         // Setup
>>> the OpenGL viewpoint
>>> > > >         glMatrixMode(GL_PROJECTION);
>>> >
>>> > > > //
here you
>>> > > > make a
>>> > > > ---
>>> > >
>>> >         glPushMatrix();
>>> > > >            glLoadIdentity();

>>> > > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y,
>>> 0, -1.0,
>>> > > 1.0);
>>> >
>>> > > >           //

>>> > > > Calculate the accumulative histogram (the yellow display...)
>>> > >
>>> >           HERE SOME STUFFF
>>> > >
>           .....
>>> > > >           // Create the
>>> > > > OpenGL texture map
>>> > >
>>> >           glTexParameteri
(GL_TEXTURE_2D,
>>> >
>>> > > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
>>> > > >
>>>
(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>>> >
>>> > > GL_LINEAR_MIPMAP_LINEAR);
>>> >
>>> > > >           glTexParameteri
(GL_TEXTURE_2D,
>>>
>>> > > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
>>> > > >           glTexImage2D(GL_TEXTURE_2D, 0,
GL_RGB, g_nTexMapX,
>>> g_nTexMapY,
>>> 0, GL_RGB,
>>> > > > GL_UNSIGNED_BYTE, g_pTexMap);
>>> >
>>> > > >          
// Display the OpenGL texture map

>>> > >
>>> >           glColor4f(1,1,1,1);
>>> >
>>> > > >    glBegin(GL_QUADS);
>>>
>
>>> > > >       int nXRes = g_depthMD.FullXRes();
>>> > >
>>> >               int nYRes = g_depthMD.FullYRes();
>>> >

>>> > > >              // upper
>>> > > left
>>> >
>>> > > >      glTexCoord2f(0,
>>> 0);
>>> > > >              
glVertex2f(0, 0);
>>> > > >              // upper right
>>> > > >              glTexCoord2f((float)nXRes/
>>> (float)

>>> > > > g_nTexMapX, 0);
>>> > > >              glVertex2f(GL_WIN_SIZE_X, 0);
>>> > > >              // bottom right

>>> > >
>>> >              glTexCoord2f((float)nXRes/(float)
>>> > > > g_nTexMapX, (float)nYRes/(float)
>>> > >
g_nTexMapY);
>>> > >
>>> >              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
>>> > > >              // bottom left

>>> >
>>> > > > glTexCoord2f(0,
>>> >
>>> >
>>> > (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0,
>>>
GL_WIN_SIZE_Y);
>>> >
>>> > > >         glEnd();  //THIS IS
>>> > >
>>> > EV. THE
>>> >
>>> > > FAILURE ITS
CORRESPONDED WITH glBegin(GL_QUAD);

>>> >
>>> > > > BUT YOU NO glPopMatrix()
>>> > > >
>>> ------------------------
>>>
> > > regards
>>> >
>>> > > nomad
>>> >
>>> > > > --------------------------
>>> >
>>> > > > ----Ursprüngliche
>>>
Nachricht----
>>> > > > Von: [hidden email]
>>> > > > Datum: 10.03.2012
>>> > > 14:
>>> > > > 44
>>> > > > An:
"OpenNI"[hidden email]>
>>> > > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
>>> > > reference
to

>>> > > > symbol
>>> 'glEnd'
>>> >
>>> > > > Yes, I have all the requirements installed (from the README).
>>> > >
> This was the
>>> > > output of
>>> the
>>> > > > 'OpenNI/Platform/Linux/CreateRedist/
>>> > > > RedistMaker' script.

>>> >
>>> > > > On Mar 10, 10:01 am, "stevenm...
>>> >
>>> >
>>> > @bluewin.ch" @bluewin.ch>
>>> > > > wrote:> hi
>>> >
> > > have you opengl-headers and libs??? into
>>> compileScript
>>> > > RedistMaker ???
>>> > > > > glEnd should be

>>> > > > glEnd().....
>>> > > > > regards nomad
>>> >
>>> > > > > ----
>>> Ursprüngliche Nachricht----
>>> > > > >
Von:
>>> >
>>> > >[hidden email]> > Datum: 09.03.2012 23:51
>>> >
>>> > > > An: "OpenNI"
>>> com>
>>> > > > >
Betreff: [OpenNI-
>>> >
>>> > > dev] Building on debian sid: undefined reference to
>>> >
>>> >
>>> > > symbol 'glEnd'

>>> >
>>> > > > > Trying to compile on
>>> > > > > current
>>> >
>>> > > debian sid using ./RedistMaker
>>> >
>>> > > >

>>> > Target: Linux-x86
>>> >
>>> > > > Version: 1.5.2.23
>>> > > > > Num of compile jobs: 4
>>> >
>>> > > > > *
>>> >
> Building
>>> > > > > OpenNI...
>>>
>>> > > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>>> >
>>> > > > undefined
reference to> symbol
>>> >
>>> > > 'glEnd'/usr/bin/ld:
>>> note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so

>>> > > > > try
>>> >
>>> > > > adding it to the linker
>>> >
>>> > > command
>>> line> /usr/lib/libGL.so.1: could not
read> > symbols: Invalid operation
>>> > > > > collect2: ld
>>> >
>>> > > > returned 1 exit
>>> >
>>>
>>> > > status>
make[1]: *** [../../../Bin/x86-Release/Sample-> >
>>> NiSimpleViewer] Error 1
>>> > > > > make: ***
>>> >
>>> > >
>>>
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished
>>> jobs....
>>> >
>>> > > > > /usr/bin/ld: ./x86-
Release/Draw.
>>> o:
>>> >
>>> > > > undefined reference to symbol> 'glEnd'
>>> > > > > /usr/bin/ld: note: 'glEnd' is
defined in DSO
>>> > > > >
>>> /usr/lib/libGL.so.1 so
>>> >
>>> > > > try
>>> >
>>> > > > adding it to the linker
command line> /usr/lib/libGL.so.1: could
>>> not read
>>> symbols: Invalid
>>> > > > > operation
>>> >
>>> > >
collect2: ld
>>> >
>>> > > > returned 1 exit status
>>> >
>>> > > > > make[1]: *** [../../..
>>> /Bin/x86-
Release/NiViewer] Error 1
>>> > > > > make: ***
>>> > > > > [Samples/NiViewer]
>>> > > > Error 2
>>> > > > > failed to

>>> execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>>> >
>>> > > > > Platform/Linux/CreateRedist/../Build

>>> > > > >
>>> /home/dreamer/Sources/kinect/
>>> >
>>> > > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt>
>
>>> Building Failed!
>>> >
>>> > >
>>> > > --
>>> > > > > You received this message
>>> > > because you
>>> > > > >
are subscribed to the Google Groups "OpenNI" group.
>>> >
>>> > > > To post to this group,
>>> >
>>> > > > send email
to openni-
>>> >
>>> > >[hidden email].
>>> >
>>> > > > > To unsubscribe from
>>> this group, send email to
openni-
>>> >
>>> > > >[hidden email].
>>> > > > For more options, visit this
>>> > > > >
>>> group
athttp://groups.google.com/group/openni-dev?

>>> >
>>> > > > hl=en.
>>> >
>>> > > > --
>>> > > > You received
>>> >
>>>
> > this message
>>> because you are subscribed to the Google Groups "OpenNI" group.> To post
>>> to this
>>> > > >
group, send email to
>>> >
>>> > >
>>> [hidden email].
>>> >
>>> > > > To unsubscribe from this group,
send email to openni-
>>> > > >
>>> dev+unsubscribe@googlegroups.
>>> > > com.
>>> > > > For more options, visit this
group athttp://
>>> groups.google.com/group/openni-
>>> dev?hl=en.
>>> >
>>> > > --
>>> > > You received this
>>> > >
message because you are subscribed to the Google Groups "OpenNI"
>>> group.
>>> >
>>> > To post to this group, send
email to openni-
>>> > >[hidden email].
>>> > > To unsubscribe from this group, send email
>>> to openni-
[hidden email].
>>> > > For more
>>> > > options, visit this group athttp://groups.google.
>>>
com/group/openni-dev?hl=en.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>>
Groups "OpenNI"
>>> group.
>>> To post to this group, send email to [hidden email].
>>> To unsubscribe
from this group, send email to
>>> [hidden email].
>>> For more options, visit this group at

>>> http://groups.google.com/group/openni-dev?hl=en.
>>>
>>>
>>>

--
You received this message because you are
subscribed to the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/UU7EzSoaGzAJ.
To post to this
group, send email to [hidden email].
To unsubscribe from this group, send email to openni-
[hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.




--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

Alexander
My program? Your compile?

With every post you make I have less clue what you are talking about.

I really hope an actual developer picks this up.


On Thursday, 15 March 2012 09:04:41 UTC+1, nomad wrote:
hi
if you have a source-code of your program...
then make a experiment with my compile
if not : i dont know what you
then doing
excuse
regards nomad

----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 14.03.2012 10:09
An:
<[hidden email]>
Kopie: <[hidden email]>
Betreff: Re: [OpenNI-dev] Re: Building on debian sid:
undefined reference to symbol &#39;glEnd&#39;

But how do I do that using the RedistMaker script?


On Wednesday, 14
March 2012 09:35:28 UTC+1, nomad wrote:
>
>  hi
> you must on your compile included opengl.
> you can do that
>
example:
> g++ -o niGestureX020 SceneDrawerX22.cpp niGestureX020.cpp
> -I/usr/include/GL -I/usr/include/ni -l'OpenNI' -
l'glut' -lglut -lGLU -lGL
> niGestureX020.cpp change to your program-name.
> regards nomad
>
>
>
>
> Btw, I see that
in Samples/NiSimpleViewer/x86-Release/NiSimpleViewer.d
> there is uncluded /usr/include/GL/gl.h:
> which actually
provides: GLAPI void GLAPIENTRY glEnd( void );
>
> So, I really have no idea what's going on :)
>
>
> On Tuesday, 13
March 2012 09:39:34 UTC+1, Alexander wrote:
>>
>> No, I'm definitely sure that I pulled the git repository correctly.

>> I actually tried a clean pull and I get the exact same result.
>>
>>
>> On Tuesday, 13 March 2012 09:05:10 UTC+1,
nomad wrote:
>>>
>>> hi (2)
>>> its possible that you have the package (unstable or master) not correct
>>>
install.... :-(
>>> excuse my english
>>>
>>> regards nomad
>>>
>>> ----Ursprüngliche Nachricht----
>>> Von:
[hidden email]
>>> Datum: 12.03.2012 09:59
>>> An: "OpenNI"[hidden email]>
>>> Betreff: [OpenNI-dev] Re:
Building on debian sid: undefined reference to
>>> symbol 'glEnd'
>>>
>>>
>>> Btw, I get the same result with the
master branch.
>>>
>>>
>>> On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:
>>> > You
>>> mean I should grep
through the entire openni source?
>>> > Let me remind you: this is not 'my' code. It's the unstable
>>> branch
>>> >
from github.
>>> >
>>> > I appreciate your help, but I still have no idea what to do with it.
>>> >
>>> > On Mar 12, 9:
12 am,


>>> "[hidden email]" <[hidden email]>
>>> > wrote:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
> > hi
>>> > > look in your code
>>> > > if you make a
>>> >
>>> > glPushMatrix();
>>> > >      .....
>>> >
>>> > >
>    this is wrong  glColor4f(1,1,1,1); float
>>> >
>>> > > (1.0f,1.0f,1.0f,1.0f)
>>> >
>>> >       .......
>>> >
>>> >
>          glBegin(GL_QUADS);
>>> > >               ......
>>> > >               ......
>>> >
>>> >
>>> >              
glEnd();  //THIS IS
>>> > >  glPopMatrix()
>>> >
>>> > > hope its useful
>>> > > regards nomad
>>> >
>>> > > ----
>>>
Ursprüngliche Nachricht----
>>> >
>>> > > Von: [hidden email]
>>> > > Datum: 11.03.2012 12:49
>>> > > An: "OpenNI"
[hidden email]>
>>> > > Betreff: [OpenNI-dev] Re:
>>> > > Building on debian sid: undefined reference to symbol '

>>> glEnd'
>>> >
>>> > > I'm sorry, but I have no idea what to do with
>>> > > your code.
>>> >
>>> > > Maybe I didn't
mention this is from


>>> latest unstable branch.
>>> >
>>> > > On Mar 11, 8:16 am, "[hidden email]"
>>> >
><[hidden email]>
>>> > > wrote:
>>> >
>>> > >
>>> > i think its ev.
>>> > > > this stuff on:
>>> > > > PLEASE
READ THIS:

>>> >
>>> > > > void glutDisplay (void)
>>> > > > {
>>> > >
>>> >         XnStatus rc = XN_STATUS_OK;
>>> >

>>> > > >         // Read a
>>> > > > new frame
>>> > > >         rc = g_context.
>>> WaitAnyUpdateAll();
>>> > >
>         if (rc != XN_STATUS_OK)
>>> > > >         {
>>> > > >                 printf("Read failed: %
>>> s\n",
>>> >
> > xnGetStatusString(rc));
>>> > > >                 return;
>>> > > >         }
>>> >
>>> > > >         g_depth.

GetMetaData

>>> (g_depthMD);
>>> > > >         g_image.GetMetaData
>>> > > (g_imageMD);
>>> > > >         const
>>> > >
> XnDepthPixel* pDepth =
>>> g_depthMD.Data();
>>> > > >         const XnUInt8* pImage = g_imageMD.
>>> > > Data();

>>> >
>>> > > >         unsigned int nImageScale
>>> =
>>> > > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>>> >
>>> > >
>         // Copied from
>>> > > SimpleViewer
>>> > > >         // Clear
>>> the OpenGL buffers
>>> > > >        

glClear
>>> > > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>>> >
>>> > > >         // Setup
>>> the OpenGL
viewpoint

>>> > > >         glMatrixMode(GL_PROJECTION);
>>> >
>>> > > > // here you
>>> > > > make a
>>> > > > ---
>>>
> >
>>> >         glPushMatrix();
>>> > > >            glLoadIdentity();
>>> > > >            glOrtho(0, GL_WIN_SIZE_X,
GL_WIN_SIZE_Y,
>>> 0, -1.0,
>>> > > 1.0);
>>> >
>>> > > >           //
>>> > > > Calculate the accumulative histogram
(the yellow display...)
>>> > >
>>> >           HERE SOME STUFFF
>>> > > >           .....
>>> > > >           //
Create the
>>> > > > OpenGL texture map
>>> > >
>>> >           glTexParameteri(GL_TEXTURE_2D,
>>> >
>>> > >
GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
>>> > > >
>>> (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>>>
>
>>> > > GL_LINEAR_MIPMAP_LINEAR);
>>> >
>>> > > >           glTexParameteri(GL_TEXTURE_2D,
>>>
>>> > > >
GL_TEXTURE_MAG_FILTER, GL_LINEAR);
>>> > > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX,
>>>
g_nTexMapY,
>>> 0, GL_RGB,
>>> > > > GL_UNSIGNED_BYTE, g_pTexMap);
>>> >
>>> > > >           // Display the OpenGL
texture map
>>> > >
>>> >           glColor4f(1,1,1,1);
>>> >
>>> > > >    glBegin(GL_QUADS);
>>> >
>>> > > >       int
nXRes = g_depthMD.FullXRes();

>>> > >
>>> >               int nYRes = g_depthMD.FullYRes();
>>> >
>>> > >
>              // upper
>>> > > left
>>> >
>>> > > >      glTexCoord2f(0,
>>> 0);
>>> > > >              glVertex2f(0,
0);
>>> > > >              // upper right
>>> > > >              glTexCoord2f((float)nXRes/
>>> (float)
>>> > > >
g_nTexMapX, 0);

>>> > > >              glVertex2f(GL_WIN_SIZE_X, 0);
>>> > > >              // bottom right
>>> > >
>>>
>              glTexCoord2f((float)nXRes/(float)
>>> > > > g_nTexMapX, (float)nYRes/(float)
>>> > > g_nTexMapY);
>>> >
>
>>> >              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
>>> > > >              // bottom left
>>> >
>>> > > >
glTexCoord2f(0,

>>> >
>>> >
>>> > (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0,
>>> GL_WIN_SIZE_Y);
>>>
>
>>> > > >         glEnd();  //THIS IS
>>> > >
>>> > EV. THE
>>> >
>>> > > FAILURE ITS CORRESPONDED WITH glBegin
(GL_QUAD);

>>> >
>>> > > > BUT YOU NO glPopMatrix()
>>> > > >
>>> ------------------------
>>> > > > regards
>>> >
>>>
> > nomad
>>> >
>>> > > > --------------------------
>>> >
>>> > > > ----Ursprüngliche
>>> Nachricht----
>>> > > >
Von: [hidden email]
>>> > > > Datum: 10.03.2012
>>> > > 14:
>>> > > > 44
>>> > > > An: "OpenNI"dev@googlegroups.
com>
>>> > > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
>>> > > reference to
>>> > > > symbol
>>>
'glEnd'
>>> >
>>> > > > Yes, I have all the requirements installed (from the README).
>>> > > > This was the
>>> > >
output of
>>> the
>>> > > > 'OpenNI/Platform/Linux/CreateRedist/
>>> > > > RedistMaker' script.
>>> >
>>> > > > On Mar
10, 10:01 am, "stevenm...
>>> >
>>> >
>>> > @bluewin.ch" @bluewin.ch>
>>> > > > wrote:> hi
>>> > > > > have you opengl-
headers and libs??? into

>>> compileScript
>>> > > RedistMaker ???
>>> > > > > glEnd should be
>>> > > > glEnd().....

>>> > > > > regards nomad
>>> >
>>> > > > > ----
>>> Ursprüngliche Nachricht----
>>> > > > > Von:
>>> >
>>> > >alibo...

@gmail.com> > Datum: 09.03.2012 23:51
>>> >
>>> > > > An: "OpenNI"
>>> com>
>>> > > > > Betreff: [OpenNI-
>>> >
>>> > >
dev] Building on debian sid: undefined reference to
>>> >
>>> >
>>> > > symbol 'glEnd'
>>> >
>>> > > > > Trying to
compile on

>>> > > > > current
>>> >
>>> > > debian sid using ./RedistMaker
>>> >
>>> > > >
>>> > Target: Linux-x86
>>>
>
>>> > > > Version: 1.5.2.23
>>> > > > > Num of compile jobs: 4
>>> >
>>> > > > > *
>>> > > Building
>>> > > > >
OpenNI...

>>>
>>> > > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>>> >
>>> > > > undefined reference to> symbol

>>> >
>>> > > 'glEnd'/usr/bin/ld:
>>> note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
>>> > > > > try
>>> >

>>> > > > adding it to the linker
>>> >
>>> > > command
>>> line> /usr/lib/libGL.so.1: could not read> > symbols:

Invalid operation
>>> > > > > collect2: ld
>>> >
>>> > > > returned 1 exit
>>> >
>>>
>>> > > status> make[1]: *** [../..
/../Bin/x86-Release/Sample-> >
>>> NiSimpleViewer] Error 1
>>> > > > > make: ***
>>> >
>>> > >
>>>
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished
>>> jobs....
>>> >
>>> > > > > /usr/bin/ld: ./x86-
Release/Draw.
>>> o:
>>> >
>>> > > > undefined reference to symbol> 'glEnd'
>>> > > > > /usr/bin/ld: note: 'glEnd' is
defined in DSO
>>> > > > >
>>> /usr/lib/libGL.so.1 so
>>> >
>>> > > > try
>>> >
>>> > > > adding it to the linker
command line> /usr/lib/libGL.so.1: could
>>> not read
>>> symbols: Invalid
>>> > > > > operation
>>> >
>>> > >
collect2: ld
>>> >
>>> > > > returned 1 exit status
>>> >
>>> > > > > make[1]: *** [../../..
>>> /Bin/x86-
Release/NiViewer] Error 1

>>> > > > > make: ***
>>> > > > > [Samples/NiViewer]
>>> > > > Error 2
>>> > > > > failed to

>>> execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>>> >
>>> > > > > Platform/Linux/CreateRedist/../Build

>>> > > > >
>>> /home/dreamer/Sources/kinect/
>>> >
>>> > > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt>
>
>>> Building Failed!
>>> >
>>> > >
>>> > > --
>>> > > > > You received this message
>>> > > because you
>>> > > > >

are subscribed to the Google Groups "OpenNI" group.
>>> >
>>> > > > To post to this group,
>>> >
>>> > > > send email
to openni-
>>> >
>>> > >[hidden email].
>>> >
>>> > > > > To unsubscribe from
>>> this group, send email to
openni-
>>> >
>>> > > >[hidden email].
>>> > > > For more options, visit this
>>> > > > >
>>> group
athttp://groups.google.com/group/openni-dev?

>>> >
>>> > > > hl=en.
>>> >
>>> > > > --
>>> > > > You received
>>> >
>>>
> > this message
>>> because you are subscribed to the Google Groups "OpenNI" group.> To post
>>> to this
>>> > > >
group, send email to
>>> >
>>> > >
>>> [hidden email].
>>> >
>>> > > > To unsubscribe from this group,
send email to openni-
>>> > > >
>>> dev+unsubscribe@googlegroups.
>>> > > com.
>>> > > > For more options, visit this
group athttp://
>>> groups.google.com/group/openni-
>>> dev?hl=en.
>>> >
>>> > > --
>>> > > You received this
>>> > >
message because you are subscribed to the Google Groups "OpenNI"
>>> group.
>>> >
>>> > To post to this group, send
email to openni-
>>> > >[hidden email].
>>> > > To unsubscribe from this group, send email
>>> to openni-
[hidden email].
>>> > > For more
>>> > > options, visit this group athttp://groups.google.
>>>
com/group/openni-dev?hl=en.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>>
Groups "OpenNI"
>>> group.
>>> To post to this group, send email to [hidden email].
>>> To unsubscribe
from this group, send email to
>>> [hidden email].
>>> For more options, visit this group at

>>> http://groups.google.com/group/openni-dev?hl=en.
>>>
>>>
>>>
On Wednesday, 14 March 2012 09:35:28 UTC+1, nomad
wrote:
>
>  hi
> you must on your compile included opengl.
> you can do that
> example:
> g++ -o niGestureX020
SceneDrawerX22.cpp niGestureX020.cpp
> -I/usr/include/GL -I/usr/include/ni -l'OpenNI' -l'glut' -lglut -lGLU -lGL
>
niGestureX020.cpp change to your program-name.
> regards nomad
>
>
>
>
> Btw, I see that in Samples/NiSimpleViewer/x86-
Release/NiSimpleViewer.d
> there is uncluded /usr/include/GL/gl.h:
> which actually provides: GLAPI void GLAPIENTRY
glEnd( void );
>
> So, I really have no idea what's going on :)
>
>
> On Tuesday, 13 March 2012 09:39:34 UTC+1,
Alexander wrote:
>>
>> No, I'm definitely sure that I pulled the git repository correctly.
>> I actually tried a clean
pull and I get the exact same result.


>>
>>
>> On Tuesday, 13 March 2012 09:05:10 UTC+1, nomad wrote:
>>>
>>> hi (2)

>>> its possible that you have the package (unstable or master) not correct
>>> install.... :-(
>>> excuse my english

>>>
>>> regards nomad
>>>
>>> ----Ursprüngliche Nachricht----
>>> Von: [hidden email]
>>> Datum: 12.03.2012 09:59

>>> An: "OpenNI"[hidden email]>
>>> Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference to
>>>

symbol 'glEnd'
>>>
>>>
>>> Btw, I get the same result with the master branch.
>>>
>>>
>>> On Mar 12, 9:54 am, Alexander
<[hidden email]> wrote:
>>> > You
>>> mean I should grep through the entire openni source?
>>> > Let me remind
you: this is not 'my' code. It's the unstable
>>> branch
>>> > from github.
>>> >
>>> > I appreciate your help, but I
still have no idea what to do with it.
>>> >
>>> > On Mar 12, 9:12 am,
>>> "[hidden email]" <stevenm...@bluewin.
ch>

>>> > wrote:
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > > hi
>>> > > look in your code
>>> > > if you make a

>>> >
>>> > glPushMatrix();
>>> > >      .....
>>> >
>>> > > >    this is wrong  glColor4f(1,1,1,1); float
>>> >
>>> >
> (1.0f,1.0f,1.0f,1.0f)
>>> >
>>> >       .......
>>> >
>>> > >          glBegin(GL_QUADS);
>>> > >              

......

>>> > >               ......
>>> >
>>> >
>>> >              glEnd();  //THIS IS
>>> > >  glPopMatrix()
>>> >
>>>
> > hope its useful
>>> > > regards nomad
>>> >
>>> > > ----
>>> Ursprüngliche Nachricht----
>>> >
>>> > > Von: alibo...
@gmail.com
>>> > > Datum: 11.03.2012 12:49
>>> > > An: "OpenNI"[hidden email]>
>>> > > Betreff: [OpenNI-dev] Re:

>>> > > Building on debian sid: undefined reference to symbol '
>>> glEnd'
>>> >
>>> > > I'm sorry, but I have no idea
what to do with


>>> > > your code.
>>> >
>>> > > Maybe I didn't mention this is from
>>> latest unstable branch.
>>> >

>>> > > On Mar 11, 8:16 am, "[hidden email]"
>>> > ><[hidden email]>
>>> > > wrote:
>>> >
>>> > >
>>> > i

think its ev.

>>> > > > this stuff on:
>>> > > > PLEASE READ THIS:
>>> >
>>> > > > void glutDisplay (void)
>>> > > > {

>>> > >
>>> >         XnStatus rc = XN_STATUS_OK;
>>> >
>>> > > >         // Read a
>>> > > > new frame
>>> > >
>         rc = g_context.
>>> WaitAnyUpdateAll();
>>> > > >         if (rc != XN_STATUS_OK)
>>> > > >         {
>>> > >
>                 printf("Read failed: %
>>> s\n",
>>> > > > xnGetStatusString(rc));
>>> > > >                 return;

>>> > > >         }
>>> >
>>> > > >         g_depth.GetMetaData
>>> (g_depthMD);
>>> > > >         g_image.GetMetaData

>>> > > (g_imageMD);
>>> > > >         const
>>> > > > XnDepthPixel* pDepth =
>>> g_depthMD.Data();
>>> > > >        

const XnUInt8* pImage = g_imageMD.
>>> > > Data();
>>> >
>>> > > >         unsigned int nImageScale
>>> =
>>> > > >
GL_WIN_SIZE_X / g_depthMD.FullXRes();
>>> >
>>> > > >         // Copied from
>>> > > SimpleViewer
>>> > > >         //
Clear
>>> the OpenGL buffers
>>> > > >         glClear
>>> > > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>>> >

>>> > > >         // Setup
>>> the OpenGL viewpoint
>>> > > >         glMatrixMode(GL_PROJECTION);
>>> >
>>> > > > //
here you


>>> > > > make a
>>> > > > ---
>>> > >
>>> >         glPushMatrix();
>>> > > >            glLoadIdentity();

>>> > > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y,
>>> 0, -1.0,
>>> > > 1.0);
>>> >
>>> > > >           //

>>> > > > Calculate the accumulative histogram (the yellow display...)
>>> > >
>>> >           HERE SOME STUFFF
>>> > >
>           .....
>>> > > >           // Create the
>>> > > > OpenGL texture map
>>> > >
>>> >           glTexParameteri

(GL_TEXTURE_2D,
>>> >
>>> > > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
>>> > > >
>>>
(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>>> >
>>> > > GL_LINEAR_MIPMAP_LINEAR);
>>> >
>>> > > >           glTexParameteri
(GL_TEXTURE_2D,
>>>
>>> > > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
>>> > > >           glTexImage2D(GL_TEXTURE_2D, 0,
GL_RGB, g_nTexMapX,
>>> g_nTexMapY,
>>> 0, GL_RGB,
>>> > > > GL_UNSIGNED_BYTE, g_pTexMap);
>>> >
>>> > > >          
// Display the OpenGL texture map

>>> > >
>>> >           glColor4f(1,1,1,1);
>>> >
>>> > > >    glBegin(GL_QUADS);
>>>
>
>>> > > >       int nXRes = g_depthMD.FullXRes();
>>> > >
>>> >               int nYRes = g_depthMD.FullYRes();
>>> >

>>> > > >              // upper
>>> > > left
>>> >
>>> > > >      glTexCoord2f(0,
>>> 0);
>>> > > >              

glVertex2f(0, 0);
>>> > > >              // upper right
>>> > > >              glTexCoord2f((float)nXRes/
>>> (float)

>>> > > > g_nTexMapX, 0);
>>> > > >              glVertex2f(GL_WIN_SIZE_X, 0);
>>> > > >              // bottom right

>>> > >
>>> >              glTexCoord2f((float)nXRes/(float)
>>> > > > g_nTexMapX, (float)nYRes/(float)
>>> > >
g_nTexMapY);
>>> > >
>>> >              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
>>> > > >              // bottom left

>>> >
>>> > > > glTexCoord2f(0,
>>> >
>>> >
>>> > (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0,
>>>
GL_WIN_SIZE_Y);
>>> >
>>> > > >         glEnd();  //THIS IS
>>> > >
>>> > EV. THE
>>> >
>>> > > FAILURE ITS
CORRESPONDED WITH glBegin(GL_QUAD);


>>> >
>>> > > > BUT YOU NO glPopMatrix()
>>> > > >
>>> ------------------------
>>>
> > > regards
>>> >
>>> > > nomad
>>> >
>>> > > > --------------------------
>>> >
>>> > > > ----Ursprüngliche
>>>
Nachricht----
>>> > > > Von: [hidden email]
>>> > > > Datum: 10.03.2012
>>> > > 14:
>>> > > > 44
>>> > > > An:
"OpenNI"[hidden email]>
>>> > > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
>>> > > reference
to

>>> > > > symbol
>>> 'glEnd'
>>> >
>>> > > > Yes, I have all the requirements installed (from the README).
>>> > >
> This was the
>>> > > output of
>>> the
>>> > > > 'OpenNI/Platform/Linux/CreateRedist/
>>> > > > RedistMaker' script.

>>> >
>>> > > > On Mar 10, 10:01 am, "stevenm...
>>> >
>>> >
>>> > @bluewin.ch" @bluewin.ch>
>>> > > > wrote:> hi
>>> >
> > > have you opengl-headers and libs??? into
>>> compileScript
>>> > > RedistMaker ???
>>> > > > > glEnd should be

>>> > > > glEnd().....
>>> > > > > regards nomad
>>> >
>>> > > > > ----
>>> Ursprüngliche Nachricht----
>>> > > > >

Von:
>>> >
>>> > >[hidden email]> > Datum: 09.03.2012 23:51
>>> >
>>> > > > An: "OpenNI"
>>> com>
>>> > > > >
Betreff: [OpenNI-

>>> >
>>> > > dev] Building on debian sid: undefined reference to
>>> >
>>> >
>>> > > symbol 'glEnd'

>>> >
>>> > > > > Trying to compile on
>>> > > > > current
>>> >
>>> > > debian sid using ./RedistMaker
>>> >
>>> > > >

>>> > Target: Linux-x86
>>> >
>>> > > > Version: 1.5.2.23
>>> > > > > Num of compile jobs: 4
>>> >
>>> > > > > *
>>> >
> Building
>>> > > > > OpenNI...
>>>
>>> > > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>>> >
>>> > > > undefined

reference to> symbol
>>> >
>>> > > 'glEnd'/usr/bin/ld:
>>> note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so

>>> > > > > try
>>> >
>>> > > > adding it to the linker
>>> >
>>> > > command
>>> line> /usr/lib/libGL.so.1: could not
read> > symbols: Invalid operation
>>> > > > > collect2: ld
>>> >
>>> > > > returned 1 exit
>>> >
>>>
>>> > > status>
make[1]: *** [../../../Bin/x86-Release/Sample-> >
>>> NiSimpleViewer] Error 1
>>> > > > > make: ***
>>> >
>>> > >
>>>
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished
>>> jobs....
>>> >
>>> > > > > /usr/bin/ld: ./x86-
Release/Draw.
>>> o:
>>> >
>>> > > > undefined reference to symbol> 'glEnd'
>>> > > > > /usr/bin/ld: note: 'glEnd' is
defined in DSO
>>> > > > >
>>> /usr/lib/libGL.so.1 so
>>> >
>>> > > > try
>>> >
>>> > > > adding it to the linker
command line> /usr/lib/libGL.so.1: could
>>> not read
>>> symbols: Invalid
>>> > > > > operation
>>> >
>>> > >
collect2: ld
>>> >
>>> > > > returned 1 exit status
>>> >
>>> > > > > make[1]: *** [../../..
>>> /Bin/x86-
Release/NiViewer] Error 1


>>> > > > > make: ***
>>> > > > > [Samples/NiViewer]
>>> > > > Error 2
>>> > > > > failed to

>>> execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>>> >
>>> > > > > Platform/Linux/CreateRedist/../Build

>>> > > > >
>>> /home/dreamer/Sources/kinect/
>>> >
>>> > > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt>
>
>>> Building Failed!
>>> >
>>> > >
>>> > > --
>>> > > > > You received this message
>>> > > because you
>>> > > > >

are subscribed to the Google Groups "OpenNI" group.
>>> >
>>> > > > To post to this group,
>>> >
>>> > > > send email
to openni-
>>> >
>>> > >[hidden email].
>>> >
>>> > > > > To unsubscribe from
>>> this group, send email to
openni-
>>> >
>>> > > >[hidden email].
>>> > > > For more options, visit this
>>> > > > >
>>> group
athttp://groups.google.com/group/openni-dev?

>>> >
>>> > > > hl=en.
>>> >
>>> > > > --
>>> > > > You received
>>> >
>>>
> > this message
>>> because you are subscribed to the Google Groups "OpenNI" group.> To post
>>> to this
>>> > > >
group, send email to
>>> >
>>> > >
>>> [hidden email].
>>> >
>>> > > > To unsubscribe from this group,
send email to openni-
>>> > > >
>>> dev+unsubscribe@googlegroups.
>>> > > com.
>>> > > > For more options, visit this
group athttp://
>>> groups.google.com/group/openni-
>>> dev?hl=en.
>>> >
>>> > > --
>>> > > You received this
>>> > >
message because you are subscribed to the Google Groups "OpenNI"
>>> group.
>>> >
>>> > To post to this group, send
email to openni-
>>> > >[hidden email].
>>> > > To unsubscribe from this group, send email
>>> to openni-
[hidden email].
>>> > > For more
>>> > > options, visit this group athttp://groups.google.
>>>
com/group/openni-dev?hl=en.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>>
Groups "OpenNI"
>>> group.
>>> To post to this group, send email to [hidden email].
>>> To unsubscribe
from this group, send email to
>>> [hidden email].
>>> For more options, visit this group at

>>> http://groups.google.com/group/openni-dev?hl=en.
>>>
>>>
>>>

--
You received this message because you are
subscribed to the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/UU7EzSoaGzAJ.
To post to this
group, send email to [hidden email].
To unsubscribe from this group, send email to openni-
[hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.


--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/MTIDx_x4LBIJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Re: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

Igor Barros Barbosa
Check you have the installed libraries :


libusb-1.0-0-dev
freeglut3-dev
libboost-all-dev
libwxbase2.8-dev
libwxgtk2.8-dev
wx-common

Try to compile it now.. if it does not work check if you have the same problems with the stable branch ?

IF still it does not work:

Try doing this way :

http://www.openni.org/Downloads/OpenNIModules.aspx

Unzip the modules to a folder (on my case it worked with the stable version) ,

rename it openni sensor and nite

Install Openni
cd openni
sudo sh install.sh
cd ..

If you Are using Microsoft kinect  don't install the sensor version from the website, install this one: https://github.com/avin2/SensorKinect

unzip as sensorkinect

cd sensorkinect/Platform/Linux/CreateRedist/
chmod +ax RedistMaker

./RedistMaker

got to the folder
/Redist/Sensor-Bin-Linux-x64-v5.1.0.25
sudo sh install.sh


If you are not using microsoft kinect :

cd sensor
sudo sh install.sh

Then install  NITE  ..

       also a install.sh file ...



And check if the Openni Samples works. IF it do you should be able to run the openni/samples/bin and compile them as well.

In my case it only worked when I've update my Nvidia graphics card drivers.

Ps: You are being quite rude, it should be like this.
Hope it works now

Cheers.
-----

Igor



On Fri, Mar 16, 2012 at 12:58 AM, Alexander <[hidden email]> wrote:
My program? Your compile?

With every post you make I have less clue what you are talking about.

I really hope an actual developer picks this up.



On Thursday, 15 March 2012 09:04:41 UTC+1, nomad wrote:
hi
if you have a source-code of your program...
then make a experiment with my compile
if not : i dont know what you
then doing
excuse
regards nomad

----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 14.03.2012 10:09
An:
<[hidden email]>
Kopie: <[hidden email]>
Betreff: Re: [OpenNI-dev] Re: Building on debian sid:
undefined reference to symbol &#39;glEnd&#39;

But how do I do that using the RedistMaker script?


On Wednesday, 14
March 2012 09:35:28 UTC+1, nomad wrote:
>
>  hi
> you must on your compile included opengl.
> you can do that
>
example:
> g++ -o niGestureX020 SceneDrawerX22.cpp niGestureX020.cpp
> -I/usr/include/GL -I/usr/include/ni -l'OpenNI' -
l'glut' -lglut -lGLU -lGL
> niGestureX020.cpp change to your program-name.
> regards nomad
>
>
>
>
> Btw, I see that
in Samples/NiSimpleViewer/x86-Release/NiSimpleViewer.d
> there is uncluded /usr/include/GL/gl.h:
> which actually
provides: GLAPI void GLAPIENTRY glEnd( void );
>
> So, I really have no idea what's going on :)
>
>
> On Tuesday, 13
March 2012 09:39:34 UTC+1, Alexander wrote:
>>
>> No, I'm definitely sure that I pulled the git repository correctly.

>> I actually tried a clean pull and I get the exact same result.
>>
>>
>> On Tuesday, 13 March 2012 09:05:10 UTC+1,
nomad wrote:
>>>
>>> hi (2)
>>> its possible that you have the package (unstable or master) not correct
>>>
install.... :-(
>>> excuse my english
>>>
>>> regards nomad
>>>
>>> ----Ursprüngliche Nachricht----
>>> Von:
[hidden email]
>>> Datum: 12.03.2012 09:59
>>> An: "OpenNI"[hidden email]>
>>> Betreff: [OpenNI-dev] Re:
Building on debian sid: undefined reference to
>>> symbol 'glEnd'
>>>
>>>
>>> Btw, I get the same result with the
master branch.
>>>
>>>
>>> On Mar 12, 9:54 am, Alexander <[hidden email]> wrote:
>>> > You
>>> mean I should grep
through the entire openni source?
>>> > Let me remind you: this is not 'my' code. It's the unstable
>>> branch
>>> >
from github.
>>> >
>>> > I appreciate your help, but I still have no idea what to do with it.
>>> >
>>> > On Mar 12, 9:
12 am,
>>> "[hidden email]" <[hidden email]>
>>> > wrote:


>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
> > hi
>>> > > look in your code
>>> > > if you make a
>>> >
>>> > glPushMatrix();
>>> > >      .....
>>> >
>>> > >
>    this is wrong  glColor4f(1,1,1,1); float
>>> >
>>> > > (1.0f,1.0f,1.0f,1.0f)
>>> >
>>> >       .......
>>> >
>>> >
>          glBegin(GL_QUADS);
>>> > >               ......
>>> > >               ......
>>> >
>>> >
>>> >              
glEnd();  //THIS IS
>>> > >  glPopMatrix()
>>> >
>>> > > hope its useful
>>> > > regards nomad
>>> >
>>> > > ----
>>>
Ursprüngliche Nachricht----
>>> >
>>> > > Von: [hidden email]
>>> > > Datum: 11.03.2012 12:49
>>> > > An: "OpenNI"
[hidden email]>
>>> > > Betreff: [OpenNI-dev] Re:
>>> > > Building on debian sid: undefined reference to symbol '

>>> glEnd'
>>> >
>>> > > I'm sorry, but I have no idea what to do with
>>> > > your code.
>>> >
>>> > > Maybe I didn't
mention this is from
>>> latest unstable branch.
>>> >
>>> > > On Mar 11, 8:16 am, "[hidden email]"
>>> >
><[hidden email]>
>>> > > wrote:
>>> >
>>> > >
>>> > i think its ev.
>>> > > > this stuff on:
>>> > > > PLEASE
READ THIS:
>>> >
>>> > > > void glutDisplay (void)
>>> > > > {
>>> > >
>>> >         XnStatus rc = XN_STATUS_OK;
>>> >

>>> > > >         // Read a
>>> > > > new frame
>>> > > >         rc = g_context.
>>> WaitAnyUpdateAll();
>>> > >
>         if (rc != XN_STATUS_OK)
>>> > > >         {
>>> > > >                 printf("Read failed: %
>>> s\n",
>>> >
> > xnGetStatusString(rc));
>>> > > >                 return;
>>> > > >         }
>>> >
>>> > > >         g_depth.
GetMetaData
>>> (g_depthMD);
>>> > > >         g_image.GetMetaData
>>> > > (g_imageMD);
>>> > > >         const
>>> > >
> XnDepthPixel* pDepth =
>>> g_depthMD.Data();
>>> > > >         const XnUInt8* pImage = g_imageMD.
>>> > > Data();

>>> >
>>> > > >         unsigned int nImageScale
>>> =
>>> > > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
>>> >
>>> > >
>         // Copied from
>>> > > SimpleViewer
>>> > > >         // Clear
>>> the OpenGL buffers
>>> > > >        
glClear
>>> > > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>>> >
>>> > > >         // Setup
>>> the OpenGL
viewpoint
>>> > > >         glMatrixMode(GL_PROJECTION);
>>> >
>>> > > > // here you
>>> > > > make a
>>> > > > ---
>>>
> >
>>> >         glPushMatrix();
>>> > > >            glLoadIdentity();
>>> > > >            glOrtho(0, GL_WIN_SIZE_X,
GL_WIN_SIZE_Y,
>>> 0, -1.0,
>>> > > 1.0);
>>> >
>>> > > >           //
>>> > > > Calculate the accumulative histogram
(the yellow display...)
>>> > >
>>> >           HERE SOME STUFFF
>>> > > >           .....
>>> > > >           //
Create the
>>> > > > OpenGL texture map
>>> > >
>>> >           glTexParameteri(GL_TEXTURE_2D,
>>> >
>>> > >
GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
>>> > > >
>>> (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>>>
>
>>> > > GL_LINEAR_MIPMAP_LINEAR);
>>> >
>>> > > >           glTexParameteri(GL_TEXTURE_2D,
>>>
>>> > > >
GL_TEXTURE_MAG_FILTER, GL_LINEAR);
>>> > > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX,
>>>
g_nTexMapY,
>>> 0, GL_RGB,
>>> > > > GL_UNSIGNED_BYTE, g_pTexMap);
>>> >
>>> > > >           // Display the OpenGL
texture map
>>> > >
>>> >           glColor4f(1,1,1,1);
>>> >
>>> > > >    glBegin(GL_QUADS);
>>> >
>>> > > >       int
nXRes = g_depthMD.FullXRes();
>>> > >
>>> >               int nYRes = g_depthMD.FullYRes();
>>> >
>>> > >
>              // upper
>>> > > left
>>> >
>>> > > >      glTexCoord2f(0,
>>> 0);
>>> > > >              glVertex2f(0,
0);
>>> > > >              // upper right
>>> > > >              glTexCoord2f((float)nXRes/
>>> (float)
>>> > > >
g_nTexMapX, 0);
>>> > > >              glVertex2f(GL_WIN_SIZE_X, 0);
>>> > > >              // bottom right
>>> > >
>>>
>              glTexCoord2f((float)nXRes/(float)
>>> > > > g_nTexMapX, (float)nYRes/(float)
>>> > > g_nTexMapY);
>>> >
>
>>> >              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
>>> > > >              // bottom left
>>> >
>>> > > >
glTexCoord2f(0,
>>> >
>>> >
>>> > (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0,
>>> GL_WIN_SIZE_Y);
>>>
>
>>> > > >         glEnd();  //THIS IS
>>> > >
>>> > EV. THE
>>> >
>>> > > FAILURE ITS CORRESPONDED WITH glBegin
(GL_QUAD);
>>> >
>>> > > > BUT YOU NO glPopMatrix()
>>> > > >
>>> ------------------------
>>> > > > regards
>>> >
>>>
> > nomad
>>> >
>>> > > > --------------------------
>>> >
>>> > > > ----Ursprüngliche
>>> Nachricht----
>>> > > >
Von: [hidden email]
>>> > > > Datum: 10.03.2012
>>> > > 14:
>>> > > > 44
>>> > > > An: "OpenNI"dev@googlegroups.
com>
>>> > > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
>>> > > reference to
>>> > > > symbol
>>>
'glEnd'
>>> >
>>> > > > Yes, I have all the requirements installed (from the README).
>>> > > > This was the
>>> > >
output of
>>> the
>>> > > > 'OpenNI/Platform/Linux/CreateRedist/
>>> > > > RedistMaker' script.
>>> >
>>> > > > On Mar
10, 10:01 am, "stevenm...
>>> >
>>> >
>>> > @bluewin.ch" @bluewin.ch>
>>> > > > wrote:> hi
>>> > > > > have you opengl-
headers and libs??? into
>>> compileScript
>>> > > RedistMaker ???
>>> > > > > glEnd should be
>>> > > > glEnd().....

>>> > > > > regards nomad
>>> >
>>> > > > > ----
>>> Ursprüngliche Nachricht----
>>> > > > > Von:
>>> >
>>> > >alibo...
@gmail.com> > Datum: 09.03.2012 23:51
>>> >
>>> > > > An: "OpenNI"
>>> com>
>>> > > > > Betreff: [OpenNI-
>>> >
>>> > >
dev] Building on debian sid: undefined reference to
>>> >
>>> >
>>> > > symbol 'glEnd'
>>> >
>>> > > > > Trying to
compile on
>>> > > > > current
>>> >
>>> > > debian sid using ./RedistMaker
>>> >
>>> > > >
>>> > Target: Linux-x86
>>>
>
>>> > > > Version: 1.5.2.23
>>> > > > > Num of compile jobs: 4
>>> >
>>> > > > > *
>>> > > Building
>>> > > > >
OpenNI...
>>>
>>> > > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>>> >
>>> > > > undefined reference to> symbol

>>> >
>>> > > 'glEnd'/usr/bin/ld:
>>> note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
>>> > > > > try
>>> >

>>> > > > adding it to the linker
>>> >
>>> > > command
>>> line> /usr/lib/libGL.so.1: could not read> > symbols:
Invalid operation
>>> > > > > collect2: ld
>>> >
>>> > > > returned 1 exit
>>> >
>>>
>>> > > status> make[1]: *** [../..
/../Bin/x86-Release/Sample-> >
>>> NiSimpleViewer] Error 1
>>> > > > > make: ***
>>> >
>>> > >
>>>
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished
>>> jobs....
>>> >
>>> > > > > /usr/bin/ld: ./x86-
Release/Draw.
>>> o:
>>> >
>>> > > > undefined reference to symbol> 'glEnd'
>>> > > > > /usr/bin/ld: note: 'glEnd' is
defined in DSO
>>> > > > >
>>> /usr/lib/libGL.so.1 so
>>> >
>>> > > > try
>>> >
>>> > > > adding it to the linker
command line> /usr/lib/libGL.so.1: could
>>> not read
>>> symbols: Invalid
>>> > > > > operation
>>> >
>>> > >
collect2: ld
>>> >
>>> > > > returned 1 exit status
>>> >
>>> > > > > make[1]: *** [../../..
>>> /Bin/x86-
Release/NiViewer] Error 1
>>> > > > > make: ***
>>> > > > > [Samples/NiViewer]
>>> > > > Error 2
>>> > > > > failed to

>>> execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>>> >
>>> > > > > Platform/Linux/CreateRedist/../Build

>>> > > > >
>>> /home/dreamer/Sources/kinect/
>>> >
>>> > > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt>
>
>>> Building Failed!
>>> >
>>> > >
>>> > > --
>>> > > > > You received this message
>>> > > because you
>>> > > > >
are subscribed to the Google Groups "OpenNI" group.
>>> >
>>> > > > To post to this group,
>>> >
>>> > > > send email
to openni-
>>> >
>>> > >[hidden email].
>>> >
>>> > > > > To unsubscribe from
>>> this group, send email to
openni-
>>> >
>>> > > >[hidden email].
>>> > > > For more options, visit this
>>> > > > >
>>> group
athttp://groups.google.com/group/openni-dev?
>>> >
>>> > > > hl=en.
>>> >
>>> > > > --
>>> > > > You received
>>> >
>>>
> > this message
>>> because you are subscribed to the Google Groups "OpenNI" group.> To post
>>> to this
>>> > > >
group, send email to
>>> >
>>> > >
>>> [hidden email].
>>> >
>>> > > > To unsubscribe from this group,
send email to openni-
>>> > > >
>>> dev+unsubscribe@googlegroups.
>>> > > com.
>>> > > > For more options, visit this
group athttp://
>>> groups.google.com/group/openni-
>>> dev?hl=en.
>>> >
>>> > > --
>>> > > You received this
>>> > >
message because you are subscribed to the Google Groups "OpenNI"
>>> group.
>>> >
>>> > To post to this group, send
email to openni-
>>> > >[hidden email].
>>> > > To unsubscribe from this group, send email
>>> to openni-
[hidden email].
>>> > > For more
>>> > > options, visit this group athttp://groups.google.
>>>
com/group/openni-dev?hl=en.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>>
Groups "OpenNI"
>>> group.
>>> To post to this group, send email to [hidden email].
>>> To unsubscribe
from this group, send email to
>>> [hidden email].
>>> For more options, visit this group at

>>> http://groups.google.com/group/openni-dev?hl=en.
>>>
>>>
>>>
On Wednesday, 14 March 2012 09:35:28 UTC+1, nomad
wrote:
>
>  hi
> you must on your compile included opengl.
> you can do that
> example:
> g++ -o niGestureX020
SceneDrawerX22.cpp niGestureX020.cpp
> -I/usr/include/GL -I/usr/include/ni -l'OpenNI' -l'glut' -lglut -lGLU -lGL
>
niGestureX020.cpp change to your program-name.
> regards nomad
>
>
>
>
> Btw, I see that in Samples/NiSimpleViewer/x86-
Release/NiSimpleViewer.d
> there is uncluded /usr/include/GL/gl.h:
> which actually provides: GLAPI void GLAPIENTRY
glEnd( void );
>
> So, I really have no idea what's going on :)
>
>
> On Tuesday, 13 March 2012 09:39:34 UTC+1,
Alexander wrote:
>>
>> No, I'm definitely sure that I pulled the git repository correctly.
>> I actually tried a clean
pull and I get the exact same result.
>>
>>
>> On Tuesday, 13 March 2012 09:05:10 UTC+1, nomad wrote:
>>>
>>> hi (2)

>>> its possible that you have the package (unstable or master) not correct
>>> install.... :-(
>>> excuse my english

>>>
>>> regards nomad
>>>
>>> ----Ursprüngliche Nachricht----
>>> Von: [hidden email]
>>> Datum: 12.03.2012 09:59

>>> An: "OpenNI"[hidden email]>
>>> Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference to
>>>
symbol 'glEnd'
>>>
>>>
>>> Btw, I get the same result with the master branch.
>>>
>>>
>>> On Mar 12, 9:54 am, Alexander
<[hidden email]> wrote:
>>> > You
>>> mean I should grep through the entire openni source?
>>> > Let me remind
you: this is not 'my' code. It's the unstable
>>> branch
>>> > from github.
>>> >
>>> > I appreciate your help, but I
still have no idea what to do with it.
>>> >
>>> > On Mar 12, 9:12 am,
>>> "[hidden email]" <stevenm...@bluewin.
ch>
>>> > wrote:
>>> >
>>> >
>>> >


>>> >
>>> >
>>> >
>>> >
>>> > > hi
>>> > > look in your code
>>> > > if you make a

>>> >
>>> > glPushMatrix();
>>> > >      .....
>>> >
>>> > > >    this is wrong  glColor4f(1,1,1,1); float
>>> >
>>> >

> (1.0f,1.0f,1.0f,1.0f)
>>> >
>>> >       .......
>>> >
>>> > >          glBegin(GL_QUADS);
>>> > >              
......
>>> > >               ......
>>> >
>>> >
>>> >              glEnd();  //THIS IS
>>> > >  glPopMatrix()
>>> >
>>>
> > hope its useful
>>> > > regards nomad
>>> >
>>> > > ----
>>> Ursprüngliche Nachricht----
>>> >
>>> > > Von: alibo...
@gmail.com
>>> > > Datum: 11.03.2012 12:49
>>> > > An: "OpenNI"[hidden email]>
>>> > > Betreff: [OpenNI-dev] Re:

>>> > > Building on debian sid: undefined reference to symbol '
>>> glEnd'
>>> >
>>> > > I'm sorry, but I have no idea
what to do with
>>> > > your code.
>>> >
>>> > > Maybe I didn't mention this is from
>>> latest unstable branch.
>>> >

>>> > > On Mar 11, 8:16 am, "[hidden email]"
>>> > ><[hidden email]>
>>> > > wrote:
>>> >
>>> > >
>>> > i
think its ev.
>>> > > > this stuff on:
>>> > > > PLEASE READ THIS:
>>> >
>>> > > > void glutDisplay (void)
>>> > > > {

>>> > >
>>> >         XnStatus rc = XN_STATUS_OK;
>>> >
>>> > > >         // Read a
>>> > > > new frame
>>> > >
>         rc = g_context.
>>> WaitAnyUpdateAll();
>>> > > >         if (rc != XN_STATUS_OK)
>>> > > >         {
>>> > >
>                 printf("Read failed: %
>>> s\n",
>>> > > > xnGetStatusString(rc));
>>> > > >                 return;

>>> > > >         }
>>> >
>>> > > >         g_depth.GetMetaData
>>> (g_depthMD);
>>> > > >         g_image.GetMetaData

>>> > > (g_imageMD);
>>> > > >         const
>>> > > > XnDepthPixel* pDepth =
>>> g_depthMD.Data();
>>> > > >        
const XnUInt8* pImage = g_imageMD.
>>> > > Data();
>>> >
>>> > > >         unsigned int nImageScale
>>> =
>>> > > >
GL_WIN_SIZE_X / g_depthMD.FullXRes();
>>> >
>>> > > >         // Copied from
>>> > > SimpleViewer
>>> > > >         //
Clear
>>> the OpenGL buffers
>>> > > >         glClear
>>> > > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
>>> >

>>> > > >         // Setup
>>> the OpenGL viewpoint
>>> > > >         glMatrixMode(GL_PROJECTION);
>>> >
>>> > > > //
here you
>>> > > > make a
>>> > > > ---
>>> > >
>>> >         glPushMatrix();
>>> > > >            glLoadIdentity();

>>> > > >            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y,
>>> 0, -1.0,
>>> > > 1.0);
>>> >
>>> > > >           //

>>> > > > Calculate the accumulative histogram (the yellow display...)
>>> > >
>>> >           HERE SOME STUFFF
>>> > >
>           .....
>>> > > >           // Create the
>>> > > > OpenGL texture map
>>> > >
>>> >           glTexParameteri
(GL_TEXTURE_2D,
>>> >
>>> > > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>           glTexParameteri
>>> > > >
>>>
(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
>>> >
>>> > > GL_LINEAR_MIPMAP_LINEAR);
>>> >
>>> > > >           glTexParameteri
(GL_TEXTURE_2D,
>>>
>>> > > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
>>> > > >           glTexImage2D(GL_TEXTURE_2D, 0,
GL_RGB, g_nTexMapX,
>>> g_nTexMapY,
>>> 0, GL_RGB,
>>> > > > GL_UNSIGNED_BYTE, g_pTexMap);
>>> >
>>> > > >          
// Display the OpenGL texture map
>>> > >
>>> >           glColor4f(1,1,1,1);
>>> >
>>> > > >    glBegin(GL_QUADS);
>>>
>
>>> > > >       int nXRes = g_depthMD.FullXRes();
>>> > >
>>> >               int nYRes = g_depthMD.FullYRes();
>>> >

>>> > > >              // upper
>>> > > left
>>> >
>>> > > >      glTexCoord2f(0,
>>> 0);
>>> > > >              
glVertex2f(0, 0);
>>> > > >              // upper right
>>> > > >              glTexCoord2f((float)nXRes/
>>> (float)

>>> > > > g_nTexMapX, 0);
>>> > > >              glVertex2f(GL_WIN_SIZE_X, 0);
>>> > > >              // bottom right

>>> > >
>>> >              glTexCoord2f((float)nXRes/(float)
>>> > > > g_nTexMapX, (float)nYRes/(float)
>>> > >
g_nTexMapY);
>>> > >
>>> >              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
>>> > > >              // bottom left

>>> >
>>> > > > glTexCoord2f(0,
>>> >
>>> >
>>> > (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0,
>>>
GL_WIN_SIZE_Y);
>>> >
>>> > > >         glEnd();  //THIS IS
>>> > >
>>> > EV. THE
>>> >
>>> > > FAILURE ITS
CORRESPONDED WITH glBegin(GL_QUAD);
>>> >
>>> > > > BUT YOU NO glPopMatrix()
>>> > > >
>>> ------------------------
>>>
> > > regards
>>> >
>>> > > nomad
>>> >
>>> > > > --------------------------
>>> >
>>> > > > ----Ursprüngliche
>>>
Nachricht----
>>> > > > Von: [hidden email]
>>> > > > Datum: 10.03.2012
>>> > > 14:
>>> > > > 44
>>> > > > An:
"OpenNI"[hidden email]>
>>> > > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
>>> > > reference
to
>>> > > > symbol
>>> 'glEnd'
>>> >
>>> > > > Yes, I have all the requirements installed (from the README).
>>> > >
> This was the
>>> > > output of
>>> the
>>> > > > 'OpenNI/Platform/Linux/CreateRedist/
>>> > > > RedistMaker' script.

>>> >
>>> > > > On Mar 10, 10:01 am, "stevenm...
>>> >
>>> >
>>> > @bluewin.ch" @bluewin.ch>
>>> > > > wrote:> hi


>>> >
> > > have you opengl-headers and libs??? into
>>> compileScript
>>> > > RedistMaker ???
>>> > > > > glEnd should be

>>> > > > glEnd().....
>>> > > > > regards nomad
>>> >
>>> > > > > ----
>>> Ursprüngliche Nachricht----
>>> > > > >

Von:
>>> >
>>> > >[hidden email]> > Datum: 09.03.2012 23:51
>>> >
>>> > > > An: "OpenNI"
>>> com>
>>> > > > >
Betreff: [OpenNI-
>>> >
>>> > > dev] Building on debian sid: undefined reference to
>>> >
>>> >
>>> > > symbol 'glEnd'

>>> >
>>> > > > > Trying to compile on


>>> > > > > current
>>> >
>>> > > debian sid using ./RedistMaker
>>> >
>>> > > >

>>> > Target: Linux-x86
>>> >
>>> > > > Version: 1.5.2.23
>>> > > > > Num of compile jobs: 4
>>> >
>>> > > > > *

>>> >
> Building
>>> > > > > OpenNI...
>>>
>>> > > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
>>> >
>>> > > > undefined
reference to> symbol
>>> >
>>> > > 'glEnd'/usr/bin/ld:
>>> note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so

>>> > > > > try
>>> >
>>> > > > adding it to the linker
>>> >
>>> > > command
>>> line> /usr/lib/libGL.so.1: could not
read> > symbols: Invalid operation
>>> > > > > collect2: ld
>>> >
>>> > > > returned 1 exit
>>> >
>>>
>>> > > status>
make[1]: *** [../../../Bin/x86-Release/Sample-> >
>>> NiSimpleViewer] Error 1
>>> > > > > make: ***
>>> >
>>> > >
>>>
[Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished
>>> jobs....
>>> >
>>> > > > > /usr/bin/ld: ./x86-
Release/Draw.
>>> o:
>>> >
>>> > > > undefined reference to symbol> 'glEnd'
>>> > > > > /usr/bin/ld: note: 'glEnd' is
defined in DSO
>>> > > > >
>>> /usr/lib/libGL.so.1 so
>>> >
>>> > > > try
>>> >
>>> > > > adding it to the linker
command line> /usr/lib/libGL.so.1: could
>>> not read
>>> symbols: Invalid
>>> > > > > operation
>>> >
>>> > >
collect2: ld
>>> >
>>> > > > returned 1 exit status
>>> >
>>> > > > > make[1]: *** [../../..
>>> /Bin/x86-
Release/NiViewer] Error 1
>>> > > > > make: ***
>>> > > > > [Samples/NiViewer]
>>> > > > Error 2
>>> > > > > failed to

>>> execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
>>> >
>>> > > > > Platform/Linux/CreateRedist/../Build

>>> > > > >
>>> /home/dreamer/Sources/kinect/
>>> >
>>> > > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt>
>
>>> Building Failed!
>>> >
>>> > >
>>> > > --
>>> > > > > You received this message
>>> > > because you
>>> > > > >
are subscribed to the Google Groups "OpenNI" group.
>>> >
>>> > > > To post to this group,
>>> >
>>> > > > send email
to openni-
>>> >
>>> > >[hidden email].
>>> >
>>> > > > > To unsubscribe from
>>> this group, send email to
openni-
>>> >
>>> > > >[hidden email].
>>> > > > For more options, visit this
>>> > > > >
>>> group
athttp://groups.google.com/group/openni-dev?
>>> >
>>> > > > hl=en.
>>> >
>>> > > > --
>>> > > > You received
>>> >
>>>
> > this message
>>> because you are subscribed to the Google Groups "OpenNI" group.> To post
>>> to this
>>> > > >
group, send email to
>>> >
>>> > >
>>> [hidden email].
>>> >
>>> > > > To unsubscribe from this group,
send email to openni-
>>> > > >
>>> dev+unsubscribe@googlegroups.
>>> > > com.
>>> > > > For more options, visit this
group athttp://
>>> groups.google.com/group/openni-
>>> dev?hl=en.
>>> >
>>> > > --
>>> > > You received this
>>> > >
message because you are subscribed to the Google Groups "OpenNI"
>>> group.
>>> >
>>> > To post to this group, send
email to openni-
>>> > >[hidden email].
>>> > > To unsubscribe from this group, send email
>>> to openni-
[hidden email].
>>> > > For more
>>> > > options, visit this group athttp://groups.google.
>>>
com/group/openni-dev?hl=en.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>>
Groups "OpenNI"
>>> group.
>>> To post to this group, send email to [hidden email].
>>> To unsubscribe
from this group, send email to
>>> [hidden email].
>>> For more options, visit this group at

>>> http://groups.google.com/group/openni-dev?hl=en.
>>>
>>>
>>>

--
You received this message because you are
subscribed to the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/UU7EzSoaGzAJ.
To post to this
group, send email to [hidden email].
To unsubscribe from this group, send email to openni-
[hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.


--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/MTIDx_x4LBIJ.

To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

AW: Re: Re: [OpenNI-dev] Re: Building on debian sid: undefined reference to symbol 'glEnd'

stevenmorf@bluewin.ch
In reply to this post by Alexander
hi
ok, bye
regards nomad

----Ursprüngliche Nachricht----
Von: [hidden email]
Datum: 16.03.2012 00:58
An: <openni-
[hidden email]>
Kopie: <[hidden email]>
Betreff: Re: Re: [OpenNI-dev] Re: Building on debian sid:
undefined reference to symbol &#39;glEnd&#39;

My program? Your compile?

With every post you make I have less clue
what you are talking about.

I really hope an actual developer picks this up.


On Thursday, 15 March 2012 09:04:41
UTC+1, nomad wrote:
>
> hi
> if you have a source-code of your program...
> then make a experiment with my compile
> if
not : i dont know what you
> then doing
> excuse
> regards nomad
>
> ----Ursprüngliche Nachricht----
> Von:
[hidden email]
> Datum: 14.03.2012 10:09
> An:
> <[hidden email]>
> Kopie: <[hidden email]>
>
Betreff: Re: [OpenNI-dev] Re: Building on debian sid:
> undefined reference to symbol &#39;glEnd&#39;
>
> But how do I
do that using the RedistMaker script?
>
>
> On Wednesday, 14
> March 2012 09:35:28 UTC+1, nomad wrote:
> >
> >  hi
> >
you must on your compile included opengl.
> > you can do that
> >
> example:
> > g++ -o niGestureX020 SceneDrawerX22.
cpp niGestureX020.cpp
> > -I/usr/include/GL -I/usr/include/ni -l'OpenNI' -
> l'glut' -lglut -lGLU -lGL
> >
niGestureX020.cpp change to your program-name.
> > regards nomad
> >
> >
> >
> >
> > Btw, I see that
> in
Samples/NiSimpleViewer/x86-Release/NiSimpleViewer.d
> > there is uncluded /usr/include/GL/gl.h:
> > which actually
>
provides: GLAPI void GLAPIENTRY glEnd( void );
> >
> > So, I really have no idea what's going on :)
> >
> >
> > On
Tuesday, 13
> March 2012 09:39:34 UTC+1, Alexander wrote:
> >>
> >> No, I'm definitely sure that I pulled the git
repository correctly.
>
> >> I actually tried a clean pull and I get the exact same result.
> >>
> >>
> >> On Tuesday,
13 March 2012 09:05:10 UTC+1,
> nomad wrote:
> >>>
> >>> hi (2)
> >>> its possible that you have the package (unstable
or master) not
> correct
> >>>
> install.... :-(
> >>> excuse my english
> >>>
> >>> regards nomad
> >>>
> >>> ----
Ursprüngliche Nachricht----
> >>> Von:
> [hidden email]
> >>> Datum: 12.03.2012 09:59
> >>> An: "OpenNI"
[hidden email]>
> >>> Betreff: [OpenNI-dev] Re:
> Building on debian sid: undefined reference to
> >>> symbol
'glEnd'
> >>>
> >>>
> >>> Btw, I get the same result with the
> master branch.
> >>>
> >>>
> >>> On Mar 12, 9:54 am,
Alexander <[hidden email]> wrote:

> >>> > You
> >>> mean I should grep
> through the entire openni source?
> >>>
> Let me remind you: this is not 'my' code. It's the unstable
> >>> branch
> >>> >
> from github.
> >>> >
> >>> > I
appreciate your help, but I still have no idea what to do with it.
> >>> >
> >>> > On Mar 12, 9:
> 12 am,
> >>>
"[hidden email]" <[hidden email]>
> >>> > wrote:
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >

> >>>
> > > hi
> >>> > > look in your code
> >>> > > if you make a
> >>> >
> >>> > glPushMatrix();
> >>> > >      
.....

> >>> >
> >>> > >
> >    this is wrong  glColor4f(1,1,1,1); float
> >>> >
> >>> > > (1.0f,1.0f,1.0f,1.0f)
> >>>
>
> >>> >       .......
> >>> >
> >>> >
> >          glBegin(GL_QUADS);
> >>> > >               ......
> >>> >
>               ......
> >>> >
> >>> >
> >>> >              
> glEnd();  //THIS IS
> >>> > >  glPopMatrix()
> >>> >
>
>>> > > hope its useful
> >>> > > regards nomad
> >>> >
> >>> > > ----
> >>>
> Ursprüngliche Nachricht----
> >>> >
>
>>> > > Von: [hidden email]
> >>> > > Datum: 11.03.2012 12:49
> >>> > > An: "OpenNI"
> [hidden email]>
> >>>
> > Betreff: [OpenNI-dev] Re:
> >>> > > Building on debian sid: undefined reference to symbol '
>
> >>> glEnd'
> >>> >

> >>> > > I'm sorry, but I have no idea what to do with
> >>> > > your code.
> >>> >
> >>> > > Maybe I didn't
>
mention this is from

> >>> latest unstable branch.
> >>> >
> >>> > > On Mar 11, 8:16 am, "[hidden email]"
> >>>
>
> ><[hidden email]>
> >>> > > wrote:
> >>> >
> >>> > >
> >>> > i think its ev.
> >>> > > > this stuff on:
>
>>> > > > PLEASE
> READ THIS:
> >>> >
> >>> > > > void glutDisplay (void)
> >>> > > > {
> >>> > >
> >>> >        
XnStatus rc = XN_STATUS_OK;
> >>> >
>
> >>> > > >         // Read a
> >>> > > > new frame
> >>> > > >         rc =
g_context.

> >>> WaitAnyUpdateAll();
> >>> > >
> >         if (rc != XN_STATUS_OK)
> >>> > > >         {
> >>> > >
>                 printf("Read failed: %
> >>> s\n",
> >>> >
> > > xnGetStatusString(rc));
> >>> > > >                
return;
> >>> > > >         }
> >>> >
> >>> > > >         g_depth.
> GetMetaData
> >>> (g_depthMD);
> >>> > > >        
g_image.GetMetaData
> >>> > > (g_imageMD);
> >>> > > >         const
> >>> > >
> > XnDepthPixel* pDepth =
> >>>
g_depthMD.Data();

> >>> > > >         const XnUInt8* pImage = g_imageMD.
> >>> > > Data();
>
> >>> >
> >>> > >
>         unsigned int nImageScale
> >>> =
> >>> > > > GL_WIN_SIZE_X / g_depthMD.FullXRes();
> >>> >
> >>> > >
>
>         // Copied from
> >>> > > SimpleViewer
> >>> > > >         // Clear
> >>> the OpenGL buffers
> >>> > >
>        
> glClear
> >>> > > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
> >>> >
> >>> > > >         // Setup
>
>>> the OpenGL
> viewpoint
> >>> > > >         glMatrixMode(GL_PROJECTION);
> >>> >
> >>> > > > // here you
> >>> > >
> make a
> >>> > > > ---
> >>>
> > >
> >>> >         glPushMatrix();
> >>> > > >            glLoadIdentity();
> >>> >
> >            glOrtho(0, GL_WIN_SIZE_X,
> GL_WIN_SIZE_Y,
> >>> 0, -1.0,
> >>> > > 1.0);
> >>> >
> >>> > >
>           //
> >>> > > > Calculate the accumulative histogram
> (the yellow display...)
> >>> > >
> >>> >          
HERE SOME STUFFF

> >>> > > >           .....
> >>> > > >           //
> Create the
> >>> > > > OpenGL texture map
>
>>> > >
> >>> >           glTexParameteri(GL_TEXTURE_2D,
> >>> >
> >>> > >
> GL_GENERATE_MIPMAP_SGIS, GL_TRUE);
>           glTexParameteri
> >>> > > >
> >>> (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
> >>>
> >
> >>> > >
GL_LINEAR_MIPMAP_LINEAR);
> >>> >
> >>> > > >           glTexParameteri(GL_TEXTURE_2D,
> >>>
> >>> > > >
>
GL_TEXTURE_MAG_FILTER, GL_LINEAR);
> >>> > > >           glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, g_nTexMapX,
> >>>
>
g_nTexMapY,
> >>> 0, GL_RGB,
> >>> > > > GL_UNSIGNED_BYTE, g_pTexMap);
> >>> >
> >>> > > >           // Display the
OpenGL
> texture map
> >>> > >
> >>> >           glColor4f(1,1,1,1);
> >>> >
> >>> > > >    glBegin(GL_QUADS);
> >>> >

> >>> > > >       int
> nXRes = g_depthMD.FullXRes();
> >>> > >
> >>> >               int nYRes = g_depthMD.
FullYRes();
> >>> >
> >>> > >
> >              // upper
> >>> > > left
> >>> >
> >>> > > >      glTexCoord2f(0,
> >>>
0);
> >>> > > >              glVertex2f(0,
> 0);
> >>> > > >              // upper right
> >>> > > >              
glTexCoord2f((float)nXRes/
> >>> (float)
> >>> > > >
> g_nTexMapX, 0);
> >>> > > >              glVertex2f
(GL_WIN_SIZE_X, 0);
> >>> > > >              // bottom right
> >>> > >
> >>>
> >              glTexCoord2f((float)
nXRes/(float)
> >>> > > > g_nTexMapX, (float)nYRes/(float)
> >>> > > g_nTexMapY);
> >>> >
> >
> >>> >              
glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> >>> > > >              // bottom left
> >>> >
> >>> > > >
> glTexCoord2f
(0,
> >>> >
> >>> >
> >>> > (float)nYRes/(float)g_nTexMapY);>              glVertex2f(0,
> >>> GL_WIN_SIZE_Y);
> >>>

> >
> >>> > > >         glEnd();  //THIS IS
> >>> > >
> >>> > EV. THE
> >>> >
> >>> > > FAILURE ITS CORRESPONDED WITH
glBegin

> (GL_QUAD);
> >>> >
> >>> > > > BUT YOU NO glPopMatrix()
> >>> > > >
> >>> ------------------------
> >>> > >
> regards
> >>> >
> >>>
> > > nomad
> >>> >
> >>> > > > --------------------------
> >>> >
> >>> > > > ----
Ursprüngliche

> >>> Nachricht----
> >>> > > >
> Von: [hidden email]
> >>> > > > Datum: 10.03.2012
> >>> > > 14:
>
>>> > > > 44
> >>> > > > An: "OpenNI"dev@googlegroups.
> com>
> >>> > > > Betreff: [OpenNI-dev] Re: Building on debian
sid: undefined
> >>> > > reference to
> >>> > > > symbol
> >>>
> 'glEnd'
> >>> >
> >>> > > > Yes, I have all the
requirements installed (from the README).
> >>> > > > This was the
> >>> > >
> output of
> >>> the
> >>> > > >
'OpenNI/Platform/Linux/CreateRedist/
> >>> > > > RedistMaker' script.
> >>> >
> >>> > > > On Mar
> 10, 10:01 am,
"stevenm...
> >>> >
> >>> >
> >>> > @bluewin.ch" @bluewin.ch>
> >>> > > > wrote:> hi
> >>> > > > > have you opengl-
>
headers and libs??? into
> >>> compileScript
> >>> > > RedistMaker ???
> >>> > > > > glEnd should be
> >>> > > >
glEnd().....
>
> >>> > > > > regards nomad
> >>> >
> >>> > > > > ----
> >>> Ursprüngliche Nachricht----
> >>> > > > >
Von:

> >>> >
> >>> > >alibo...
> @gmail.com> > Datum: 09.03.2012 23:51
> >>> >
> >>> > > > An: "OpenNI"
> >>> com>
>
>>> > > > > Betreff: [OpenNI-
> >>> >
> >>> > >
> dev] Building on debian sid: undefined reference to
> >>> >
> >>> >

> >>> > > symbol 'glEnd'
> >>> >
> >>> > > > > Trying to
> compile on
> >>> > > > > current
> >>> >
> >>> > > debian
sid using ./RedistMaker

> >>> >
> >>> > > >
> >>> > Target: Linux-x86
> >>>
> >
> >>> > > > Version: 1.5.2.23
> >>> >
> > > Num of compile jobs: 4
> >>> >
> >>> > > > > *
> >>> > > Building
> >>> > > > >
> OpenNI...
> >>>
> >>> > > > >
/usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
> >>> >
> >>> > > > undefined reference to> symbol
>
> >>> >
> >>> > >
'glEnd'/usr/bin/ld:

> >>> note: 'glEnd'> > is defined in DSO /usr/lib/libGL.so.1 so
> >>> > > > > try
> >>> >
>
> >>>
> > > adding it to the linker
> >>> >
> >>> > > command
> >>> line> /usr/lib/libGL.so.1: could not read> > symbols:
>
Invalid operation
> >>> > > > > collect2: ld
> >>> >
> >>> > > > returned 1 exit
> >>> >
> >>>
> >>> > > status> make
[1]: *** [../..

> /../Bin/x86-Release/Sample-> >
> >>> NiSimpleViewer] Error 1
> >>> > > > > make: ***
> >>> >
> >>> >
>
> >>>
> [Samples/NiSimpleViewer] Error 2> make: *** Waiting for unfinished
> >>> jobs....
> >>> >
> >>> > > > >
/usr/bin/ld: ./x86-
> Release/Draw.
> >>> o:
> >>> >
> >>> > > > undefined reference to symbol> 'glEnd'
> >>> > > > >
/usr/bin/ld: note: 'glEnd' is

> defined in DSO
> >>> > > > >
> >>> /usr/lib/libGL.so.1 so
> >>> >
> >>> > > > try
>
>>> >
> >>> > > > adding it to the linker
> command line> /usr/lib/libGL.so.1: could
> >>> not read
> >>> symbols:
Invalid

> >>> > > > > operation
> >>> >
> >>> > >
> collect2: ld
> >>> >
> >>> > > > returned 1 exit status
> >>> >
>
>>> > > > > make[1]: *** [../../..
> >>> /Bin/x86-
> Release/NiViewer] Error 1
> >>> > > > > make: ***
> >>> > > > >
[Samples/NiViewer]
> >>> > > > Error 2
> >>> > > > > failed to
>
> >>> execute: make  -j4 -C
/home/dreamer/Sources/kinect/OpenNI/
> >>> >
> >>> > > > > Platform/Linux/CreateRedist/../Build
>
> >>> > > > >
> >>>
/home/dreamer/Sources/kinect/
> >>> >
> >>> > > OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt>
> >
> >>>
Building Failed!

> >>> >
> >>> > >
> >>> > > --
> >>> > > > > You received this message
> >>> > > because you
> >>> > >
> >
> are subscribed to the Google Groups "OpenNI" group.
> >>> >
> >>> > > > To post to this group,
> >>> >
> >>> > >
> send email
> to openni-
> >>> >
> >>> > >[hidden email].
> >>> >
> >>> > > > > To unsubscribe from
> >>> this
group, send email to
> openni-
> >>> >
> >>> > > >[hidden email].
> >>> > > > For more options,
visit this
> >>> > > > >
> >>> group
> athttp://groups.google.com/group/openni-dev?
> >>> >
> >>> > > > hl=en.
> >>> >

> >>> > > > --
> >>> > > > You received
> >>> >
> >>>
> > > this message
> >>> because you are subscribed to the
Google Groups "OpenNI" group.> To
> post
> >>> to this
> >>> > > >
> group, send email to
> >>> >
> >>> > >
> >>>
[hidden email].

> >>> >
> >>> > > > To unsubscribe from this group,
> send email to openni-
> >>> > > >
>
>>> dev+unsubscribe@googlegroups.
> >>> > > com.
> >>> > > > For more options, visit this
> group athttp://
> >>>
groups.google.com/group/openni-
> >>> dev?hl=en.
> >>> >
> >>> > > --
> >>> > > You received this
> >>> > >
> message
because you are subscribed to the Google Groups "OpenNI"
> >>> group.
> >>> >
> >>> > To post to this group, send
>
email to openni-
> >>> > >[hidden email].
> >>> > > To unsubscribe from this group, send email
> >>> to openni-

> [hidden email].
> >>> > > For more
> >>> > > options, visit this group athttp://groups.google.
>
>>>
> com/group/openni-dev?hl=en.
> >>>
> >>> --
> >>> You received this message because you are subscribed to the
Google
> >>>
> Groups "OpenNI"
> >>> group.
> >>> To post to this group, send email to [hidden email].

> >>> To unsubscribe
> from this group, send email to
> >>> [hidden email].
> >>> For more
options, visit this group at
>
> >>> http://groups.google.com/group/openni-dev?hl=en.
> >>>
> >>>
> >>>
> On Wednesday, 14 March 2012 09:35:28 UTC+1,
nomad
> wrote:
> >
> >  hi
> > you must on your compile included opengl.
> > you can do that
> > example:
> > g++ -o
niGestureX020
> SceneDrawerX22.cpp niGestureX020.cpp
> > -I/usr/include/GL -I/usr/include/ni -l'OpenNI' -l'glut' -
lglut -lGLU
> -lGL
> >
> niGestureX020.cpp change to your program-name.
> > regards nomad
> >
> >
> >
> >
> > Btw, I
see that in Samples/NiSimpleViewer/x86-
> Release/NiSimpleViewer.d
> > there is uncluded /usr/include/GL/gl.h:
> >
which actually provides: GLAPI void GLAPIENTRY

> glEnd( void );
> >
> > So, I really have no idea what's going on :)
>
>
> >
> > On Tuesday, 13 March 2012 09:39:34 UTC+1,
> Alexander wrote:
> >>
> >> No, I'm definitely sure that I pulled
the git repository correctly.
> >> I actually tried a clean
> pull and I get the exact same result.
> >>
> >>
> >> On
Tuesday, 13 March 2012 09:05:10 UTC+1, nomad wrote:
> >>>
> >>> hi (2)
>
> >>> its possible that you have the package
(unstable or master) not

> correct
> >>> install.... :-(
> >>> excuse my english
>
> >>>
> >>> regards nomad
> >>>
>
>>> ----Ursprüngliche Nachricht----
> >>> Von: [hidden email]
> >>> Datum: 12.03.2012 09:59
>
> >>> An: "OpenNI"
[hidden email]>
> >>> Betreff: [OpenNI-dev] Re: Building on debian sid: undefined reference
> to
> >>>
>
symbol 'glEnd'
> >>>
> >>>
> >>> Btw, I get the same result with the master branch.
> >>>
> >>>
> >>> On Mar 12, 9:54
am, Alexander

> <[hidden email]> wrote:
> >>> > You
> >>> mean I should grep through the entire openni source?
>
>>> > Let me remind
> you: this is not 'my' code. It's the unstable
> >>> branch
> >>> > from github.
> >>> >
> >>> >
I appreciate your help, but I
> still have no idea what to do with it.
> >>> >
> >>> > On Mar 12, 9:12 am,
> >>>
"[hidden email]" <stevenm...@bluewin.

> ch>
> >>> > wrote:
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >
> >>> >
> >>>
>
> >>> > > hi
> >>> > > look in your code
> >>> > > if you make a
>
> >>> >
> >>> > glPushMatrix();
> >>> > >      
.....

> >>> >
> >>> > > >    this is wrong  glColor4f(1,1,1,1); float
> >>> >
> >>> >
> > (1.0f,1.0f,1.0f,1.0f)
> >>>
>
> >>> >       .......
> >>> >
> >>> > >          glBegin(GL_QUADS);
> >>> > >              
> ......
> >>> >
>               ......
> >>> >
> >>> >
> >>> >              glEnd();  //THIS IS
> >>> > >  glPopMatrix()
> >>> >
> >>>

> > > hope its useful
> >>> > > regards nomad
> >>> >
> >>> > > ----
> >>> Ursprüngliche Nachricht----
> >>> >
> >>> >
> Von: alibo...
> @gmail.com
> >>> > > Datum: 11.03.2012 12:49
> >>> > > An: "OpenNI"[hidden email]>
> >>> > >
Betreff: [OpenNI-dev] Re:

>
> >>> > > Building on debian sid: undefined reference to symbol '
> >>> glEnd'
> >>> >
>
>>> > > I'm sorry, but I have no idea
> what to do with
> >>> > > your code.
> >>> >
> >>> > > Maybe I didn't mention
this is from

> >>> latest unstable branch.
> >>> >
>
> >>> > > On Mar 11, 8:16 am, "[hidden email]"
> >>> >
><[hidden email]>
> >>> > > wrote:
> >>> >
> >>> > >
> >>> > i
> think its ev.
> >>> > > > this stuff on:
> >>>
> > > PLEASE READ THIS:
> >>> >
> >>> > > > void glutDisplay (void)
> >>> > > > {
>
> >>> > >
> >>> >         XnStatus
rc = XN_STATUS_OK;

> >>> >
> >>> > > >         // Read a
> >>> > > > new frame
> >>> > >
> >         rc = g_context.
>
>>> WaitAnyUpdateAll();
> >>> > > >         if (rc != XN_STATUS_OK)
> >>> > > >         {
> >>> > >
>
>                 printf("Read failed: %
> >>> s\n",
> >>> > > > xnGetStatusString(rc));
> >>> > > >                
return;
>
> >>> > > >         }
> >>> >
> >>> > > >         g_depth.GetMetaData
> >>> (g_depthMD);
> >>> > > >        
g_image.GetMetaData
>
> >>> > > (g_imageMD);
> >>> > > >         const
> >>> > > > XnDepthPixel* pDepth =
> >>>
g_depthMD.Data();

> >>> > > >        
> const XnUInt8* pImage = g_imageMD.
> >>> > > Data();
> >>> >
> >>> > >
>         unsigned int nImageScale
> >>> =
> >>> > > >
> GL_WIN_SIZE_X / g_depthMD.FullXRes();
> >>> >
> >>> > >
>         // Copied from
> >>> > > SimpleViewer
> >>> > > >         //
> Clear
> >>> the OpenGL buffers
> >>> > >
>         glClear
> >>> > > > (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
> >>> >
>
> >>> > > >         // Setup
>
>>> the OpenGL viewpoint
> >>> > > >         glMatrixMode(GL_PROJECTION);
> >>> >
> >>> > > > //
> here you
> >>> > >
> make a
> >>> > > > ---
> >>> > >
> >>> >         glPushMatrix();
> >>> > > >            glLoadIdentity();
>
> >>> > >
>            glOrtho(0, GL_WIN_SIZE_X, GL_WIN_SIZE_Y,
> >>> 0, -1.0,
> >>> > > 1.0);
> >>> >
> >>> > > >           //

>
> >>> > > > Calculate the accumulative histogram (the yellow display...)
> >>> > >
> >>> >           HERE SOME STUFFF

> >>> > >
> >           .....
> >>> > > >           // Create the
> >>> > > > OpenGL texture map
> >>> > >
> >>>
>           glTexParameteri
> (GL_TEXTURE_2D,
> >>> >
> >>> > > GL_GENERATE_MIPMAP_SGIS, GL_TRUE);>          
glTexParameteri
> >>> > > >
> >>>
> (GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER,
> >>> >
> >>> > > GL_LINEAR_MIPMAP_LINEAR);

> >>> >
> >>> > > >           glTexParameteri
> (GL_TEXTURE_2D,
> >>>
> >>> > > > GL_TEXTURE_MAG_FILTER, GL_LINEAR);
>
>>> > > >           glTexImage2D(GL_TEXTURE_2D, 0,
> GL_RGB, g_nTexMapX,
> >>> g_nTexMapY,
> >>> 0, GL_RGB,
> >>> >
> > GL_UNSIGNED_BYTE, g_pTexMap);
> >>> >
> >>> > > >          
> // Display the OpenGL texture map
> >>> > >
> >>>
>           glColor4f(1,1,1,1);
> >>> >
> >>> > > >    glBegin(GL_QUADS);
> >>>
> >
> >>> > > >       int nXRes =
g_depthMD.FullXRes();

> >>> > >
> >>> >               int nYRes = g_depthMD.FullYRes();
> >>> >
>
> >>> > >
>              // upper
> >>> > > left
> >>> >
> >>> > > >      glTexCoord2f(0,
> >>> 0);
> >>> > > >              
>
glVertex2f(0, 0);
> >>> > > >              // upper right
> >>> > > >              glTexCoord2f((float)nXRes/
> >>>
(float)
>
> >>> > > > g_nTexMapX, 0);
> >>> > > >              glVertex2f(GL_WIN_SIZE_X, 0);
> >>> > > >              
// bottom right
>
> >>> > >
> >>> >              glTexCoord2f((float)nXRes/(float)
> >>> > > > g_nTexMapX, (float)nYRes/
(float)

> >>> > >
> g_nTexMapY);
> >>> > >
> >>> >              glVertex2f(GL_WIN_SIZE_X, GL_WIN_SIZE_Y);
> >>> > >
>              // bottom left
>
> >>> >
> >>> > > > glTexCoord2f(0,
> >>> >
> >>> >
> >>> > (float)nYRes/(float)
g_nTexMapY);>              glVertex2f(0,

> >>>
> GL_WIN_SIZE_Y);
> >>> >
> >>> > > >         glEnd();  //THIS IS
>
>>> > >
> >>> > EV. THE
> >>> >
> >>> > > FAILURE ITS
> CORRESPONDED WITH glBegin(GL_QUAD);
> >>> >
> >>> > > > BUT
YOU NO glPopMatrix()
> >>> > > >
> >>> ------------------------
> >>>
> > > > regards
> >>> >
> >>> > > nomad
> >>> >

> >>> > > > --------------------------
> >>> >
> >>> > > > ----Ursprüngliche
> >>>
> Nachricht----
> >>> > > > Von:
[hidden email]
> >>> > > > Datum: 10.03.2012
> >>> > > 14:
> >>> > > > 44
> >>> > > > An:
> "OpenNI"
[hidden email]>
> >>> > > > Betreff: [OpenNI-dev] Re: Building on debian sid: undefined
> >>> > > reference
> to

> >>> > > > symbol
> >>> 'glEnd'
> >>> >
> >>> > > > Yes, I have all the requirements installed (from the README).
>
>>> > >
> > This was the
> >>> > > output of
> >>> the
> >>> > > > 'OpenNI/Platform/Linux/CreateRedist/
> >>> > > >
RedistMaker' script.
>
> >>> >
> >>> > > > On Mar 10, 10:01 am, "stevenm...
> >>> >
> >>> >
> >>> > @bluewin.ch"
@bluewin.ch>

> >>> > > > wrote:> hi
> >>> >
> > > > have you opengl-headers and libs??? into
> >>> compileScript
>
>>> > > RedistMaker ???
> >>> > > > > glEnd should be
>
> >>> > > > glEnd().....
> >>> > > > > regards nomad
> >>> >
>
>>> > > > > ----
> >>> Ursprüngliche Nachricht----
> >>> > > > >
> Von:
> >>> >
> >>> > >[hidden email]> > Datum:
09.03.2012 23:51
> >>> >
> >>> > > > An: "OpenNI"
> >>> com>
> >>> > > > >
> Betreff: [OpenNI-
> >>> >
> >>> > > dev]
Building on debian sid: undefined reference to
> >>> >
> >>> >
> >>> > > symbol 'glEnd'
>
> >>> >
> >>> > > > > Trying
to compile on
> >>> > > > > current
> >>> >
> >>> > > debian sid using ./RedistMaker
> >>> >
> >>> > > >
>
> >>> >
Target: Linux-x86

> >>> >
> >>> > > > Version: 1.5.2.23
> >>> > > > > Num of compile jobs: 4
> >>> >
> >>> > > > > *
>
>>> >
> > Building
> >>> > > > > OpenNI...
> >>>
> >>> > > > > /usr/bin/ld: ./x86-Release/NiSimpleViewer.o:
> >>> >
>
>>> > > > undefined
> reference to> symbol
> >>> >
> >>> > > 'glEnd'/usr/bin/ld:
> >>> note: 'glEnd'> > is defined in
DSO /usr/lib/libGL.so.1 so

>
> >>> > > > > try
> >>> >
> >>> > > > adding it to the linker
> >>> >
> >>> > > command
>
>>> line> /usr/lib/libGL.so.1: could not
> read> > symbols: Invalid operation
> >>> > > > > collect2: ld
> >>> >
> >>>
> > > returned 1 exit
> >>> >
> >>>
> >>> > > status>
> make[1]: *** [../../../Bin/x86-Release/Sample-> >
> >>>
NiSimpleViewer] Error 1
> >>> > > > > make: ***
> >>> >
> >>> > >
> >>>
> [Samples/NiSimpleViewer] Error 2> make: ***
Waiting for unfinished

> >>> jobs....
> >>> >
> >>> > > > > /usr/bin/ld: ./x86-
> Release/Draw.
> >>> o:
> >>> >
> >>>
> > > undefined reference to symbol> 'glEnd'
> >>> > > > > /usr/bin/ld: note: 'glEnd' is
> defined in DSO
> >>> > > >
>
> >>> /usr/lib/libGL.so.1 so
> >>> >
> >>> > > > try
> >>> >
> >>> > > > adding it to the linker
> command line>
/usr/lib/libGL.so.1: could
> >>> not read
> >>> symbols: Invalid
> >>> > > > > operation
> >>> >
> >>> > >
>
collect2: ld
> >>> >
> >>> > > > returned 1 exit status
> >>> >
> >>> > > > > make[1]: *** [../../..
> >>> /Bin/x86-
>
Release/NiViewer] Error 1
> >>> > > > > make: ***
> >>> > > > > [Samples/NiViewer]
> >>> > > > Error 2
> >>> > > > >
failed to
>
> >>> execute: make  -j4 -C /home/dreamer/Sources/kinect/OpenNI/
> >>> >
> >>> > > > >
Platform/Linux/CreateRedist/../Build
>
> >>> > > > >
> >>> /home/dreamer/Sources/kinect/
> >>> >
> >>> > >
OpenNI/Platform/Linux/CreateRedist/Output/BuildOpenNI.txt>
> >
> >>> Building Failed!
> >>> >
> >>> > >
> >>> > > --

> >>> > > > > You received this message
> >>> > > because you
> >>> > > > >
> are subscribed to the Google Groups
"OpenNI" group.

> >>> >
> >>> > > > To post to this group,
> >>> >
> >>> > > > send email
> to openni-
> >>> >
> >>> >
>[hidden email].
> >>> >
> >>> > > > > To unsubscribe from
> >>> this group, send email to
> openni-
> >>> >
>
>>> > > >[hidden email].
> >>> > > > For more options, visit this
> >>> > > > >
> >>> group
> athttp:
//groups.google.com/group/openni-dev?

> >>> >
> >>> > > > hl=en.
> >>> >
> >>> > > > --
> >>> > > > You received
> >>>
>
> >>>
> > > this message
> >>> because you are subscribed to the Google Groups "OpenNI" group.> To
> post
> >>>
to this
> >>> > > >
> group, send email to
> >>> >
> >>> > >
> >>> [hidden email].
> >>> >
> >>> > > > To
unsubscribe from this group,

> send email to openni-
> >>> > > >
> >>> dev+unsubscribe@googlegroups.
> >>> > > com.
>
>>> > > > For more options, visit this
> group athttp://
> >>> groups.google.com/group/openni-
> >>> dev?hl=en.
> >>>
>
> >>> > > --
> >>> > > You received this
> >>> > >
> message because you are subscribed to the Google Groups
"OpenNI"

> >>> group.
> >>> >
> >>> > To post to this group, send
> email to openni-
> >>> > >[hidden email].
>
>>> > > To unsubscribe from this group, send email
> >>> to openni-
> [hidden email].
> >>> > > For
more

> >>> > > options, visit this group athttp://groups.google.
> >>>
> com/group/openni-dev?hl=en.
> >>>
> >>> --
>
>>> You received this message because you are subscribed to the Google
> >>>
> Groups "OpenNI"
> >>> group.
> >>> To
post to this group, send email to [hidden email].
> >>> To unsubscribe
> from this group, send email to

> >>> [hidden email].
> >>> For more options, visit this group at
>
> >>> http://groups.google.com/group/openni-dev?hl=en.
> >>>
> >>>
> >>>
>
> --
> You received this message because
you are
> subscribed to the Google Groups "OpenNI" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/openni-dev/-/UU7EzSoaGzAJ.
> To post to this
> group, send email to openni-
[hidden email].
> To unsubscribe from this group, send email to openni-
> [hidden email].
> For
more options, visit this group at
> http://groups.google.com/group/openni-dev?hl=en.
>
>
>

--
You received this message because you are subscribed to
the Google Groups "OpenNI" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openni-dev/-/MTIDx_x4LBIJ.
To post to this
group, send email to [hidden email].
To unsubscribe from this group, send email to openni-
[hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.




--
You received this message because you are subscribed to the Google Groups "OpenNI" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/openni-dev?hl=en.

12
Loading...