Alexander Zhirov
Alexander Zhirov
It's strange, I took the code out of the main function - other errors began to pour out: xfreerdp.c ```c #include #include #include #include #include #include "../xf_client.h" #include "../xfreerdp.h" #include...
Most likely I just redefined the system function.
Swapped function calls - and the errors are the same. Most likely, I somehow incorrectly connect static libraries and they in general somehow affect the executable file. I don't even...
> specifically the ClientNew pointer Hmm, I have a pointer defined 
In general, I followed the simplest path. Built a dynamic library. Next, added only one flag in CMakeLists.txt: ```sh ... target_link_libraries(${MODULE_NAME} ${PRIVATE_KEYWORD} ${${MODULE_PREFIX}_LIBS} cfltk) ... ``` And edited the xfreerdp.c...
> What about when you comment out `cfltk()` in main, but still link cfltk? Oh, by the way! Even when there is no code from `cfltk`, but the `cfltk` flag...
> It might be a binary compatibility issue between FLTK’s dependencies and FreeRDP’s dependencies. What do you mean?
@MoAlyousef Maybe it's worth trying somehow on version `FLTK 1.3.8`? I'm trying to assemble it now, but it doesn't work out for me. I think need to fix the source...
> You might prefer to try FLTK 1.3.8 directly instead of cfltk. You only need to change the file extension to cpp, and remove cfltk from CMake. The rest should...
Most likely it will not work, dependencies in the code began to pop up: ```sh ... [ 99%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_graphics.c.o [ 99%] Building C object client/X11/CMakeFiles/xfreerdp-client.dir/xf_keyboard.c.o [ 99%]...