Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stlport compile #140

Merged

Conversation

alidugan
Copy link
Contributor

@alidugan alidugan commented May 25, 2016

required modifications for compilation with stlport 5.2.1

stlport burada include hatası veriyor.
stlport set sınıfı const iterator kullanımında derleme hatası veriyor.
@devOpsHazelcast
Copy link
Contributor

Test PASSed.

@ihsandemir
Copy link
Collaborator

@alidugan we can setup a nightly build for stlport based compilation, did you just put the stlport directory in the INCLUDE_DIRECTORY path? Can you also share how you built? We run the tests using a docker image, the image needs to include the stlport. If you want, you can setup your docker image with the same settings as your environment (same Linux version etc.) and share it with us.

@alidugan
Copy link
Contributor Author

I have modified CMakeList.txt to add following lines for Linux compilation;
link_directories(path_to_stlport_lib)
include_directories(path_to_stlport_includes)
link_libraries(stlport_lib)

@ihsandemir
Copy link
Collaborator

We probably need a conditional flag in CMakeLists.txt such as STLPORT_INSTALL_DIR to provide the stlport install dir as a variable to make it compile with stlport conditionally. If this directory is provided, then use the stlport, otherwise just use the compiler provided stl. @alidugan Can you add those flags and modify the CMakeLists.txt so that we can compile the project this way?

cmake .. -DHZ_LIB_TYPE=SHARED -DHZ_BIT=64 -DCMAKE_BUILD_TYPE=Debug -DSTLPORT_INSTALL_DIR=

@ihsandemir ihsandemir added this to the 3.7 milestone Jun 9, 2016
@ihsandemir ihsandemir self-assigned this Jun 9, 2016
@ihsandemir ihsandemir merged commit e1a24f3 into hazelcast:master Jun 9, 2016
ihsandemir pushed a commit to ihsandemir/hazelcast-cpp-client that referenced this pull request Jun 9, 2016
* Fix for being able to build with stlport.
ihsandemir added a commit that referenced this pull request Jun 9, 2016
#150)

* Added the continous query example. (#128)

* Reviewed the Continuous Query Example

* Updated the revision history

* Implement Ringbuffer (#135)

* Added RingBuffer container implementation and a test.

Added exception factory implementation. The exceptions received from the server are now being thrown as it is done for the Java client, the base class is still IException.

* Sample code for Ringbuffer is added.

* Corrected the static variable initialization. Also fixed the include paths for the ringbuffer test. (#141)

* Updates boost to version 1.61, add the date_time module (#147)

* Updates boost to version 1.61 and adds the date_time module.

* Added external/release_include to be used during the release process just to release the boost::shared_ptr include files.

* Reliable topic implementation (#146)

* Implements the reliable topic. It only supports DISCARD_OLDEST topic overload policy. The executor is not configurable which will be enhanced later.

A fix in SerializationService is done for handling null objects.

Topic::MessageListener interface is added.

* Fix for windows thread not terminating due to the problem with thread cancellation. Added an asynch API to RingbufferImpl to read an item asynchronously. This is an internal API, it is not made public.

* Fixes the long to int64_t conversion loss warning at windows. (#148)

* Alidugan patch 1 stlport compile (#140)

* Fix for being able to build with stlport.
@ihsandemir ihsandemir changed the title Alidugan patch 1 stlport compile stlport compile Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants