I just received my Mac Mini today and i’m now starting developing for
the iPhone “hands-on”.
I am trying to use the iPhone port of SDL from the svn trunk, i can
compile it fine and i created a template in XCode as the Readme suggests.
However, i can’t compile any projects, i receive theese errors:
/Linking
/Users/mini/Documents/SDK/XCodeiPhoneOS/Demos/build/Debug-iphonesimulator/Rectangles.app/Rectangles
(2 errors)
"_SDL_HapticQuit" referenced from
_SDL_QuitSubSystem in libSDLiPhoneOS.a(SDL.o)
“_SDL_HapticInit” referenced from
_SDL_InitSubSystem in libSDLiPhoneOS.a(SDL.o)
symbol(s) not found
collect2: ld returned 1 exist satus
Build failed (2 errors)
/I’m building for the Simulator - iPhone OS 2.0 using Debug
Configuration.
The quick way - you should disable haptic subsystem to avoid this message.
I just commented out SDL_HapticInit/Quit calls from the source.> ----- Original Message -----
From: info@matisen.dk (Mathias Hansen)
To:
Sent: Tuesday, October 14, 2008 3:07 PM
Subject: [SDL] SDL on iPhone
Hello there!
I just received my Mac Mini today and i’m now starting developing for the
iPhone “hands-on”.
I am trying to use the iPhone port of SDL from the svn trunk, i can
compile it fine and i created a template in XCode as the Readme suggests.
However, i can’t compile any projects, i receive theese errors:
/Linking
/Users/mini/Documents/SDK/XCodeiPhoneOS/Demos/build/Debug-iphonesimulator/Rectangles.app/Rectangles
(2 errors)
"_SDL_HapticQuit" referenced from
_SDL_QuitSubSystem in libSDLiPhoneOS.a(SDL.o)
“_SDL_HapticInit” referenced from
_SDL_InitSubSystem in libSDLiPhoneOS.a(SDL.o)
symbol(s) not found
collect2: ld returned 1 exist satus
Build failed (2 errors)
/I’m building for the Simulator - iPhone OS 2.0 using Debug
Configuration.
After a little bit of tweaking (my mac knowledge sucks :p)
…i got it to work.
As you said i disabled the haptic subsystem, the easiest way was to just
define a SDL_HAPTIC_DISABLED macro in the SDL_config_iphoneos.h and
recompile the library.
Thank you very much
Kind regards
Mathias Hansen
Dmytro Bogovych skrev:> The quick way - you should disable haptic subsystem to avoid this message.
I just commented out SDL_HapticInit/Quit calls from the source.
----- Original Message ----- From: “Mathias Hansen” <@Mathias_Hansen>
To:
Sent: Tuesday, October 14, 2008 3:07 PM
Subject: [SDL] SDL on iPhone
Hello there!
I just received my Mac Mini today and i’m now starting developing for
the iPhone “hands-on”.
I am trying to use the iPhone port of SDL from the svn trunk, i can
compile it fine and i created a template in XCode as the Readme suggests.
However, i can’t compile any projects, i receive theese errors:
/Linking
/Users/mini/Documents/SDK/XCodeiPhoneOS/Demos/build/Debug-iphonesimulator/Rectangles.app/Rectangles
(2 errors)
"_SDL_HapticQuit" referenced from
_SDL_QuitSubSystem in libSDLiPhoneOS.a(SDL.o)
“_SDL_HapticInit” referenced from
_SDL_InitSubSystem in libSDLiPhoneOS.a(SDL.o)
symbol(s) not found
collect2: ld returned 1 exist satus
Build failed (2 errors)
/I’m building for the Simulator - iPhone OS 2.0 using Debug
Configuration.
Does the iphone even have force feedback? If it doesn’t it should be
set by default.
Edgar
Mathias Hansen wrote:> After a little bit of tweaking (my mac knowledge sucks :p)
…i got it to work.
As you said i disabled the haptic subsystem, the easiest way was to just
define a SDL_HAPTIC_DISABLED macro in the SDL_config_iphoneos.h and
recompile the library.
Thank you very much
Kind regards
Mathias Hansen
Dmytro Bogovych skrev:
The quick way - you should disable haptic subsystem to avoid this
message.
I just commented out SDL_HapticInit/Quit calls from the source.
----- Original Message ----- From: “Mathias Hansen”
To:
Sent: Tuesday, October 14, 2008 3:07 PM
Subject: [SDL] SDL on iPhone
Hello there!
I just received my Mac Mini today and i’m now starting developing for
the iPhone “hands-on”.
I am trying to use the iPhone port of SDL from the svn trunk, i can
compile it fine and i created a template in XCode as the Readme
suggests.
However, i can’t compile any projects, i receive theese errors:
/Linking
/Users/mini/Documents/SDK/XCodeiPhoneOS/Demos/build/Debug-iphonesimulator/Rectangles.app/Rectangles
(2 errors)
"_SDL_HapticQuit" referenced from
_SDL_QuitSubSystem in libSDLiPhoneOS.a(SDL.o)
“_SDL_HapticInit” referenced from
_SDL_InitSubSystem in libSDLiPhoneOS.a(SDL.o)
symbol(s) not found
collect2: ld returned 1 exist satus
Build failed (2 errors)
/I’m building for the Simulator - iPhone OS 2.0 using Debug
Configuration.
The closest thing the iPhone has to force feedback is that you can
programmatically cause it to vibrate (the same vibration it does when
you receive a phone call and the phone is set to vibrate, I believe).
At least for now we should definitely add SDL_HAPTIC_DISABLED to
SDL_config_iphoneos.h.
HolmesOn Oct 14, 2008, at 10:58 PM, Edgar Simo wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
Does the iphone even have force feedback? If it doesn’t it should be
set by default.
Edgar
Mathias Hansen wrote:
After a little bit of tweaking (my mac knowledge sucks :p)
…i got it to work.
As you said i disabled the haptic subsystem, the easiest way was to
just
define a SDL_HAPTIC_DISABLED macro in the SDL_config_iphoneos.h and
recompile the library.
Thank you very much
Kind regards
Mathias Hansen
Dmytro Bogovych skrev:
The quick way - you should disable haptic subsystem to avoid this
message.
I just commented out SDL_HapticInit/Quit calls from the source.
----- Original Message ----- From: "Mathias Hansen"
To:
Sent: Tuesday, October 14, 2008 3:07 PM
Subject: [SDL] SDL on iPhone
Hello there!
I just received my Mac Mini today and i’m now starting developing
for
the iPhone “hands-on”.
I am trying to use the iPhone port of SDL from the svn trunk, i can
compile it fine and i created a template in XCode as the Readme
suggests.
However, i can’t compile any projects, i receive theese errors:
/Linking
/Users/mini/Documents/SDK/XCodeiPhoneOS/Demos/build/Debug-
iphonesimulator/Rectangles.app/Rectangles
(2 errors)
"_SDL_HapticQuit" referenced from
_SDL_QuitSubSystem in libSDLiPhoneOS.a(SDL.o)
“_SDL_HapticInit” referenced from
_SDL_InitSubSystem in libSDLiPhoneOS.a(SDL.o)
symbol(s) not found
collect2: ld returned 1 exist satus
Build failed (2 errors)
/I’m building for the Simulator - iPhone OS 2.0 using Debug
Configuration.
The closest thing the iPhone has to force feedback is that you can
programmatically cause it to vibrate (the same vibration it does when
you receive a phone call and the phone is set to vibrate, I believe).
At least for now we should definitely add SDL_HAPTIC_DISABLED to
SDL_config_iphoneos.h.
Done. The iPhone project has been updated to include the dummy haptic driver.
See ya!
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment