• 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
Weird intro xcode problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird intro xcode problems


  • Subject: Weird intro xcode problems
  • From: Markian Hlynka <email@hidden>
  • Date: Mon, 17 May 2004 17:16:11 -0600

I've been trying to move my code (unix-based, but developed on a mac with g++) into xcode. I've come up with some problems and some solutions... maybe someone here can shed some light.

1. I have a hierarchy of source that looks something like this:

Code:
	Games
		Example game
			file.c/.hh
			A.hh
	Interface
		files.c/hh
	Search
		files.c/.hh, main
		B.hh

Under no circumstances was I able to import this. A.hh included B.hh, which it couldn't find. I did all sorts of things trying to make it work. Finally, I flattened it all into the root directory of the project, and it worked. ie, no directories. (Call this "my version")

Code:
	files.c/.hh

note that the header files here were still suffixed with .hh, and do not highlight properly in xcode.

Then, a friend of mine tried it, but he changed all my .hh files to .h. That didn't work either... until I quit and relaunched xcode, at which point it builds fine. (call this "friend's version")


What's going on here? Why did I have to quit xcode to make it work?!

2.

	When I run these versions, my version runs with the output as expected:
----------------------
Enhancements Status:

Transpositions enabled. Initializing...
size of TT Element: 832
Zobrist size 468
board T size 468
------------------------------

However, friend's version looks like this before running:
-----------------------------
ZeroLink: warning duplicate symbol: _LegalMoves
will use: /Users/markian/Documents/Development/PhD/nathan will make it work/build/nathan will make it work.build/nathan will make it work.build/Objects-normal/ppc/interface-BBBA7DA1.ob
also in: /Users/markian/Documents/Development/PhD/nathan will make it work/build/nathan will make it work.build/nathan will make it work.build/Objects-normal/ppc/interface-2A721E95.ob
ZeroLink: warning duplicate symbol: _MaxDepth
will use: /Users/markian/Documents/Development/PhD/nathan will make it work/build/nathan will make it work.build/nathan will make it work.build/Objects-normal/ppc/interface-BBBA7DA1.ob
also in: /Users/markian/Documents/Development/PhD/nathan will make it work/build/nathan will make it work.build/nathan will make it work.build/Objects-normal/ppc/interface-2A721E95.ob
-----------------------------



after many of these lines, it runs correctly ( or seems to).

Yes, zerolink is being called on both of these to link them; I can see it in the status as it builds.



3. There MUST be a way to add a prefix (.hh) to the list of file types. But I can't find this anywhere. It's driving my crazy. Can anyone point it out, please?


I would be happy to provide actual source examples of this either to apple, if they think it's a bug, or anyone who's would like to see what I'm talking about and wants to help! I'll be most grateful for any help, explanations, suggestions, etc.



Thanks,

Markian
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • kernel framework different than others?
      • From: Eric Hackborn <email@hidden>
  • Prev by Date: Re: Viewing assembly code output
  • Next by Date: Cross Development SDK problem
  • Previous by thread: Re: Viewing assembly code output
  • Next by thread: kernel framework different than others?
  • Index(es):
    • Date
    • Thread