Author Topic: Building xLights  (Read 3899 times)

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Building xLights
« Reply #15 on: September 29, 2016, 05:27:11 PM »
I have wx and wxvc set to my wxwidgets folder. Leaving it there does not hurt ... I think it is used for visual c++ compiling of wx widgets in codeblocks which you wont be doing.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Building xLights
« Reply #16 on: September 29, 2016, 05:28:34 PM »
For your visual studio issues ... you need to set your header paths to wxWidgets and log4cpp

Offline jwylie01

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Building xLights
« Reply #17 on: September 30, 2016, 07:12:33 AM »
Me again. I might get this up and running eventually and I'll stop bugging y'all, well maybe not.

So project built just fine, woo hoo, but I get an error that the DLL doesn't exist. I checked the wxWidgets
\lib\gcc_dll folder and they are there. So I'm checking the compiler settings and the Linker correctly points to gcc_dll folder and it looks like I have everything setup just like the instructions say to have it. Should I have moved the DLLs to another place after they were build or registered them?

I did notice this though. On the compiler tab it notes to have a path to the contrib\include folder but there's no contrib folder.
Jennifer Wylie

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: Building xLights
« Reply #18 on: September 30, 2016, 07:17:04 AM »
Copy the DLL's into the "bin" directory.   That's what I did.
Daniel Kulp
Framingham, MA

Offline jwylie01

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Building xLights
« Reply #19 on: September 30, 2016, 07:27:45 AM »
Copy the DLL's into the "bin" directory.   That's what I did.
That did it! Thanks.

Now I do get this message but if I click no, xLights runs. Is this something I need to worry about?
Jennifer Wylie

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Building xLights
« Reply #20 on: October 04, 2016, 08:36:34 AM »
So today's mystery. When I load the project in Code::Blocks the Global Variable Editor comes up with the Current Variable of wxvc. I never set that, just wx like the instructions. I've tried deleting it but it comes right back.

Sorry I've been out of town...like where there is no internet. :)  Did you get this going?  Don't delete that because it's part of the "current" set just switch the drop-down to "wx".

Offline jwylie01

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Building xLights
« Reply #21 on: October 04, 2016, 08:52:41 AM »
I did get it up and running. I get that message I posted last but when I click NO xLights runs fine as far as I can tell.  Now begins the task of poking through the code and seeing what I need to do to add my bits.
Jennifer Wylie