I am trying out lua script with C++ in Mac OS X. I was finding a way to make the program returning the current working directory. That's no problem with getcwd, but then I came one thing:
My foo.lua stays at its initial path only. When I compile program, it is not being copied over to the build/Debug directory. Sure, I can grab my scrip...
Hi,
Was just wondering if anyone has any experience working with CUDA and XCode? I'm having a nightmare setting it all up...
Dawson
...
I'm trying to compile some code for OpenCL (and the NV Computing SDK) in Xcode.
I (think) I've set the search paths correctly, but when I try to compile the source code from the example (oclDeviceQuery, which builds perfectly using sudo make) I get the following error:
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenCL.fram...
Creating a static library on Mac 10.5 with xcode via libtool and with ar via the command line both generate a libMainProject.a file however, when trying to use the one generate by libtool to link into a xcode application I end up with multiple message like
"vtable for project1 referenced from:
_ZTV27project1$non _lazy _ ptr in libMain...
hi Folks this is jagadeesh, im beginner of this platform while practicing application with reference some books, My Application Running Suceessfully but No output display in the Console here is my Application #import
@interface ClassA : NSObject
{
int x;
}
-(void) initVar;
@end
@implementation ClassA
-(void) initVar
{
x = ...
#import <Foundation/Foundation.h>
@interface ClassA : NSObject
{
int x;
}
-(void) initVar;
@end
@implementation ClassA
-(void) initVar
{
x = 100;
}
@end
@interface ClassB : ClassA
{
int y;
}
-(void) initVar;
-(void) printVar;
@end
@implementation ClassB
-(void) initVar
{
x = 200;
y = 300;
}
- (void) print...
Hi Everyone, I have a query regarding Debugger Status
like The Debugger has exited With status 0
The Debugger has exited With status 1 and so on
What are the Status of the Debugger ??
Based on which criteria Status can be Categorized ??
Please Let me know different kinds of status and its usages
what are the consequences happen when...
Hi,
I developed an application in using cocoa using xcode 3.1.Now i upgraded the os version and tried to compile the code in xcode 3.2 But the app crashes with an error
" CocoaJava: com.apple.cocoa.foundation.NSRuntime
-[NSJavaVirtualMachine initWithClassPath:] FATAL: cannot initialize ObjCJava"
I still dont know how to resolve this P...
I just tried to upgrade my xcode tools on my mac running 10.5.8, but I didn't realize that the latest version of xcode will only run on snow leopard. I can't find the older version of xcode that would work on my work machine. Where can I get a leopard compatible version of xcode?
...
If I try to set a watchpoint I get a gdb error:
"
can't clear hardware watchpoints without the 'Z2' (write-watchpoint) packet
"
Then it seems to corrupt the device (on restarting the device it complains that the OS is too old for the SDK, even though it's OS 3.1.2).
I've got a bug to track down that really would be easy to track down ...
Since upgrading to Xcode 3.2.1, I've experienced a strange issue that has really killed my workflow. The issue only exhibits itself under my own user account (the same project opened by a different user works fine). Therefore, the heart of this question is, "what does Xcode load from the user directory that could conceivably cause this i...
Can Xcode be used to develop in Client/Server environment. By that i mean, source code is in once location and multiple people can work on the same project without having to have multiple un-synced copies.
Much like we can do with DreamWeaver. We establish sites and the source is in single location (server), and "clients" 1) lock the f...
as we all know that driving direction is not supported in mapkit.so i think i can show driving direction in webview.i am showing google maps in uiwebview,but it shows the whole site i just want to show only map part with some zoom so that it looks like original maps application of iphone.also i don't know if this breaks the apple's Human...
i want to detect if the phone is 3gs then record the video and save to documents directory.and then play movie by picking url from documents directory.note i do not want to save video to savedphotoalbum so that user not be able to delete video.also is there a way i can save video to database
...
I have been following the discussion from this article,this is what I have done:
Edit /Developer/Platforms/iPhoneOS.platform/Info.plist to look like this:
<key>NATIVE_ARCH</key>
<string>armv6</string>
<key>PLIST_FILE_OUTPUT_FORMAT</key>
<string>binary</string>
<key>PROVISIONING_PROFILE_ALLOWED</key>
<string>NO</string>
<key>PROVISION...
can xcode be used to develop iphone applications using .net and is it compatible with windows
...
As I move more and more of my UI construction from XCode to IB there is one remaining hurdle I need to clear.
Currently, I create my custom viewControllers in XCode with custom initializers. They typically have a bunch of ivars that are set during initialization via passed params. I would really like to move as much of this as I can to ...
I am running through an iPhone development tutorial and I have a weird bug that I am investigating using the debugger. I have the following code that checks to see if a object is in bounds. I am trying to see what the value of ball.center.x is at a certain point, but because center is a property accessor selector, I don't get the value...
I am getting a warning on this line in my header, but I am using the class variable in my implementation (in both class methods and instance methods):
#import <UIKit/UIKit.h>
static NSMutableArray *classVar; // Xcode warning: 'classVar' defined but not used
@interface MyViewController : UIViewController {
...
Hi,
In Xcode 3.2.1 on Mac OS X Snow Leopard, I open a project under:
Command Line Tool of type C++ stdc++.
I have the following simple code:
#include <iostream>
#include <string>
using namespace std;
int main(){
string myvar;
cout << "Enter something: " << endl;
cin >> myvar;
cout << endl << myvar << endl;
retu...