• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to open VS project with Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to open VS project with Xcode


  • Subject: Re: How to open VS project with Xcode
  • From: Thomas Davie <email@hidden>
  • Date: Wed, 18 Feb 2009 12:38:07 +0100


On 18 Feb 2009, at 11:23, Justin Li wrote:

Hello everyone,

I have a VS project written in C++, it is a h.264 video coding project called JM, maybe some of you have ever hearded about this.

Now I want to compile/build/execute this JM with Xcode in Mac, but I do not know how to open it, is there anyone can help me on this problem. Many thanks.

In JM(VS version), there are two directories SRC(source files) and INC(header files), the main() function defined in lencod.c file in SRC. In VS, I can edit and compile these files with opening a file - lencod.dsw, then all source files and header files can be shown in the VS. Then my problem is, how can I compile these files in Xcode?

Currently, my way as following:
• Open Xcode -> FIle -> New project -> C++ tool -> Project name= lencod
• Copy all of the files in SRC into lencod directory, and then copy the directory of INC into lencod directory. ()
• Add the search paths in Project "lencod" Info
Then build it, but errors happen. It reminds like this "error: defines.h: No such file or directory", "error: global.h: No such file or directory"

Instead of copying your src and inc directories about the place, try right clicking on the sources section in your Xcode project, and selecting add... -> existing files, then select your src/inc directories.


You can then switch to your targets tab, and set up how each of these files should be built.

Bob _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to open VS project with Xcode (From: Justin Li <email@hidden>)

  • Prev by Date: How to open VS project with Xcode
  • Next by Date: Query on CrashReporter and atos
  • Previous by thread: How to open VS project with Xcode
  • Next by thread: Query on CrashReporter and atos
  • Index(es):
    • Date
    • Thread