[eq-dev] Building eqHello with cmake

10 views
Skip to first unread message

mbobadilla

unread,
Apr 28, 2016, 6:00:44 PM4/28/16
to eq-...@equalizergraphics.com
Hi.

I installed equalizer 1.6.0 a few days ago for investigation purposes.

I've been trying to build the eq examples, eqHello using cmake and I'm
getting the next message:

CMake Error at CMakeLists.txt:4 (eq_add_example):
Unknown CMake command "eq_add_example".

-- Configuring incomplete, errors occurred!

Then, the compilation ends in an error.

Do I need to install some cmake packages or there's any other solution to
build this example using cmake (3.5)?



--
View this message in context: http://software.1713.n2.nabble.com/Building-eqHello-with-cmake-tp7588041.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.

_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Stefan Eilemann

unread,
Apr 29, 2016, 3:48:05 AM4/29/16
to eq-...@equalizergraphics.com
Hi,

On 28. Apr 2016, at 23:59, mbobadilla [via Software] <ml-node+s171...@n2.nabble.com> wrote:

> I installed equalizer 1.6.0 a few days ago for investigation purposes.
>
> I've been trying to build the eq examples, eqHello using cmake and I'm getting the next message:

We’ve not tested compiling the examples independently of the source for ages. It seems you’re configuring in eqHello, afair this was never working. Try configuring in the examples folder and then just building eqHello. If that won’t work, just compile the full Equalizer source tree.


Cheers,

Stefan.

signature.asc (858 bytes) <http://software.1713.n2.nabble.com/attachment/7588044/0/signature.asc>


--
View this message in context: http://software.1713.n2.nabble.com/Building-eqHello-with-cmake-tp7588041p7588044.html

mbobadilla

unread,
May 3, 2016, 5:09:29 PM5/3/16
to eq-...@equalizergraphics.com
Thank you very much for you answer, Mr. Eilemann.

I tried to build the entire examples folder, however, I'm still getting the
same message.

So I have another question: How can I build my own OpenGL-based application
(cpp) using cmake so I can run it using equalizer?

Thanks.

mbobadilla.



--
View this message in context: http://software.1713.n2.nabble.com/Building-eqHello-with-cmake-tp7588041p7588047.html

Stefan Eilemann

unread,
May 11, 2016, 10:53:59 AM5/11/16
to eq-...@equalizergraphics.com
On Tue, May 3, 2016 at 11:08 PM, mbobadilla [via Software] <
ml-node+s171...@n2.nabble.com> wrote:

> So I have another question: How can I build my own OpenGL-based
> application (cpp) using cmake so I can run it using equalizer?
>

You can use this as a template:
https://github.com/BlueBrain/Livre/blob/master/CMakeLists.txt

Simply strip out all the non-Equalizer dependencies and you should be ready
to go. Furthermore there is also the .gitsubprojects and .gitexternals in
Livre to bootstrap everything.


HTH,

Stefan.




--
View this message in context: http://software.1713.n2.nabble.com/Building-eqHello-with-cmake-tp7588041p7588054.html
Reply all
Reply to author
Forward
0 new messages