biochem
vs even not care about, really niubility. However, it is really absurd of CMake command line without giving a debug trace
Misha
explain this happens when you run a build on windows?
Misha
does it run in visual studio?
biochem
I think, it is because, the configurationPreset with a typo mistake, was not the one I was working on or building, so visual studio ignore that preset, after all vs uses it own implements of prasing the presets json
biochem
but cmake.exe go through the json before invoking any others
biochem
In details, it is the problem about a configurationPreset inherit another configurationPreset which is not existed, because of a typo
Andre
#res
Ashutosh Kumar
Ludovic 'Archivist'
Does anyone have a very modern CPU and run linux?
I am looking to benchmark bcrypt to know what is adequate as a factor
g++ -fpermissive -O3 -march=native bcrypt_benchmark.cpp
The above command can be used to build. The code uses OpenBSD's implementation (cheerfully copied and edited)
Ludovic 'Archivist'
(don't wait until the entire thing has run, if it gives you more than 1'000'000 µs as output it is more than adequate to terminate it)
\Device\NUL
Ludovic 'Archivist'
Ludovic 'Archivist'
(and with a big enough clock speed)
Mar!o
Ludovic 'Archivist'
Mar!o
Ludovic 'Archivist'
Mar!o
test system:
OS: Linux Mint 21.1 x86_64
Kernel: 6.2.10-060210-generic
Uptime: 53 mins
Packages: 3032 (dpkg), 27 (flatpak)
Shell: bash 5.1.16
Resolution: 3840x1200
DE: Cinnamon 5.6.8
WM: Mutter (Muffin)
WM Theme: Mint-Y-Dark-Aqua (Mint-Y)
Theme: Mint-Y-Dark-Aqua [GTK2/3]
Icons: Mint-Y-Dark-Aqua [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen Threadripper 3970X (64) @ 3.700GHz
GPU: NVIDIA GeForce RTX 3080
Memory: 5.8GiB / 128.6GiB
Danya🔥
Danya🔥
Vlad
줄리아 우지야노바
줄리아 우지야노바
Mar!o
avx512 is kinda not used in desktop apps
Yeah because the hardware support is poor
When the most chips have avx512 we might see more apps using it
Avx512 could be strong in games and emulators and scientific stuff
Might not be that good with auto vectorization but we have intrinsics anyway
Vlad
Vlad
To much of a hassle for the thing that won't be available for the 95% of users
Mar!o
Ludovic 'Archivist'
amir mohammad
Hi dose anyone know about codevision
I realy need help here
Dima
lol
Suka
Albatross
Hello everyone,
I am seeking guidance on how to use the ENet C++ library. If anyone has a well-structured tutorial or sample code that they can share with me, I would greatly appreciate it.
I am specifically interested in understanding how to initialize the library and use its functions effectively in my code.
Collins
Which resources can I use to C/C++ programming language
Collins
Danya🔥
Albatross
Have you tried opening docs?
https://github.com/zpl-c/enet
Hi, thank you for your reply. I've tried working with the enet library for my project several times, but I haven't been able to make it work yet. I downloaded version 1.3.17, but I'm not sure if it's the latest version or an older one. When I built the source code using CMake, the library lib file did not have the full source code with it, so when I tried using some functions, I encountered errors. I also tried downloading the latest the Github CMake file, but it didn't help, and I encountered errors while building that file as well.
Can you please provide me with the download URL for the latest version of the enet library? This would be really helpful.
Albatross
hello I would like to know how to include SDL2 in my C++ project. I have downloaded the SDL2 development libraries (version 2.0.5) for Windows 64-bit, extracted them, and now have a SDL2.dll file. Can someone explain how to link this DLL file to my source code for testing purposes? Specifically, I have a main.cpp file and I would like to include the SDL2.dll file in it. Thank you
Olivia
Can someone explain about linked list 🧐?
What if int a is in 2000 memory address what if we make a pointer like int *b then if it memory address get increased according to integrer like 2004
Anonymous
Sri
C tutorial ? Vedios are there ?
Sri
Are There Any C++ Sdl Or Opengl Tutorial Here ?
Sri
Please Pun Here Please
Alexandr
Hi! I use clang + cmake and want to change MSVC STL to libc++. I already built libc++.lib from sources and i know that i can specify which stdlib use through compiler flag "-stdlib=libc++". So... seems like i also have to specify path to include/lib in CMakeLists. Am i right? Or there is some "standard" path where compiler try to find all stuff? I don't quit understand the process. Win OS
Robin
Hello
•‿•
Can you guide me
how to start learning advance c++ and c# ?
Sri
Manav
Else The cherno
Antasya Dania
hi
Chat Boss
Antasya Dania sent a code, it has been re-uploaded as a file
Antasya Dania
can anyone help me why i cannot compile?
Antasya Dania
im not really sure what to add
Danya🔥
Antasya Dania
what does it mean but expected unqualified id?
Antasya Dania
by*
Ashish
In How many days I can complete basic C programming
??
klimi
Danya🔥
I don't understand what's the point of asking such questions
Danya🔥
It doesn't make any sense whatsoever
Marc
Albatross
Hello, I need more information about including SDL in my code, which I am compiling using the Microsoft Visual Studio 2022 developer command prompt on a Microsoft Windows 64-bit system. I have downloaded the SDL source code, and I'm using the following line to include the "SDL.h" file:
#include "SDL-release-2.26.5/include/SDL.h"
However, I'm encountering the following error:
LINK : fatal error LNK1561: entry point must be defined
I don't understand why I'm getting this error since I have defined an int main(){} function in my file. When I comment out the SDL header file include, I don't get this error. Can anyone help me understand why this is happening?
Albatross
Hello everyone,
I would like to ask for your insight regarding a concern I have about adding external libraries in C++. Unlike in Python where we can easily download and install a library by entering a "pip" command and simply import the file or module in our code, it seems to be much more difficult to do so in C++. Is there a simple way to download, install, and use new libraries in our C++ projects?
I have noticed that the developers of these libraries often provide a CMake list file, but they can be unreliable and result in build errors. Even including the header file can cause a cascade of errors due to incorrect file paths.
If anyone has experience with this issue or has any suggestions, please share your thoughts. Thank you for your time.
Robin
Is there any C++ doing ? Who wants to study along with me together online
Anonymous
Anonymous
ruki
xmake also support package manager.
Anonymous
Hello everyone, i am looking for help to create package file installer (.deb) or (. appImage) from source of my SDL projet ? Is there someone who can help me to achieve this please
Artur
Google cmake cpack
Artur
It has loads of examples
Guillermo
amir mohammad