I keep getting an error that it can't find the file. I currently have two gcc's installed, 4.2.1 and 4.7.4
here is the error
Code: Select all
g++ -o src/auto/XSTools/utils/perl/Benchmark.os -c -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -Wall -O3 -pipe -no-cpp-precomp -DPERL_DARWIN -fno-strict-aliasing -DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fPIC -I/usr/include -I/usr/local/include -I/sw/include -I/usr/local/opt/readline/include -I/System/Library/Perl/5.16/darwin-thread-multi-2level/CORE src/auto/XSTools/utils/perl/Benchmark.cpp
In file included from src/auto/XSTools/utils/perl/Benchmark.xs:1:
src/auto/XSTools/utils/perl/../dense_hash_map.h:93:10: fatal error: 'ext/hash_fun.h' file not found
#include HASH_FUN_H // defined in sparseconfig.h
^
src/auto/XSTools/utils/perl/../sparseconfig.h:62:22: note: expanded from macro 'HASH_FUN_H'
#define HASH_FUN_H <ext/hash_fun.h>
^
1 error generated.
scons: *** [src/auto/XSTools/utils/perl/Benchmark.os] Error 1
scons: building terminated because of errors.
-e \e[1;31mCompilation failed. Please read http://wiki.openkore.com/index.php/How_to_run_OpenKore for help.\e[0m
Can't locate loadable object for module XSTools in @INC (@INC contains: /Users/josephfelix/Desktop/openkore_ready/src/deps /Users/josephfelix/Desktop/openkore_ready/src /Users/josephfelix/Desktop/openkore_ready /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at /Users/josephfelix/Desktop/openkore_ready/src/Translation.pm line 30.
/opt/local/include/gcc47/c++/backward/hash_fun.h
&
/usr/include/c++/4.2.1/ext/hash_fun.h
I also placed it in:
/usr/include/c++/4.2.1/backward/hash_fun.h
Any ideas? I think for some reason while compiling the main directory it is looking in isn't my c++ directories. If I knew where openkore was looking specifically I could link the folders in there =/
Any help is appreciated!