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

Add github action to ensure build [VC2022] #146

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

cielavenir
Copy link

@cielavenir cielavenir commented Dec 8, 2023

I remember that controllerclientcpp is compatible with msvc. But how to maintain compatibility is unclear. Here we start to maintain it as code.

@cielavenir cielavenir changed the title Add github action to ensure build Add github action to ensure build [VC2022] Dec 8, 2023
@cielavenir cielavenir requested a review from hemangandhi April 17, 2024 00:02
Copy link

@hemangandhi hemangandhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

cmake .. -G 'Visual Studio 17 2022' -A x64 -DRAPIDJSON_HAS_STDSTRING=ON -DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF
msbuild ALL_BUILD.vcxproj /p:Configuration=Release
cd ..\..
- name: Install libzmq

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're maintaining this approach, should we also get rid of the msvc_binaries?

@@ -358,6 +358,7 @@ inline void LoadJsonValue(const rapidjson::Value& v, unsigned long long& t) {
}
}

#ifndef _MSC_VER

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we #include <stdint.h> instead? Based on https://stackoverflow.com/questions/13604137/definition-of-int64-t

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hemangandhi The thing is, there exists a branch which supports VC2010 https://github.com/mujin/controllerclientcpp/tree/savebackup and VC2010 does not support <stdint.h>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants