Openkore.com

OpenKore Forums
It is currently 20 Nov 2018, 04:21

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: OS X 10.9 backward/hash_fun.h not working
PostPosted: 23 Oct 2014, 01:41 
Offline
Noob
Noob

Joined: 24 Jan 2014, 18:01
Posts: 9
As per the FAQ, I adjusted my sparseconfig.h file point to "backward/hash_fun.h" if the gcc < 403...

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:
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.


hash_fun.h is located in two places on my computer:

/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!


Top
 Profile  
 
 Post subject: Re: OS X 10.9 backward/hash_fun.h not working
PostPosted: 20 May 2016, 03:37 
Offline
Noob
Noob

Joined: 20 May 2016, 03:28
Posts: 1
I`m getting a similar error. Using mac yosemite 10.10 here. I`ve done everything on the FAQ section, but had no success. Even tried to get dif versions of readline ( tried 6.3 and 5.1). Here`s the log




scons: Reading SConscript files ...
Checking Perl configuration ...(cached) yes
Checking for C library ncurses... (cached) yes
Checking for GNU readline 4.3 or higher...(cached) yes
Checking for C library readline.5... (cached) no
Checking whether Readline 5 is available... no
Checking for libcurl...(cached) libcurl 7.37.1
scons: done reading SConscript files.
scons: Building targets ...
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.18/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:
'backward/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 <backward/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/Messias/src/deps /Users/Messias/src /Users/Messias /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /Users/Messias/src/Translation.pm line 30.


Top
 Profile  
 
 Post subject: Re: OS X 10.9 backward/hash_fun.h not working
PostPosted: 18 Jun 2016, 04:56 
Offline
Noob
Noob

Joined: 18 Jun 2016, 04:53
Posts: 2
hi did you find the solution??
I got the totally same question as you...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group