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 - confused

Pages: [1]
1
General / Can't run ./install.sh; permission denied
« on: August 13, 2013, 09:08:22 pm »
Hi, I've tried running the install script for SFML 2.1 (clang and gcc) and I get this output:

INSTALLING PACKAGE .
Installing Frameworks [with root access]
Password:
Installing dylibs
ditto: /usr/local/include/SFML/Audio/Export.hpp: Permission denied
ditto: /usr/local/include/SFML/Audio/Listener.hpp: Permission denied
ditto: /usr/local/include/SFML/Audio/Music.hpp: Permission denied
ditto: /usr/local/include/SFML/Audio/Sound.hpp: Permission denied
ditto: /usr/local/include/SFML/Audio/SoundBuffer.hpp: Permission denied
ditto: /usr/local/include/SFML/Audio/SoundBufferRecorder.hpp: Permission denied
ditto: /usr/local/include/SFML/Audio/SoundRecorder.hpp: Permission denied
ditto: /usr/local/include/SFML/Audio/SoundSource.hpp: Permission denied
ditto: /usr/local/include/SFML/Audio/SoundStream.hpp: Permission denied
ditto: /usr/local/include/SFML/Audio.hpp: Permission denied
ditto: /usr/local/include/SFML/Config.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/BlendMode.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/CircleShape.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Color.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/ConvexShape.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Drawable.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Export.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Font.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Glyph.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Image.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/PrimitiveType.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Rect.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Rect.inl: Permission denied
ditto: /usr/local/include/SFML/Graphics/RectangleShape.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/RenderStates.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/RenderTarget.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/RenderTexture.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/RenderWindow.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Shader.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Shape.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Sprite.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Text.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Texture.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Transform.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Transformable.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/Vertex.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/VertexArray.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics/View.hpp: Permission denied
ditto: /usr/local/include/SFML/Graphics.hpp: Permission denied
ditto: /usr/local/include/SFML/Network/Export.hpp: Permission denied
ditto: /usr/local/include/SFML/Network/Ftp.hpp: Permission denied
ditto: /usr/local/include/SFML/Network/Http.hpp: Permission denied
ditto: /usr/local/include/SFML/Network/IpAddress.hpp: Permission denied
ditto: /usr/local/include/SFML/Network/Packet.hpp: Permission denied
ditto: /usr/local/include/SFML/Network/Socket.hpp: Permission denied
ditto: /usr/local/include/SFML/Network/SocketHandle.hpp: Permission denied
ditto: /usr/local/include/SFML/Network/SocketSelector.hpp: Permission denied
ditto: /usr/local/include/SFML/Network/TcpListener.hpp: Permission denied
ditto: /usr/local/include/SFML/Network/TcpSocket.hpp: Permission denied
ditto: /usr/local/include/SFML/Network/UdpSocket.hpp: Permission denied
ditto: /usr/local/include/SFML/Network.hpp: Permission denied
ditto: /usr/local/include/SFML/OpenGL.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Clock.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Err.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Export.hpp: Permission denied
ditto: /usr/local/include/SFML/System/InputStream.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Lock.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Mutex.hpp: Permission denied
ditto: /usr/local/include/SFML/System/NonCopyable.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Sleep.hpp: Permission denied
ditto: /usr/local/include/SFML/System/String.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Thread.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Thread.inl: Permission denied
ditto: /usr/local/include/SFML/System/ThreadLocal.hpp: Permission denied
ditto: /usr/local/include/SFML/System/ThreadLocalPtr.hpp: Permission denied
ditto: /usr/local/include/SFML/System/ThreadLocalPtr.inl: Permission denied
ditto: /usr/local/include/SFML/System/Time.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Utf.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Utf.inl: Permission denied
ditto: /usr/local/include/SFML/System/Vector2.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Vector2.inl: Permission denied
ditto: /usr/local/include/SFML/System/Vector3.hpp: Permission denied
ditto: /usr/local/include/SFML/System/Vector3.inl: Permission denied
ditto: /usr/local/include/SFML/System.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/Context.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/ContextSettings.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/Event.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/Export.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/GlResource.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/Joystick.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/Keyboard.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/Mouse.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/VideoMode.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/Window.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/WindowHandle.hpp: Permission denied
ditto: /usr/local/include/SFML/Window/WindowStyle.hpp: Permission denied
ditto: /usr/local/include/SFML/Window.hpp: Permission denied
Couldn't install include/

I had 2.0 installed before, so I'm not sure if it's failing to replace old files or what. Any suggestions?

2
General / Re: Projects won't run in Xcode
« on: May 19, 2012, 11:48:13 pm »
Whew. Fixed it. I just ran the install wizard again and moved the folders where I thought they belonged and now everything works.

3
General / Re: Projects won't run in Xcode
« on: May 19, 2012, 11:40:28 pm »
I'm saying that I took the github folder, dragged it into the /Library/Developer/Xcode folder, and replaced the already existing Templates folder.

4
General / Re: Projects won't run in Xcode
« on: May 19, 2012, 08:54:47 pm »
Oh. I was going off of

"In order to use these templates in Xcode 4 copy the Templates folder to /Library/Developer/Xcode. Create the destination folder if needed."

from the github page.

I created the new folder so now the path is /Library/Developer/Xcode/Templates/SFML, but it didn't help. When I put the folder under Xcode originally I replaced a folder named "Templates" with the one from github. I'm guessing this is the problem.

5
General / Re: Projects won't run in Xcode
« on: May 19, 2012, 07:37:02 pm »
I don't think I made another folder for SMFL.

This is what it printed:

/Library/Developer/Xcode/Templates
/Library/Developer/Xcode/Templates/File Templates
/Library/Developer/Xcode/Templates/File Templates/C and C++
/Library/Developer/Xcode/Templates/File Templates/C and C++/C++ Class.xctemplate
/Library/Developer/Xcode/Templates/File Templates/C and C++/C++ Class.xctemplate/None
/Library/Developer/Xcode/Templates/File Templates/C and C++/C++ Class.xctemplate/Private
/Library/Developer/Xcode/Templates/File Templates/C and C++/C++ Class.xctemplate/Protected
/Library/Developer/Xcode/Templates/File Templates/C and C++/C++ Class.xctemplate/Public

6
General / Re: Projects won't run in Xcode
« on: May 18, 2012, 09:36:10 pm »
I downloaded the templates and moved them to /Library/Developer/Xcode where I replaced the old Templates folder with the one, but the option for SFML doesn't come up when creating a new project.

7
General / Projects won't run in Xcode
« on: May 17, 2012, 09:21:08 pm »
Tried to follow the tutorial on using SFML with Xcode. I used the wizard, opened an SFML project in Xcode, tried to run it and got the following error:

ld: library not found for -lsfml-system-d
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Was I supposed to use CMake? I tried doing that, but I couldn't follow the tutorial at all. I didn't have the "CMakeLists.txt" anywhere in the SFML stuff.

Pages: [1]