Can't locate #import "compass/reset" - reset

I've been trying to locate compass/reset but I can only see sass and stylesheets directory in default compass installation.
I was wondering why screen.scss is having #import "compass/reset"; since compass did not generate such directory.
Any ideas?
Cheers!

Related

Breakpoint in Rails app

I've been told by Mason Wendell that I can use Breakpoint in my application without Compass.
I have gem 'breakpoint', '2.4.1' in my Gemfile and #import "breakpoint" in my application.css.sass but it fails to locate Breakpoint.
Mason stated "Just get your import paths to find the _breakpoint.scss partial and you should be all set.".
I'm a bit confused about how to actually do this.
Any ideas?
There are two styles of using Sass dependencies:
Fetch with RubyGems, apply with a pathless #import 'breakpoint';, made possible by Compass.
Fetch manually with Bower into a subfolder within your project folder, apply with a relative #import 'bower-components/breakpoint/stylesheets/breakpoint'.
There is a way to import Sass dependencies with a pathless #import of a RubyGems-installed dependency and without Compass: put the directory of where RubyGems stores Breakpoint into Sass' load_paths parameter. But you should consider this a workaround rather than a normal workflow.

Where does Compass look for files to import?

When writing an #import statement in an SCSS file how does Compass know where to look?
I don't think this has been answered very well and I'm unable to find anything in the documentation.
I've been browsing the folders for the various Ruby gems and at one point I thought that any folder called stylesheets got added to some list somewhere (but where??). This can't be the whole explanation, however, since I've also seen #import's referencing files that are not inside such a folder. I also haven't been able to find any config files defining this inside the gems.
Where is this information located or how is it generated?
From http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#import:
"Sass looks for other Sass files in the current directory, and the
Sass file directory under Rack, Rails, or Merb."
You can shortcut imports by keeping them alongside the importing file and naming them "_[filename].scss" Then import them with #import "[filename]"
Compass scss/sass files are on your gem path:
gems/compass-[version]/frameworks/compass/

Compilation Error on #include <algorithm> Algorithm:No such file or Directory

I want to use OpenCV and Open SURF libraries in one project along with ARToolKitPluas then it gives me error "Algorithm:No such file or Directory" which i tried my best to fix but can't. Please Help me. Really i am in trouble and need your help.
Thanks
Your source file is probably being compiled as ObjC or C. It should be C++ (.cpp) or ObjC++ (.mm).
My Problem Solved by setting the following
#import <opencv/cv.h> in .pch file
Providing path for includes in Header search path
Providing path for libraries in Library search path
Also changing class name to .mm
writing this -lstdc++ -lz in Other linker flags
And most important issue that i observed is that the project folder name should not contain space for example if project folder name is AR Camera then change it to ARCamera otherwise it will give errors
May be you have not added Application.mk file in your project.

Facebook Connect in Iphone header include path

I am trying to compile facebook library for my iphone application. But I am getting this error.
error: FBConnect/FBConnect.h: No such file or directory
I have added the location of the folder in header search paths and yet it is not compiling.
This is the path that I have added-
/Users/nishant/Downloads/facebook-facebook-iphone-sdk-1059eb6/src.
I even tried the copy files to destination folder option, but that also did not work.
I know this is a very simple step, but I am getting frustrated, because I have tried this like 20-30 times.
Any help.
There’s a User Header Search Path between the Build settings for your target. Set it to the root directory of the Facebook library code and it should build fine. (I have spent a while with the setting myself.)
You can check if the file is added to you current target - just expand 'Compile Sources' section in your target and see if the file is there.
I too tried this for some time and finally imported the below line
import "FBConnect.h"
instead of #import "FBConnect/FBConnect.h"
voila! it worked like a charm.

.dylib linked in Debug, not found for Release for iPhone in XCode

So I have included the libxml2.2.dylib library into my iPhone XCode project to create some Xml and XPath parsing utilities. When I compile and run in Debug mode for both the Simulator and Device I have no problems, however, When I switch to Release mode I get...
"error: libxml/tree.h: No such File or directory" as well as other similar errors for the following .h files.
#import <libxml/tree.h>
#import <libxml/parser.h>
#import <libxml/HTMLparser.h>
#import <libxml/xpath.h>
#import <libxml/xpathInternals.h>
What do I need to do to ensure the libary is included and linked to the Release build?
An error on the .h is a compile-time error with your Header Search Paths, not a .dylib or a linker error.
You have to ensure that ${SDK_DIR}/usr/include/libxml2 is in your Header Search Paths in your Release configuration.
i was going around in circles this morning with this same problem with xcode 4.
again as described exactly above, it builds with fine with
Schema >
Build Configuration
--> Debug
but fails when switching it to Release
tried numerous cleans and
adding ${SDK_DIR}/usr/include/libxml2 or
$/usr/include/libxml2
and triple checking Header Search Paths / checking the recursive check box all to no avail.
Was about to start a new project when ....
I managed to resolve it by adding
${SDK_DIR}/usr/include/libxml2 to the User Header Search Paths
do make sure that libxml is included in your project , that was the one that caused the problem for me.
add libxml2.2.7.3.dylib to linked libraries