![]() ![]() Warning: no rule to process file ‘$(PROJECT_DIR)/test.cu’ of type sourcecode.cuda for architecture ppc When I build the XCodeTest project I get this:īuilding target “XcodeTest†of project “XcodeTest†with configuration “Release†— (1 error, 2 warnings) ![]() I just tried the process explained in this thread (Built and install NVCuda.pbplugin) (The example projects in the SDK compile and run fine.) Do you have a sample Xcode project you could post? As I am just getting started with CUDA, it is likely a problem with my own code organization, but I can’t get it running on the command line either. Thank you very much for the Xcode plugin! I have installed it as described and it almost works, but I’m having some linker errors when trying to compile one of the basic sample codes from the tutorials. Hopefully, I can return the favor some day. As soon as I get back, I will give this a try. Unfortunately, I am out of the office and will not be in front of the machine until the early next. This should provide a more much comfortable CUDA development environment. I will try this ASAP and give you the feedback! I haven’t really run anything with this, but let me know if it you have any issues. But you can force the linker if need be by setting a user defined variable “LD” to either gcc or g++. Adding in dyld or frameworks as usual will sort out the linker flags and search paths.Īlso, the dependancy graph at this stage doesn’t know about the -hostcompilation option and so defaults to ‘ld’, in which case you’d have to link against all the relevant libs. HEADER_SEARCH_PATHS) so you only need to do those once. Note that everything in that section is separate from the project wide GCC options, so there are separate preprocessor macros, optimisation etc, however I used the include path from the project settings (i.e. If you have a target with cuda sources, there should be a CodeGeneration section after the GCC 4.0 sections called “NVIDIA Cuda”. cu files and add them to the dependancy graph. Unpack and put the bundle into ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins, then restart Xcode. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |