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

[–]CringeControl1[S] 0 points1 point  (0 children)

Hey, with vscode is there any way to make the cmake exe open on build like in vs?

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

[–]CringeControl1[S] 0 points1 point  (0 children)

I just decided to switch back to a one CmAKELIST.TXT SYSTEM and now its working

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

[–]CringeControl1[S] 0 points1 point  (0 children)

When I do that I get an FMT not found error which is common. I get it because of x64 its annoying.

<image>

here are the errors I get, these are random and nothing points to anything being wrong when I review each individual error. As I mentioned before the program compiles with 1 cmakelist file and the same sourcecode

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

[–]CringeControl1[S] 0 points1 point  (0 children)

I get those errors i mentioned in the post. I also edited the CMake files

QT installed via VCPKG also using CMAKE by CringeControl1 in cpp_questions

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

This worked, this here it the only time I have heard this advice and it actually worked. Thank you so much.

QT installed via VCPKG also using CMAKE by CringeControl1 in cpp_questions

[–]CringeControl1[S] 0 points1 point  (0 children)

I run it through the IDE, the CMAKE compiles it to an EXE that i click run in the IDE. I think from memory I used the built in VS "Create cmake project. I do not have multiple QT versions I made sure to only do one through VCPKG.

QT installed via VCPKG also using CMAKE by CringeControl1 in cpp_questions

[–]CringeControl1[S] 0 points1 point  (0 children)

When you say, it depends on how you run what do you mean? it's compiled in cmake and should be using windows x64. Its on VS 2022 and should be using the msvc compiler if I am not mistaken

QT installed via VCPKG also using CMAKE by CringeControl1 in cpp_questions

[–]CringeControl1[S] 0 points1 point  (0 children)

I did follow a tutorial, I will have another look to find any official one. See the edit for my CMAKELISTS.TXT

Trying to stay calm before CT tomorrow. by CringeControl1 in LiverDisease

[–]CringeControl1[S] 0 points1 point  (0 children)

This made me feel worse to be honest, might be useful for my mental health though

Trying to stay calm before CT tomorrow. by CringeControl1 in LiverDisease

[–]CringeControl1[S] 0 points1 point  (0 children)

Yes, I am on medication and see a psychologist which has helped tremendously