This is a bug in gcc. Add this to your CMakeLists.txt file:
ADD_DEFINITIONS(-DNDEBUG)
Normally, you should have seen a big warning while you ran cmake on Wt. Wt
adds this automatically when it detects a broken compiler, but you also have
to add it in your own projects.
Wim.
2011/1/6 kh jo <[email protected]>
> I am trying to compile the hello example using cmake, but I am getting the
> following error
>
> In member function ‘boost::signals::connection
> Wt::EventSignal<E>::connect(T*, void (V::*)()) [with T = HelloApplication, V
> = HelloApplication, E = Wt::WMouseEvent]’:
> cc1plus: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
>
> here is my CMakeLists.txt
>
> ADD_EXECUTABLE(example.wt main.cpp)
> TARGET_LINK_LIBRARIES(example.wt wt)
> INCLUDE_DIRECTORIES(/usr/local/include/Wt/)
>
> any idea how to solve this?
>
>
>
>
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment,
> and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest