FreeRDP / FreeRDP-WebConnect

A gateway for seamless access to your RDP-Sessions in any HTML5-compliant browser
519 stars 1.61k forks source link

Problem during compilation on OSX #114

Open ordimans opened 9 years ago

ordimans commented 9 years ago

Hello,

I have a Macbook pro with El Capitan and Xcode 7.0.

I use ./setup-all.sh ---- Fetching webconnect dependencies ehs and FreeRDP into /Users/ajacrot/prereqs ---- ~ ~/Desktop/FreeRDP-WebConnect-master ---- Checking out ehs trunk code ---- ~/prereqs ~/prereqs ~/Desktop/FreeRDP-WebConnect-master Already up-to-date. ~/prereqs ~/Desktop/FreeRDP-WebConnect-master ---- Starting ehs build ---- -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) Include dir: OPENSSL INCLUDE DIR: /usr/local/opt/openssl/include -- Strcasecmp has been redefined to strcasecmp -- Try_compile pretty_func.c returned TRUE -- Try_compile unique_pointer.c returned FALSE. -- Boost version: 1.59.0 -- Found the following Boost libraries: -- filesystem -- system -- regex -- program_options -- Configuring done -- Generating done -- Build files have been written to: /Users/ajacrot/prereqs/EHS/build Scanning dependencies of target ehs [ 8%] Building CXX object CMakeFiles/ehs.dir/ehs.cpp.o [ 16%] Building CXX object CMakeFiles/ehs.dir/formvalue.cpp.o In file included from /Users/ajacrot/prereqs/EHS/formvalue.cpp:32: In file included from /Users/ajacrot/prereqs/EHS/include/ehs/formvalue.h:31: /Users/ajacrot/prereqs/EHS/include/ehs/ehstypes.h:79:9: error: unknown type name 'pthread_t' typedef pthread_t ehs_threadid_t; ^ 1 error generated. make[2]: * [CMakeFiles/ehs.dir/formvalue.cpp.o] Error 1 make[1]: * [CMakeFiles/ehs.dir/all] Error 2 make: *\ [all] Error 2 Unable to build ehs package. Exiting...

I cannot resolve this error. Someone have any idea ?

c64cosmin commented 9 years ago

It seems that you are missing POSIX's pthread dependencies. Try updating your compiler. It would be useful for me if you send the cmake logs (under CMakeFiles; CMakeError.log CMakeOutput.log; use something like http://pastebin.com/ to post longer log traces) I'm not a OSX user unfortunately but I will return asap with an answer in case this doesn't help.