Comments (18)
Do you have the pthread library installed ?
from librecad_3.
I have libpthread-stubs0-dev installed. Is this the correct package for pthread?
from librecad_3.
It should be. Can you give me the content of this file ? [build dir]/CMakeFiles/cmTC_8dd12.dir/link.txt
I think CMake isn't pointing to the correct library
from librecad_3.
There is no directory named cmTC_8dd12.dir in CMakeFiles. Nothing with cmTC_*****.dir
from librecad_3.
$ dir -R CMakeFiles/
CMakeFiles/:
3.10.2 CMakeError.log CMakeTmp feature_tests.c
cmake.check_cache CMakeOutput.log feature_tests.bin feature_tests.cxx
CMakeFiles/3.10.2:
CMakeCCompiler.cmake CMakeSystem.cmake
CMakeCXXCompiler.cmake CompilerIdC
CMakeDetermineCompilerABI_C.bin CompilerIdCXX
CMakeDetermineCompilerABI_CXX.bin
CMakeFiles/3.10.2/CompilerIdC:
a.out CMakeCCompilerId.c tmp
CMakeFiles/3.10.2/CompilerIdC/tmp:
CMakeFiles/3.10.2/CompilerIdCXX:
a.out CMakeCXXCompilerId.cpp tmp
CMakeFiles/3.10.2/CompilerIdCXX/tmp:
CMakeFiles/CMakeTmp:
from librecad_3.
Do you have the libboost-all-dev installed ?
https://stackoverflow.com/questions/28029195/how-to-let-cmake-use-pthread-instead-of-lpthread
from librecad_3.
Yes. libboost-dev as well as libboost-all-dev are installed.
from librecad_3.
Can you try by removing everything related to threads in CMakeFiles ?
set(Boost_USE_MULTITHREADED ON)
, set(Boost_USE_MULTITHREADED ON)
, ${CMAKE_THREAD_LIBS_INIT}
, FIND_PACKAGE ( Threads )
In those files : https://github.com/LibreCAD/LibreCAD_3/search?q=Threads&unscoped_q=Threads
from librecad_3.
Tried removing or commenting as you said but no luck.
I used cmake --debug-trycompile and all the necessary temp file are there intact.
CMakeFiles.tar.gz
Here is the complete CMakeFiles folder compressed.
from librecad_3.
I did a complete fresh git clone and it partly worked this time.
$ ./lcUI/librecad
qt5ct: using qt5ct plugin
(librecad:26519): GLib-GObject-WARNING **: 23:34:22.539: cannot register existing type 'GdkWindow'
(librecad:26519): GLib-GObject-CRITICAL **: 23:34:22.539: g_param_spec_object: assertion 'g_type_is_a (object_type, G_TYPE_OBJECT)' failed
(librecad:26519): GLib-GObject-CRITICAL **: 23:34:22.539: validate_pspec_to_install: assertion 'G_IS_PARAM_SPEC (pspec)' failed
(librecad:26519): GLib-GObject-WARNING **: 23:34:22.554: cannot register existing type 'GdkScreen'
(librecad:26519): GLib-CRITICAL **: 23:34:22.554: g_once_init_leave: assertion 'result != 0' failed
(librecad:26519): Gdk-CRITICAL **: 23:34:22.554: IA__gdk_screen_get_default_colormap: assertion 'GDK_IS_SCREEN (screen)' failed
(librecad:26519): Gdk-CRITICAL **: 23:34:22.554: IA__gdk_colormap_get_visual: assertion 'GDK_IS_COLORMAP (colormap)' failed
from librecad_3.
I can reproduce the bug on a fresh install.
You have to change the theme in Menu > Preferences > Qt5 Settings and change the theme.
Cleanlooks works but is ugly.
from librecad_3.
Librecad3 started with cleanlooks but looks like this.
Tried to change icons theme on QT5 settings. but not luck.
from librecad_3.
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
Error opening dir: No such file or directory
Output of ./librecad in terminal
from librecad_3.
I use Brise (KDE Qt theme), and it looks correct.
Concerning the console output, it's a Qt error message, and will not make LibreCAD crash
from librecad_3.
Whichever theme I use to select from QT Settings Librecad use to take bb10dark.
So I modified main.cpp
//QApplication::setStyle(QStyleFactory::create(style.getStyle()));
QApplication::setStyle("cleanlooks");
And it worked...
Not sure whether it is problem with LIbrecad or Cinnamon. But other QT based programs are working fine.
@feragon Thank you for the support...
from librecad_3.
Does it works better if you totally remove QApplication::setStyle ?
from librecad_3.
Yes. works better if QApplication::setStyle is removed. Style changes in QT5 settings reflected in Librecad as well.
from librecad_3.
Ok, then I'm going to remove this.
Thanks for the report !
from librecad_3.
Related Issues (20)
- Dark theme icons support HOT 5
- [openSUSE] How to compile LibreCAD3 with system installed tinyspline? HOT 3
- Dependency rapidjson should be added to build instructions HOT 9
- Is posible compile Librecad_3 using Mingw in Windows 10? HOT 4
- make -j 4 make: *** No targets specified and no makefile found. Stop. HOT 3
- Failed to build: error: no return statement in function returning non-void HOT 2
- Failed to build CMakeFiles/luacmdinterface.dir/main.cpp.o: in function CairoStore::image_create HOT 1
- Visual Programming for interconnect to others programs.
- DGN v7 file support HOT 1
- DimensionLinear Alignment
- LibreCAD3 works but it display some issues in terminal HOT 1
- ‘class tinyspline::BSpline’ has no member named ‘data’ HOT 2
- Segmentation fault in GL_Font::readyFont HOT 1
- why not libdxfrw as a git submodule? HOT 1
- Segmentation fault in lcunittest
- Can't open newly created 2D .dxf file HOT 1
- cmake is detecting lua 5.4 instead of 5.3 HOT 2
- LibreCAD_3 Whether you plan to support 3D? HOT 4
- Lua 5.3.6
- Define `main` branch as default instead of `master` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from librecad_3.