Open rorysavage77 opened 8 years ago
root@b96220109860:/build# cmake . -- Supported compiler used: GCC -- Searching for mesos root in: "/mesos" -- Using mesos root folder: "/mesos" -- Using mesos build folder: "/mesos/build" -- Using mesos lib: "/mesos/build/src/.libs/libmesos.so" -- Using mesos src folder: "/mesos/src" -- Mesos library used: "/mesos/build/src/.libs/libmesos.so" -- Configuring done -- Generating done -- Build files have been written to: /build root@b96220109860:/build# make [ 4%] Building CXX object libisolator/CMakeFiles/isolator.dir/flocker_control_service_client.cpp.o /build/libisolator/flocker_control_service_client.cpp: In member function 'virtual Trystd::basic_string FlockerControlServiceClient::createDataSet(UUID, std::string)': /build/libisolator/flocker_control_service_client.cpp:27:67: error: 'FlockerEnvironmentalVariables' has not been declared uuid.toString() + "\", \"metadata\": { \"" + FlockerEnvironmentalVariables::FLOCKER_ID + "\": \"" + flockerId + "\" }}' https://" + flockerControlIp + ":" + stringify(flockerControlPort) + ^ make[2]: * [libisolator/CMakeFiles/isolator.dir/flocker_control_service_client.cpp.o] Error 1 make[1]: * [libisolator/CMakeFiles/isolator.dir/all] Error 2 make: *\ [all] Error 2
Update: I have a working library now. See my pull request.
root@b96220109860:/build# cmake . -- Supported compiler used: GCC -- Searching for mesos root in: "/mesos" -- Using mesos root folder: "/mesos" -- Using mesos build folder: "/mesos/build" -- Using mesos lib: "/mesos/build/src/.libs/libmesos.so" -- Using mesos src folder: "/mesos/src" -- Mesos library used: "/mesos/build/src/.libs/libmesos.so" -- Configuring done -- Generating done -- Build files have been written to: /build root@b96220109860:/build# make [ 4%] Building CXX object libisolator/CMakeFiles/isolator.dir/flocker_control_service_client.cpp.o /build/libisolator/flocker_control_service_client.cpp: In member function 'virtual Trystd::basic_string FlockerControlServiceClient::createDataSet(UUID, std::string)':
/build/libisolator/flocker_control_service_client.cpp:27:67: error: 'FlockerEnvironmentalVariables' has not been declared
uuid.toString() + "\", \"metadata\": { \"" + FlockerEnvironmentalVariables::FLOCKER_ID + "\": \"" + flockerId + "\" }}' https://" + flockerControlIp + ":" + stringify(flockerControlPort) +
^
make[2]: * [libisolator/CMakeFiles/isolator.dir/flocker_control_service_client.cpp.o] Error 1
make[1]: * [libisolator/CMakeFiles/isolator.dir/all] Error 2
make: *\ [all] Error 2