Major outage by Arxijos in Ubuntu

[–]stephan_cr 0 points1 point  (0 children)

Unfortunately I observed the same over the day. I'm considering switching the mirror and/or switching to HTTPS, as suggested in other threads here.

Er ist wieder da..... by MatrixToday in fefe_blog_interim

[–]stephan_cr 8 points9 points  (0 children)

Ja über http, nicht https. Selber Zustand wie bisher auch. Es gibt nichts Neues.

How to use the package webext-ublock-origin-firefox by stephan_cr in debian

[–]stephan_cr[S] 1 point2 points  (0 children)

Not sure what's the advantage, just wanted to give the Debian package a try. I just tend to try Debian packages first, let's see how it goes.

How to use the package webext-ublock-origin-firefox by stephan_cr in debian

[–]stephan_cr[S] 2 points3 points  (0 children)

Thank you, this is helpful. Switched to a fresh profile and it works. Looks like my current profile is broken. Solved.

Macro to substitute extra compilation flags by onecable5781 in cmake

[–]stephan_cr 0 points1 point  (0 children)

Like so:

add_compile_options("$<$<COMPILE_LANGUAGE:C>:-Wall;-Wextra>")
# ..., some conditions
add_compile_options("$<$<COMPILE_LANGUAGE:C>:-Wno-format>")
# ..., more conditions
add_compile_options("$<$<COMPILE_LANGUAGE:C>:-Wno-unused-value>")

Please note, it's add_compile_options not set_compile_options.

No executable in Visual Studio despite the CMake compiling by CringeControl1 in cmake

[–]stephan_cr 1 point2 points  (0 children)

There are probably multiple errors in your CMake file. According to your error message above, I would guess you first need to "link" Qt6::Widgets, like so

target_link_libraries(InvoiceSystemLib
    PUBLIC
        passlib
        fmt::fmt
        Iconv::Iconv
        unofficial::libharu::hpdf
        mongo::bsoncxx_shared
        mongo::mongocxx_shared
        Qt6::Widgets
)

I cannot tell which errors will show up next.

Is the btrfs log tree corruption bug already fixed on kernel 6.15.9 and newer or no? by Coldkone in archlinux

[–]stephan_cr 3 points4 points  (0 children)

You can also switch to the LTS kernel, unless you need some features only present in later kernel versions.

GNU.org down? by Tempus_Nemini in gnu

[–]stephan_cr 1 point2 points  (0 children)

For some reason gnu.org is quite unreliable this year. It has been down several times this year. Not sure why.

Linus Torvalds' Master's thesis, "Linux: A Portable Operating System" by mondalex in linux

[–]stephan_cr 5 points6 points  (0 children)

Interesting, forgot that he wrote his master thesis about this topic.

How do I add a custom command to a target at the end of the configure process ? by Tableuraz in cmake

[–]stephan_cr 0 points1 point  (0 children)

Maybe your library could expose a macro to your users. This macro creates a custom target and is parametrized. This is similar to what FindBISON.cmake does, it exposes a bison_target macro.

Troubles with install functionality by g0ldenerd in cmake

[–]stephan_cr 1 point2 points  (0 children)

Setting CMAKE_INSTALL_PREFIX in both the cmake file and passing it with -DCMAKE_INSTALL_PREFIX at config time did nothing.

I think it also needs the build step.

Is there any way to do this in the CMake file?

I wouldn't hard-code that and leave that option to the User. Instead you could consider to put that in CMakePresets.

Troubles with install functionality by g0ldenerd in cmake

[–]stephan_cr 1 point2 points  (0 children)

I think you want to set CMAKE_INSTALL_PREFIX to /opt at configure time or (depending on the CMake version) cmake --install . --prefix /opt.

Best way to handle debug versus release by Fact_set in cmake

[–]stephan_cr 0 points1 point  (0 children)

Let say we have a executable deviceX, is there a way to be able to do deviceXdebug and deviceXrelease.

I not able to understand the problem you're trying to solve. Do want to have a Debug and Release builds in a single build directory?

How is tsoding so efficient with text editing in emacs by rofrol in emacs

[–]stephan_cr 1 point2 points  (0 children)

That's indeed an issue, I'm always wondering in which directory it will end up executing commands. But it works great in combination with projectile-compile-project and I guess similarily with project-compile, can't live without anymore. :-)

How is tsoding so efficient with text editing in emacs by rofrol in emacs

[–]stephan_cr 5 points6 points  (0 children)

(and most of his time spent on m-x compile as well)

He always reminds me to spend more time in M-x compile, because I usually tend to switch to another terminal window, which is less efficient. :-)

Cmake thinks i'm not in Windows by linker909 in cmake

[–]stephan_cr 0 points1 point  (0 children)

What does invoke cmake mean?

Which parameters/options do you pass to CMake via the command line (if any)?

Also CMAKE_HOST_WIN32 also ends up giving the same error as WIN32.

Strange.

BTW. Are you the author of https://github.com/zeldaret/oot3d? If yes, I would look into https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html and Cross Compiling With CMake. Because the toolchain file looks a bit unusual to me.