FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Wrong function glfwGetCursorPos instead of glfwGetMousePos

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
ParticlePeter



Joined: 19 Nov 2011
Posts: 49
Location: Germany

PostPosted: Sun Jul 08, 2012 7:11 pm    Post subject: Wrong function glfwGetCursorPos instead of glfwGetMousePos Reply with quote

Hi Aldacron,

Me and my compiler we couldn't find glfwGetMousePos in the current Derelict Trunk, and my linker can't find glfwGetCursorPos in the glfw.dll. The same is true for the setter versions of those functions. When replacing the corresponding function names, everything works again.
_________________
Cheers, searching for the Pivot of my Soul, PP
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Sun Jul 08, 2012 9:10 pm    Post subject: Reply with quote

glfwGetCursorPos is the correct function. It was changed in the glfw repository some time ago. You need to update your copy of the glfw dll. Keep in mind the glfw3 is still a moving target and has not been officially released yet. The API is quite likely to change again (for example, there's been talk of removing immediate mode event calls, like glfwGetKey). My goal is to keep the binding up to date with the current glfw master.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
ParticlePeter



Joined: 19 Nov 2011
Posts: 49
Location: Germany

PostPosted: Thu Jul 12, 2012 4:40 pm    Post subject: Reply with quote

Hi Aldacron,

now I am confused, I am using the current glfw git trunc, have updated just right now ( which I have done before posting the thread as well ), but I can't find glfwGetCursorPos anywhere. Could you post the git adress of your glfw version here please ? Mine is: git://glfw.git.sourceforge.net/gitroot/glfw/glfw
_________________
Cheers, searching for the Pivot of my Soul, PP
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Thu Jul 12, 2012 6:53 pm    Post subject: Reply with quote

You're in the wrong place. GLFW 3 development is happening at github, not sourceforge.

https://github.com/elmindreda/glfw
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
ParticlePeter



Joined: 19 Nov 2011
Posts: 49
Location: Germany

PostPosted: Fri Jul 13, 2012 5:01 am    Post subject: Reply with quote

O.K., sorry, I've got the right repo now, and everything works fine, thanks.
_________________
Cheers, searching for the Pivot of my Soul, PP
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group