Skip to content

Commit d4705f1

Browse files
committed
Update CMake configuration for Visual Studio 2022 and adjust OpenSSL paths
1 parent e137b6f commit d4705f1

4 files changed

Lines changed: 24 additions & 12 deletions

File tree

README.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Robo 3T (2026 Modern Fork)
2+
3+
**This is a community-maintained fork of Robo 3T (formerly Robomongo) updated for compatibility with the new versions of Mongodb.**
4+
5+
---
6+
7+
## FORK FIXES
8+
9+
As official development has ended, this fork provides support for compatibility with modern environments and MongoDB versions .
10+
11+
### **Core Compatibility Fixes**
12+
- **Permanent Paging Fix**: Fixed the `FindCommandRequest.ntoreturn` error. The shell driver now correctly uses modern `limit` and `batchSize` fields to browse all pages of documents with no issues.
13+
- **MongoDB CRUD API**: Migrated legacy write operations (deprecated `getLastError`) to the modern CRUD command-based API (`insert`, `update`, `delete`) with explicit write concerns.
14+
- **Command Success**: Prevented false "Failed to get error message" errors by handling MongoDB's numeric `ok: 1.0` responses.
15+
16+
---
17+
118
## Important
219

320
If you are using Studio 3T, please file any feedback on the [Studio 3T Feedback](https://studio3t.com/feedback/) page. If you are using Studio 3T Free, there is the [3T Community](https://community.studio3t.com/) for discussions with a [dedicated Free section](https://community.studio3t.com/c/studio-3t-free/13). Studio 3T does not monitor this repository for Studio 3T issues.
@@ -8,18 +25,13 @@ Robo 3T is no longer being developed by Studio 3T. Studio 3T recommends users lo
825

926
Read more about the changes on the [Robo 3T Blog](https://blog.robomongo.org/studio3t-free/).
1027

11-
The last release of Robo 3T is version 1.4.4, downloadable from the following links:
28+
The last official release of Robo 3T is version 1.4.4, downloadable from the following links:
1229

1330
* [Robo 3T Windows .zip](https://download.studio3t.com/robomongo/windows/robo3t-1.4.4-windows-x86_64-e6ac9ec5.zip)
14-
1531
* [Robo 3T Windows .exe](https://download.studio3t.com/robomongo/windows/robo3t-1.4.4-windows-x86_64-e6ac9ec5.exe)
16-
1732
* [Robo 3T Mac](https://download.studio3t.com/robomongo/mac/robo3t-1.4.4-darwin-x86_64-e6ac9ec.dmg)
18-
1933
* [Robo 3T Linux](https://download.studio3t.com/robomongo/linux/robo3t-1.4.4-linux-x86_64-e6ac9ec.tar.gz)
2034

21-
And the source code from [Robo 3T repository](https://github.com/Studio3T/robomongo/latest).
22-
2335
Studio 3T would like to thank the Robo 3T community who used and supported the application, since it was acquired in 2017. This repository, the website and blog will be left online and available to maintain a record of what was one of the most influential MongoDB clients of its time.
2436

2537

bin/configure.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if %ERRORLEVEL% neq 0 (exit /b 1)
1313
rem Run CMake configuration step
1414
rem BUILD_TYPE: Release or Debug
1515
cd "%BUILD_DIR%"
16-
cmake -G "Visual Studio 15 2017 Win64" -D "CMAKE_PREFIX_PATH=%PREFIX_PATH%" -D "CMAKE_BUILD_TYPE=%BUILD_TYPE%" -D "CMAKE_INSTALL_PREFIX=%INSTALL_PREFIX%" %PROJECT_DIR%
16+
cmake -G "Visual Studio 17 2022" -A x64 -D "CMAKE_PREFIX_PATH=%PREFIX_PATH%" -D "OPENSSL_ROOT_DIR=C:/Program Files/OpenSSL-Win64" -D "CMAKE_BUILD_TYPE=%BUILD_TYPE%" -D "CMAKE_INSTALL_PREFIX=%INSTALL_PREFIX%" -D "CMAKE_EXE_LINKER_FLAGS=/LIBPATH:\"C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.44.35207/atlmfc/lib/x64\"" %PROJECT_DIR%
1717

1818
@REM echo ___________________________________________________________________
1919
@REM rem Enable Clang Tidy for Visual Studio 2019 IDE ...

cmake/FindOpenSSL.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ add_library(crypto SHARED IMPORTED)
104104
if(SYSTEM_WINDOWS)
105105
set_target_properties(ssl PROPERTIES
106106
INTERFACE_INCLUDE_DIRECTORIES "${OpenSSL_DIR}/include"
107-
IMPORTED_IMPLIB "${OpenSSL_DIR}/libssl.lib"
107+
IMPORTED_IMPLIB "${OpenSSL_DIR}/lib/libssl.lib"
108108
)
109109
set_target_properties(crypto PROPERTIES
110110
INTERFACE_INCLUDE_DIRECTORIES "${OpenSSL_DIR}/include"
111-
IMPORTED_IMPLIB "${OpenSSL_DIR}/libcrypto.lib"
111+
IMPORTED_IMPLIB "${OpenSSL_DIR}/lib/libcrypto.lib"
112112
)
113113
else()
114114
if(SYSTEM_MACOSX)

src/robomongo-unit-tests/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ list(FILTER ROBO_SOURCES EXCLUDE REGEX "main.cpp")
3636

3737
if(SYSTEM_WINDOWS)
3838
set(OBJ_DIR ${CMAKE_BINARY_DIR}/src/robomongo/robomongo.dir/${CMAKE_BUILD_TYPE}/)
39-
set(ROBO_OBJ_FILES "${ROBO_OBJ_FILES}${OBJ_DIR}mocs_compilation.obj;")
39+
set(ROBO_OBJ_FILES "${ROBO_OBJ_FILES}${OBJ_DIR}mocs_compilation_${CMAKE_BUILD_TYPE}.obj;")
4040
set(ROBO_OBJ_FILES "${ROBO_OBJ_FILES}${OBJ_DIR}qrc_gui.obj;")
4141
set(ROBO_OBJ_FILES "${ROBO_OBJ_FILES}${OBJ_DIR}qrc_robo.obj;")
4242
foreach(SRC_FILE ${ROBO_SOURCES})
@@ -117,7 +117,7 @@ if(SYSTEM_WINDOWS)
117117
get_target_property(TESTS_BIN_DIR robo_unit_tests BINARY_DIR)
118118
file(COPY ${QT_BIN_FILES} DESTINATION ${TESTS_BIN_DIR}/${CMAKE_BUILD_TYPE})
119119
file(COPY
120-
${OpenSSL_DIR}/libssl-1_1-x64.dll
121-
${OpenSSL_DIR}/libcrypto-1_1-x64.dll
120+
${OpenSSL_DIR}/bin/libssl-1_1-x64.dll
121+
${OpenSSL_DIR}/bin/libcrypto-1_1-x64.dll
122122
DESTINATION ${TESTS_BIN_DIR}/${CMAKE_BUILD_TYPE})
123123
endif()

0 commit comments

Comments
 (0)