Search found 9 matches

by gjoynerjr
Tue Jun 01, 2021 10:15 pm
Forum: Compiler / Linking / IDE Related
Topic: Getting "unresolved external symbol _main" error in VS2019
Replies: 12
Views: 3502

Re: Getting "unresolved external symbol _main" error in VS2019

This is because Empty Project template uses Console and not Windows linker subsystem, it is even tagged so in the templates list. You mean the subsystem setting, correct? It seems odd that it still doesn't work even after changing it to Windows, unless there's something else I'm missing behind the ...
by gjoynerjr
Sat May 29, 2021 12:46 am
Forum: Compiler / Linking / IDE Related
Topic: Getting "unresolved external symbol _main" error in VS2019
Replies: 12
Views: 3502

Re: Getting "unresolved external symbol _main" error in VS2019

Following those steps got it running! I tried doing the same with an empty project and it came up with the _main error again, so I'm assuming that creating an empty Windows Desktop App sets something to make it happy. Regardless, I have a starting point to see if I can get my old project up and runn...
by gjoynerjr
Fri May 28, 2021 9:22 am
Forum: Compiler / Linking / IDE Related
Topic: Getting "unresolved external symbol _main" error in VS2019
Replies: 12
Views: 3502

Re: Getting "unresolved external symbol _main" error in VS2019

Still having issues. Here's what I did from a clean start. I started with these instructions: https://docs.wxwidgets.org/trunk/plat_msw_binaries.html 1) I downloaded the following files: wxMSW-3.1.5_vc14x_x64_Dev.7z wxMSW-3.1.5_vc14x_x64_ReleaseDLL.7z wxWidgets-3.1.5-headers.7z 2) All files were ext...
by gjoynerjr
Thu May 27, 2021 11:58 pm
Forum: Compiler / Linking / IDE Related
Topic: Getting "unresolved external symbol _main" error in VS2019
Replies: 12
Views: 3502

Re: Getting "unresolved external symbol _main" error in VS2019

I was able to compile and run the minimal project, but I'm not entirely sure how to move a minimal project to another location, rename it for my project, and have it working. I tried copy/pasting some of the files in minimal, but that led to incorrect paths (which makes sense). Is it better to just ...
by gjoynerjr
Thu May 27, 2021 11:23 pm
Forum: Compiler / Linking / IDE Related
Topic: Getting "unresolved external symbol _main" error in VS2019
Replies: 12
Views: 3502

Re: Getting "unresolved external symbol _main" error in VS2019

The linker error you reported is exactly the same as the one caused by not doing what is described in the second paragraph of instructions you quoted. Are you sure you set the linker subsystem to "Windows (/SUBSYSTEM:WINDOWS)"? I forgot to mention in the original post that it was the first thing I ...
by gjoynerjr
Wed May 26, 2021 10:48 am
Forum: Compiler / Linking / IDE Related
Topic: Getting "unresolved external symbol _main" error in VS2019
Replies: 12
Views: 3502

Getting "unresolved external symbol _main" error in VS2019

Hello everyone. I decided to jump back into working on some personal projects using wxWidgets, but for some reason this time I cannot get Visual Studio 2019 to cooperate on one of my systems. I cross-checked my other computer where VS2019 seems to work, but even when confirming that it's all the sam...
by gjoynerjr
Wed Apr 29, 2020 8:24 pm
Forum: C++ Development
Topic: Best way to display updateable text
Replies: 3
Views: 380

Re: Best way to display updateable text

Oh SetLabel seems to be it. I was thinking that was for something completely different for some reason. Thanks again for the help!
by gjoynerjr
Wed Apr 29, 2020 8:16 pm
Forum: C++ Development
Topic: Best way to display updateable text
Replies: 3
Views: 380

Re: Best way to display updateable text

I appreciate the reply!

I don't see a function or member available to update the text in a wxStaticText. I'm probably just blind. :) What's the method or variable to update the text?
by gjoynerjr
Wed Apr 29, 2020 8:07 pm
Forum: C++ Development
Topic: Best way to display updateable text
Replies: 3
Views: 380

Best way to display updateable text

Hello everyone. I'm wanting to display some text that is not editable by the user but is updated by the application based on user input elsewhere. I can't seem to find a good example or class to do this, and wxStaticText does not seem to be updateable (as the Static implies). What's the best class t...