Guruprasad Rane

Results 10 comments of Guruprasad Rane

I tried installing LibreCad on fresh Ubuntu 20.04 inside a virtualbox. It gave errors. Following packages were installed. `sudo apt-get install git qttools5-dev qttools5-dev-tools libqt5opengl5-dev liblua5.2-dev git g++ gcc-4.8 libcairo2-dev...

Also terminal gave this error CMake Error at /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:164 (message): Could NOT find LibDxfrw (missing: LIBDXFRW_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE) persistence/cmake/FindLibDxfrw.cmake:65 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) persistence/CMakeLists.txt:24 (find_package)

LibDxfrw was compiles using these commands cd libdxfrw mkdir release cd release cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr .. && make all make sudo make install

``` cd libdxfrw mkdir release cd release cmake -DCMAKE_BUILD_TYPE=Release .. && make all sudo make install ``` This code worked. Without pulling the latest code.

Installing had another new error.. ``` [ 43%] Building CXX object lcadluascript/CMakeFiles/lcluascript.dir/primitive/customentity.cpp.o /usr/bin/ld: /usr/local/lib/libdxfrw.a(drw_entities.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTVSt23_Sp_counted_ptr_inplaceI12DRW_Vertex2DSaIS0_ELN9__gnu_cxx12_Lock_policyE2EE' can not be used when making a shared object; recompile with...

`gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0` By adding `set(CMAKE_POSITION_INDEPENDENT_CODE ON)` in CMakeLists.txt of LibDxfrw solved this error. And next error is again ``` [ 62%] Linking CXX executable ../bin/luacmdinterface /usr/bin/ld: CMakeFiles/luacmdinterface.dir/main.cpp.o: in...

I don't know much about CMAKE. Found this method somewhere on internet. `libgtk3-dev` was not found. `libgtk-3-dev` is already installed. `gdkcairo.h` already exist at `/usr/include/gtk-3.0/gdk` I tried installing` libgtk2.0-dev` and...

After the error "undefined reference to `gdk_cairo_set_source_pixbuf'" while running make -j 4, running ``` cmake .. make -j 4 ``` for the second time in the same build directory compiles...

Faced similar problem. DXF file generated by libdxfrw can not be opened in XED text editor. This is due to NULL characters at some places. [dwg2dxf.tar.gz](https://github.com/LibreCAD/libdxfrw/files/6524644/dwg2dxf.tar.gz) This issue can was...

@lordofbikes Yes, I was using ```dwg2dxf``` when this issue happen.