Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zeustacos

Pages: [1]
1
General / Re: SFML THOR Error cannot access private member
« on: April 19, 2014, 11:41:00 am »
Hey sorry, part of that problem was me forgetting to say I used nmake afterwards however
I keep getting the same problem with sfml not being the latest. I did clone
the master of both sfml and thor, I'll erase everything and do it again.

*Edit : I wiped everything, reinstalled and now all of the build process worked perfectly. I'll update my code and try again but I think it will work now.
I don't really understand what the issue was other then the fact that maybe I misswrote the command.
 Thank you very much.

2
General / Re: SFML THOR Error cannot access private member
« on: April 19, 2014, 01:54:50 am »
Thanks for the comment Nexus, I downloaded both sfml and thor from github, built sfml with cmake and tested it, it works. But then, when I tried to build no lib file actually appeared, it just said Generating done.


I then tried via the command line and it told me that the version of my sfml was 1 instead of 2..when I cloned exactly the latest sfml and I even have the number 2 in their names.



Is there anything you can help with this? I really don't see what I am doing wrong, of course there is something, I just need help. Thank you very much.



3
General / Re: SFML Error cannot access private member
« on: March 28, 2014, 12:16:07 am »
thanks for the quick reply, sorry about the window brackets, I was just trying whatever comes to mind to see what could be a problem...in one of my desperate tries I put them there, I am in debug mode, and yet it skips and it just runs a previously working build, the only other code that I have handles input :

void Particles::pollEvent(sf::Event& ev)
{
        switch(ev.type)
        {
                case sf::Event::MouseButtonPressed:
                        if (ev.mouseButton.button == sf::Mouse::Left)
                        m_paused = !m_paused;
                        break;
                case sf::Event::MouseWheelMoved:
                        m_velocity.phi += 12.f * ev.mouseWheel.delta;
                        break;
        }

}

then I take all these methods, and I have them in the Game class like this:
while((m_window).pollEvent(ev))
                {
                        if(ev.type == sf::Event::Closed)
                                return;
m_ballParts.pollEvent(ev);
                }
                (m_window).clear();
                m_ballParts.loop(m_window,frameTime);
 

I am using the latest nighty build you actually shared, thanks for that by the way, http://sfml.my-gate.net/nightly , the VS2010 64bit 2013-09-26  Thor Dev [35391b0421] version

*Edit : SFML 2.1

4
General / SFML THOR Error cannot access private member
« on: March 27, 2014, 11:58:57 pm »
Hi, I've been doing sfml for a while, just encountered this issue and I am aware that this means that somewhere I might be attempting to copy something, maybe the window
however, I don't see anywhere that I would do this.
I have a class in a .h file and this is the implementation. http://pastebin.com/kq5uCJfG
I can't even try to debug because for some reason (new to VS, so maybe some weird setting) it just skips over my debug stop points, although it never happened before.

So if anyone can please see my error (the way I use this implementation, is I have a render window in a class that uses an object of type Particles, which I send in Particles as a reference. I've done this with every other object I use in my project and it works fine.

Thank you for taking the time to read this.

*Edit : Forgot to put full error = http://pastebin.com/5E3yFXjv

**Edit: The error is referring to the particlesystem, however, I don t seem to be using it any different then how it is being used in the examples.

Pages: [1]