[Networkit] Compiler detection fails after upgrade to OS X El Capitan

Henning Meyerhenke henning.meyerhenke at kit.edu
Mon Jan 4 14:22:49 CET 2016


It works for me now after
(i) upgrading GCC with homebrew
(ii) changing the compiler name in build.conf to g++-5 (due to the 
upgrade) and deleting the flags afterwards.

Hope this helps,
Henning


Am 04.01.16 um 12:10 schrieb Maximilian Vogel:
> On 04.01.2016 11:08, Henning Meyerhenke wrote:
>> Same problem here after the OS X upgrade. Below is the output after
>> applying Max's patch.
>>
>> Henning
>>
>>
>> HMs-MacBook-Pro:NetworKit Henning$ CXX=g++-4.9 sudo pip3 install -e .
>> Obtaining file:///Users/Henning/Documents/workspace/NetworKit
>>   Running setup.py
>> (path:/Users/Henning/Documents/workspace/NetworKit/setup.py) egg_info
>> for package from file:///Users/Henning/Documents/workspace/NetworKit
>>     sample.cpp:13:11: fatal error: 'omp.h' file not found
>>             #include <omp.h>
>>                      ^
>>     1 error generated.
>>     In file included from
>> /usr/local/Cellar/gcc/4.9.2_1/include/c++/4.9.2/bits/postypes.h:40:0,
>>                      from
>> /usr/local/Cellar/gcc/4.9.2_1/include/c++/4.9.2/iosfwd:40,
>>                      from
>> /usr/local/Cellar/gcc/4.9.2_1/include/c++/4.9.2/ios:38,
>>                      from
>> /usr/local/Cellar/gcc/4.9.2_1/include/c++/4.9.2/ostream:38,
>>                      from
>> /usr/local/Cellar/gcc/4.9.2_1/include/c++/4.9.2/iostream:39,
>>                      from sample.cpp:14:
>>     /usr/local/Cellar/gcc/4.9.2_1/include/c++/4.9.2/cwchar:44:19:
>> fatal error: wchar.h: No such file or directory
>>      #include <wchar.h>
> Well, "g++-4.9" is checked first and it is installed, but for some
> reason, several headers are missing. I assume that the upgrade somehow
> messed with the GCC installation, but I'm not familiar with OS X, so I
> can't help any further. To me it looks like setup.py works as it is
> supposed to.
>
> Best
> Max
>
> _______________________________________________
> NetworKit mailing list
> NetworKit at ira.uni-karlsruhe.de
> https://lists.ira.uni-karlsruhe.de/mailman/listinfo/networkit

-- 

==========================================================
Karlsruhe Institute of Technology (KIT)
Institute of Theoretical Informatics (ITI)

Prof. Dr. Henning Meyerhenke
Theoret. Informatics / Parallel Computing

Phone: +49-721-608-41876
Web: http://parco.iti.kit.edu/henningm/

KIT - The Research University in the Helmholtz Association
==========================================================

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5399 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20160104/eb110f22/attachment.p7s>


More information about the NetworKit mailing list