On 2018-06-20 00:12, Maxim Pichler wrote:
> Hi,
> 
> I'm trying to build hugin-2018.0.0 (requires wxWidgets 3) on OpenBSD
> (which currently only has a package for wxWidgets 2.8). So I installed
> wxWidgets 3.0.4 in my home directory. How can I tell cmake where it is
> located?
> 
> Even with wx-config on the path cmake fails with:
>   Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES
>   wxWidgets_INCLUDE_DIRS)
> 
> Trying to set these variables on the command line (e.g.
> -DwxWidgets_LIBRARIES=/home/maxim/opt/wxWidgets-3.0.4/lib) seems to have
> no effect.
> 
> Thanks for any insights!
I have never built any software on *BSD, but you might try to add
-DwxWidgets_CONFIG_OPTIONS="--prefix=/home/maxim/opt/wxWidgets-3.0.4" to
CMake options. The prefix is passed to wx-config script and overrides
default prefix which is /usr/local or something similiar.

/J.D.

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/747e1e03-93fb-483b-1d77-232d9558de38%40onet.pl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to