Unable to use wxTimePickerCtrl

Do you have a question about makefiles, a compiler or IDE you are using and need to know how to set it up for wxWidgets or why it doesn't compile but other IDE's do ? Post your questions here.
Post Reply
Knows some wx things
Knows some wx things
Posts: 34
Joined: Sat Mar 16, 2019 8:09 pm

Unable to use wxTimePickerCtrl

Post by sw » Sat Mar 16, 2019 8:19 pm

Hello everyone!

I am trying to use the

Code: Select all

in my program and I keep getting unresolved external symbol on everything involving that class. I get LNK2019 and LNK2001. I am using MSVC with vcpkg and CMake. I installed wxWidgets using vcpkg and the moment I try to instantiate the class I get all these linker errors.

As per the documentation I have defined

Code: Select all

in my

Code: Select all

. Nobody else seems to have had this problem as I have been unsuccessful in finding anything relating to the time picker control on StackOverflow and other websites in terms of issues...

Any help is appreciated, thank you :D

User avatar
Posts: 14899
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: Unable to use wxTimePickerCtrl

Post by doublemax » Sat Mar 16, 2019 9:09 pm

vcpkg support is relatively new, i assume you used these instructions: https://www.wxwidgets.org/blog/2019/01/ ... and-vcpkg/ ?

I can't help with vcpkg, but building wxWidgets from source is very simple with Visual Studio, so i would suggest you try that.
Use the source, Luke!

Post Reply