-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] DWG import into geopackage using libdxfrw
- Loading branch information
Showing
58 changed files
with
90,249 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
INCLUDE_DIRECTORIES( | ||
${CMAKE_SOURCE_DIR}/src/core | ||
${QT_INCLUDE_DIR} | ||
) | ||
|
||
ADD_LIBRARY(libdxfrw STATIC | ||
drw_classes.cpp | ||
drw_entities.cpp | ||
drw_header.cpp | ||
drw_objects.cpp | ||
libdwgr.cpp | ||
libdxfrw.cpp | ||
intern/drw_dbg.cpp | ||
intern/drw_textcodec.cpp | ||
intern/dwgbuffer.cpp | ||
intern/dwgreader.cpp | ||
intern/dwgreader15.cpp | ||
intern/dwgreader18.cpp | ||
intern/dwgreader21.cpp | ||
intern/dwgreader24.cpp | ||
intern/dwgreader27.cpp | ||
intern/dwgutil.cpp | ||
intern/dxfreader.cpp | ||
intern/dxfwriter.cpp | ||
intern/rscodec.cpp | ||
) | ||
SET_PROPERTY(TARGET libdxfrw PROPERTY POSITION_INDEPENDENT_CODE ON) | ||
|
||
IF(FALSE) | ||
IF(DOXYGEN_FOUND) | ||
ADD_CUSTOM_TARGET(doxygen-dxfrw ALL | ||
COMMAND ${DOXYGEN_EXECUTABLE} libdxfrw.dox | ||
drw_base.h | ||
drw_classes.cpp | ||
drw_classes.h | ||
drw_entities.cpp | ||
drw_entities.h | ||
drw_header.cpp | ||
drw_header.h | ||
drw_interface.h | ||
drw_objects.cpp | ||
drw_objects.h | ||
libdwgr.cpp | ||
libdwgr.h | ||
libdxfrw.cpp | ||
libdxfrw.h | ||
intern/drw_cptable932.h | ||
intern/drw_cptable936.h | ||
intern/drw_cptable949.h | ||
intern/drw_cptable950.h | ||
intern/drw_cptables.h | ||
intern/drw_dbg.cpp | ||
intern/drw_dbg.h | ||
intern/drw_textcodec.cpp | ||
intern/drw_textcodec.h | ||
intern/dwgbuffer.cpp | ||
intern/dwgbuffer.h | ||
intern/dwgreader.cpp | ||
intern/dwgreader.h | ||
intern/dwgreader15.cpp | ||
intern/dwgreader15.h | ||
intern/dwgreader18.cpp | ||
intern/dwgreader18.h | ||
intern/dwgreader21.cpp | ||
intern/dwgreader21.h | ||
intern/dwgreader24.cpp | ||
intern/dwgreader24.h | ||
intern/dwgreader27.cpp | ||
intern/dwgreader27.h | ||
intern/dwgutil.cpp | ||
intern/dwgutil.h | ||
intern/dxfreader.cpp | ||
intern/dxfreader.h | ||
intern/dxfwriter.cpp | ||
intern/dxfwriter.h | ||
intern/rscodec.cpp | ||
intern/rscodec.h | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} | ||
DEPENDS libdxfrw | ||
COMMENT "Generating libdxfrw documentation" VERBATIM) | ||
ENDIF(DOXYGEN_FOUND) | ||
ENDIF(FALSE) |
Oops, something went wrong.
d5c6b97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jef-n
It works great on Windows, but it does not work here on Linux. It's not ready for Linux yet?
Another great work! Thank you very much!
d5c6b97
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Linux, when I try to import the DWG, it says:
"Could not open layer list" and then
"Drawing import failed ()".
Also, when I try to open (on Linux) a geopackage created with DWG/DXF Import on Windows, it says:
"Invalid Data Source: /home/pedro/.../xxx.gpkg is not a valid or recognized data source".