10 Replies - 969 Views - Last Post: 11 September 2011 - 07:46 PM Rate Topic: -----

#1 medo islam  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 10-September 11

error Tao.openGl C# Unable to find an entry point named'glActiveTe

Posted 10 September 2011 - 04:09 PM

hello all
i have bad error at my project when i copied it to new project solution.
and i searched most of WWW sites but useless :(
i have run time error
"Unable to find an entry point named 'glActiveTexture' in DLL 'opengl32.dll'."

but i copied the same references from my old project and i dont think i forget and function

but i suspect the dll version !!!

can any body help me ???

thanks in advance :)

bye bye

This post has been edited by tlhIn`toq: 10 September 2011 - 04:38 PM
Reason for edit:: No need to scream at people in large fonts and all bold


Is This A Good Question/Topic? 0
  • +

Replies To: error Tao.openGl C# Unable to find an entry point named'glActiveTe

#2 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5476
  • View blog
  • Posts: 11,762
  • Joined: 02-June 10

Re: error Tao.openGl C# Unable to find an entry point named'glActiveTe

Posted 10 September 2011 - 04:39 PM

Please show us the code block that produces this error.
Was This Post Helpful? 0
  • +
  • -

#3 medo islam  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 10-September 11

Re: error Tao.openGl C# Unable to find an entry point named'glActiveTe

Posted 10 September 2011 - 05:22 PM

Thanks for your kind replay :)


                Gl.glActiveTexture(Gl.GL_TEXTURE0);
                Gl.glEnable(Gl.GL_TEXTURE_2D);



waiting more :)
thanks in advance.
bye bye
Was This Post Helpful? 0
  • +
  • -

#4 Momerath  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1010
  • View blog
  • Posts: 2,444
  • Joined: 04-October 09

Re: error Tao.openGl C# Unable to find an entry point named'glActiveTe

Posted 10 September 2011 - 05:45 PM

Where do you declare the method Gl.glActiveTexture?
Was This Post Helpful? 0
  • +
  • -

#5 medo islam  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 10-September 11

Re: error Tao.openGl C# Unable to find an entry point named'glActiveTe

Posted 10 September 2011 - 06:06 PM

i use this function from

namespace Tao.OpenGl

// and this is code of declaration. 
  public static void glActiveTexture(int texture);




and this is the dll of openGl which calling the function throw

using Tao.OpenGl;


 Gl.glActiveTexture(Gl.GL_TEXTURE0);




Thanks for replay but any ideas !!!.

thanks in advance :)

bye bye
Was This Post Helpful? 0
  • +
  • -

#6 Momerath  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1010
  • View blog
  • Posts: 2,444
  • Joined: 04-October 09

Re: error Tao.openGl C# Unable to find an entry point named'glActiveTe

Posted 10 September 2011 - 10:58 PM

According to the documentation, you need to "Use Project / Add Reference and choose Tao.OpenGl and Tao.Windows.Platform - you should find these under the GAC tab provided you have installed Tao Platform correctly." Did you add both those to your references?
Was This Post Helpful? 0
  • +
  • -

#7 medo islam  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 10-September 11

Re: error Tao.openGl C# Unable to find an entry point named'glActiveTe

Posted 11 September 2011 - 10:58 AM

i already used

using Tao.OpenGl;
using Tao.Platform.Windows




am i correct
Was This Post Helpful? 0
  • +
  • -

#8 Curtis Rutland  Icon User is online

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4462
  • View blog
  • Posts: 7,776
  • Joined: 08-June 10

Re: error Tao.openGl C# Unable to find an entry point named'glActiveTe

Posted 11 September 2011 - 12:47 PM

That doesn't add a reference. That just tells the compiler where to look, if the reference is already added. Do what Momerath said to do.
Was This Post Helpful? 0
  • +
  • -

#9 medo islam  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 10-September 11

Re: error Tao.openGl C# Unable to find an entry point named'glActiveTe

Posted 11 September 2011 - 06:59 PM

View PostCurtis Rutland, on 11 September 2011 - 12:47 PM, said:

That doesn't add a reference. That just tells the compiler where to look, if the reference is already added. Do what Momerath said to do.



for sorry i don't know how to tell the compiler where to look

can u help me with steps if u can :)

thanks in advance :)

bye bye
Was This Post Helpful? 0
  • +
  • -

#10 Momerath  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1010
  • View blog
  • Posts: 2,444
  • Joined: 04-October 09

Re: error Tao.openGl C# Unable to find an entry point named'glActiveTe

Posted 11 September 2011 - 07:20 PM

Use Project / Add Reference and choose Tao.OpenGl and Tao.Windows.Platform - you should find these under the GAC tab provided you have installed Tao Platform correctly.
Was This Post Helpful? 0
  • +
  • -

#11 Curtis Rutland  Icon User is online

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4462
  • View blog
  • Posts: 7,776
  • Joined: 08-June 10

Re: error Tao.openGl C# Unable to find an entry point named'glActiveTe

Posted 11 September 2011 - 07:46 PM

The "GAC" tab is labeled ".NET", btw. If you can't find them there (if they don't install to the GAC), you should be able to use the "Browse" tab to navigate to them directly.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1