• 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
Getting files included
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting files included


  • Subject: Getting files included
  • From: David Dunham <email@hidden>
  • Date: Tue, 28 Mar 2006 11:24:08 -0800

This always seems so much harder than CodeWarrior...

I'm making a new project (C++ tool), and it won't build. Source has

#include "system/io.h"
#include "system/Hashtable.h"

and I have dragged those two files into the project. But they're not found. I have this directory as a header search path.

CompileC /Volumes/pockets/build/ResFile.build/Debug/ResFile.build/Objects-normal/i386/ResFile.o /Users/david/GameHouse/cgames/ResFile/ResFile.cpp normal i386 c++ com.apple.compilers.gcc.4_0
cd /Users/david/GameHouse/cgames/ResFile
/usr/bin/gcc-4.0 -x c++ -arch i386 -pipe -fno-asm -Wno-trigraphs -fno-rtti -fpascal-strings -fasm-blocks -g -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -mfix-and-continue -Wno-invalid-offsetof -mmacosx-version-min=10.4 -fvisibility-inlines-hidden -I/Volumes/pockets/build/ResFile.build/Debug/ResFile.build/ResFile.hmap -F/Users/david/GameHouse/cgames/ResFile/build/Debug -I/Users/david/GameHouse/cgames/ResFile/build/Debug/include -I../system -I/Volumes/pockets/build/ResFile.build/Debug/ResFile.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Users/david/GameHouse/cgames/ResFile/ResFilePrefix.h -c /Users/david/GameHouse/cgames/ResFile/ResFile.cpp -o /Volumes/pockets/build/ResFile.build/Debug/ResFile.build/Objects-normal/i386/ResFile.o
/Users/david/GameHouse/cgames/ResFile/ResFile.cpp:17:23: error: system/io.h: No such file or directory
/Users/david/GameHouse/cgames/ResFile/ResFile.cpp:18:30: error: system/Hashtable.h: No such file or directory


I've got other projects that use those header files (bundled apps), which build fine.
--


David Dunham     A Sharp, LLC
Voice/Fax: 206 783 7404     http://a-sharp.com
Efficiency is intelligent laziness.
_______________________________________________
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


  • Prev by Date: Re: Help with Xcode i386 Link problems
  • Next by Date: (no subject)
  • Previous by thread: Re: Project with root rights
  • Next by thread: Re: Getting files included
  • Index(es):
    • Date
    • Thread