NREL / lk

LK (Language Kit) is a simple but powerful scripting language that is designed to be small, fast, and easily embedded in other applications. The core LK engine, including lexical analyzer, parser, compiler, and virtual machine is only dependent on the Standard C++ Library (STL), making it extremely lightweight and portable.
BSD 3-Clause "New" or "Revised" License
32 stars 22 forks source link

Unable to compile LK library #44

Closed kodandaravi724 closed 4 months ago

kodandaravi724 commented 6 months ago

When trying to compile the LK library, I got the below error. I compiled in Windows machine 64 bit version and x86 architecture. ind_package(wxWidgets REQUIRED xrc stc richtext ribbon propgrid aui gl html qa adv core xml net base) find_package(wxWidgets REQUIRED xrc stc richtext ribbon propgrid aui gl html qa adv core xml net base) find_package(wxWidgets REQUIRED qa webview aui richtext html propgrid adv net stc core base scintilla)

However, I was able to download and compile wxWidgets successfully. After compiling wxWidgets do I need to add it to my PATH? Can anyone please help me with this issue?

brtietz commented 6 months ago

@kodandaravi724 Yes, wxWidgets needs to be added to your path. The up to date version of the instructions for all SAM repositories is here: https://github.com/NREL/SAM/wiki/Windows-Build-Instructions, with the path instructions under step 6. Are you doing an lk-only build or trying to build more of SAM?

kodandaravi724 commented 5 months ago

Thanks for the response. What do I need to set the environment variable name for wxWidget? I couldn't find that information in the documentation.

janinefreeman commented 4 months ago

The environment variable name is WXMSW3 per Step 6.4 in the instructions above.