<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-BR">
	<id>http://wiki.nosdigitais.teia.org.br/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mamorim</id>
	<title>Pontão Nós Digitais - Contribuições do usuário [pt-br]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.nosdigitais.teia.org.br/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mamorim"/>
	<link rel="alternate" type="text/html" href="http://wiki.nosdigitais.teia.org.br/Especial:Contribui%C3%A7%C3%B5es/Mamorim"/>
	<updated>2026-04-21T18:24:51Z</updated>
	<subtitle>Contribuições do usuário</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>http://wiki.nosdigitais.teia.org.br/index.php?title=MultiViewCam&amp;diff=33533</id>
		<title>MultiViewCam</title>
		<link rel="alternate" type="text/html" href="http://wiki.nosdigitais.teia.org.br/index.php?title=MultiViewCam&amp;diff=33533"/>
		<updated>2014-10-02T20:23:09Z</updated>

		<summary type="html">&lt;p&gt;Mamorim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;O objetivo desta página é fornecer um tutorial para montagem de um sistema de captura de múltiplas câmeras de vídeo simultâneo, utilizando o &amp;quot;Motion&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Instalação ==&lt;br /&gt;
&lt;br /&gt;
Primeiro instale o Motion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
      sudo apt-get install motion&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuração ==&lt;br /&gt;
&lt;br /&gt;
Localize os arquivos .conf. No Ubuntu o melhor lugar para procurar é /etc/motion. Nesta pasta serão encontrados 5 arquivos: &lt;br /&gt;
motion.conf;  thread1.conf;  thread2.conf;  thread3.conf;  thread4.conf.&lt;br /&gt;
&lt;br /&gt;
O arquivo motion.conf mantém as configurações globais de todas as câmeras utilizadas. &lt;br /&gt;
As configurações individuas para cada câmera são feitas nos arquivos thread#.conf&lt;br /&gt;
&lt;br /&gt;
Para utilizar 2 câmeras simultâneas será necessário modificar os arquivos motion.conf e 2 arquivos thread#.conf, ou seja, 3 arquivos no total&lt;br /&gt;
&lt;br /&gt;
=== motion.conf ===&lt;br /&gt;
&lt;br /&gt;
Neste arquivo devemos verificar se as seguintes linhas estão comentadas como abaixo&lt;br /&gt;
&lt;br /&gt;
     ;netcam_url value&lt;br /&gt;
     ;target_dir value&lt;br /&gt;
     ;webcam_port 8081&lt;br /&gt;
     ;videodevice /dev/video0&lt;br /&gt;
&lt;br /&gt;
como serão usadas duas câmeras será necessário descomentar as linhas correspondentes a 2 thread#.conf no final do arquivo motion.conf.&lt;br /&gt;
&lt;br /&gt;
      thread /etc/motion/thread1.conf&lt;br /&gt;
      thread /etc/motion/thread2.conf&lt;br /&gt;
      ;thread /etc/motion/thread3.conf&lt;br /&gt;
      ;thread /usr/local/etc/thread4.conf&lt;br /&gt;
&lt;br /&gt;
Agora basta configurar os arquivos thread#.conf&lt;br /&gt;
&lt;br /&gt;
=== thread#.conf ===&lt;br /&gt;
&lt;br /&gt;
Estes arquivos requerem pouca modificação, por exemplo &lt;br /&gt;
&lt;br /&gt;
==== thread1.conf ====&lt;br /&gt;
&lt;br /&gt;
     videodevice /dev/video0&lt;br /&gt;
     text_left Cam-1&lt;br /&gt;
     target_dir /home/Usuario/motion/Cam1&lt;br /&gt;
     webcam_port 8081&lt;br /&gt;
&lt;br /&gt;
==== thread2.conf ====&lt;br /&gt;
&lt;br /&gt;
     videodevice /dev/video1&lt;br /&gt;
     text_left Cam-2&lt;br /&gt;
     target_dir /home/Usuario/motion/Cam2&lt;br /&gt;
     webcam_port 8082  &lt;br /&gt;
&lt;br /&gt;
OBS:&lt;br /&gt;
&lt;br /&gt;
* videodevice: Deve ser configurado para o endereço /dev da webcam usada. Para descobrir basta digitar find /dev -name vídeo* no terminal. Este comando deverá mostrar as webcams que você tem. No meu caso, foi video0 e video1. &lt;br /&gt;
&lt;br /&gt;
*input - Deve ser configurado para 8 se for utilizar uma webcam, ou 1 se for utilizar uma placa de TV.&lt;br /&gt;
&lt;br /&gt;
*target_dir - Deve ser configurado para o local onde deseja armazenar as imagens e vídeos capturados.&lt;br /&gt;
&lt;br /&gt;
== Configurações adicionais ==&lt;br /&gt;
&lt;br /&gt;
No arquivo motion.conf é onde devem ser mantidas as configurações globais de ambas as câmeras. Aqui apresento algumas das possíveis configurações&lt;br /&gt;
&lt;br /&gt;
* width: largura da imagem. Intervalo válido: dependente da câmera (default: 320)&lt;br /&gt;
* height: altura da imagem. Intervalo válido: dependente da câmera (default: 240)&lt;br /&gt;
* framerate: Número máximo de frames a serem capturados por segundo. Intervalo válido: 2-100 (default: 2)&lt;br /&gt;
* output_all: Esta opção quando ativada permite sempre gravar imagens mesmo quando movimentos não são identificados. (default: off)&lt;/div&gt;</summary>
		<author><name>Mamorim</name></author>
	</entry>
	<entry>
		<id>http://wiki.nosdigitais.teia.org.br/index.php?title=MultiViewCam&amp;diff=33532</id>
		<title>MultiViewCam</title>
		<link rel="alternate" type="text/html" href="http://wiki.nosdigitais.teia.org.br/index.php?title=MultiViewCam&amp;diff=33532"/>
		<updated>2014-10-02T20:18:09Z</updated>

		<summary type="html">&lt;p&gt;Mamorim: /* Configurações adicionais */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;O objetivo desta página é fornecer um tutorial para montagem de um sistema de captura de múltiplas câmeras de vídeo simultâneo, utilizando o &amp;quot;Motion&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Instalação ==&lt;br /&gt;
&lt;br /&gt;
Primeiro instale o Motion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
      sudo apt-get install motion&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuração ==&lt;br /&gt;
&lt;br /&gt;
Localize os arquivos .conf. No Ubuntu o melhor lugar para procurar é /etc/motion. Nesta pasta serão encontrados 5 arquivos: &lt;br /&gt;
motion.conf;  thread1.conf;  thread2.conf;  thread3.conf;  thread4.conf.&lt;br /&gt;
&lt;br /&gt;
O arquivo motion.conf mantém as configurações globais de todas as câmeras utilizadas. &lt;br /&gt;
As configurações individuas para cada câmera são feitas nos arquivos thread#.conf&lt;br /&gt;
&lt;br /&gt;
Para utilizar 2 câmeras simultâneas será necessário modificar os arquivos motion.conf e 2 arquivos thread#.conf, ou seja, 3 arquivos no total&lt;br /&gt;
&lt;br /&gt;
=== motion.conf ===&lt;br /&gt;
&lt;br /&gt;
Neste arquivo devemos verificar se as seguintes linhas estão comentadas como abaixo&lt;br /&gt;
&lt;br /&gt;
     ;netcam_url value&lt;br /&gt;
     ;target_dir value&lt;br /&gt;
     ;webcam_port 8081&lt;br /&gt;
     ;videodevice /dev/video0&lt;br /&gt;
&lt;br /&gt;
como serão usadas duas câmeras será necessário descomentar as linhas correspondentes a 2 thread#.conf no final do arquivo motion.conf.&lt;br /&gt;
&lt;br /&gt;
      thread /etc/motion/thread1.conf&lt;br /&gt;
      thread /etc/motion/thread2.conf&lt;br /&gt;
      ;thread /etc/motion/thread3.conf&lt;br /&gt;
      ;thread /usr/local/etc/thread4.conf&lt;br /&gt;
&lt;br /&gt;
Agora basta configurar os arquivos thread#.conf&lt;br /&gt;
&lt;br /&gt;
=== thread#.conf ===&lt;br /&gt;
&lt;br /&gt;
Estes arquivos requerem pouca modificação, por exemplo &lt;br /&gt;
&lt;br /&gt;
==== thread1.conf ====&lt;br /&gt;
&lt;br /&gt;
     videodevice /dev/video0&lt;br /&gt;
     text_left Cam-1&lt;br /&gt;
     target_dir /home/Usuario/motion/Cam1&lt;br /&gt;
     webcam_port 8081&lt;br /&gt;
&lt;br /&gt;
==== thread2.conf ====&lt;br /&gt;
&lt;br /&gt;
     videodevice /dev/video1&lt;br /&gt;
     text_left Cam-2&lt;br /&gt;
     target_dir /home/Usuario/motion/Cam2&lt;br /&gt;
     webcam_port 8082  &lt;br /&gt;
&lt;br /&gt;
OBS:&lt;br /&gt;
&lt;br /&gt;
* videodevice: Deve ser configurado para o endereço /dev da webcam usada. Para descobrir basta digitar find /dev -name vídeo* no terminal. Este comando deverá mostrar as webcams que você tem. No meu caso, foi video0 e video1. &lt;br /&gt;
&lt;br /&gt;
*input - Deve ser configurado para 8 se for utilizar uma webcam, ou 1 se for utilizar uma placa de TV.&lt;br /&gt;
&lt;br /&gt;
*target_dir - Deve ser configurado para o local onde deseja armazenar as imagens e vídeos capturados.&lt;br /&gt;
&lt;br /&gt;
== Configurações adicionais ==&lt;br /&gt;
&lt;br /&gt;
No arquivo motion.conf é onde devem ser mantidas as configurações globais de ambas as câmeras. Aqui apresento algumas das possíveis configurações&lt;br /&gt;
&lt;br /&gt;
* width: largura da imagem. Intervalo válido: dependente da câmera (default: 320)&lt;br /&gt;
* height: altura da imagem. Intervalo válido: dependente da câmera (default: 240)&lt;br /&gt;
* framerate: Número máximo de frames a serem capturados por segundo. Intervalo válido: 2-100 (default: 2)&lt;br /&gt;
* outpout_all: Esta opção quando ativada permite sempre gravar imagens mesmo quando movimentos não são identificados. (default: off)&lt;/div&gt;</summary>
		<author><name>Mamorim</name></author>
	</entry>
	<entry>
		<id>http://wiki.nosdigitais.teia.org.br/index.php?title=MultiViewCam&amp;diff=33531</id>
		<title>MultiViewCam</title>
		<link rel="alternate" type="text/html" href="http://wiki.nosdigitais.teia.org.br/index.php?title=MultiViewCam&amp;diff=33531"/>
		<updated>2014-10-02T20:01:45Z</updated>

		<summary type="html">&lt;p&gt;Mamorim: /* Configurações adicionais */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;O objetivo desta página é fornecer um tutorial para montagem de um sistema de captura de múltiplas câmeras de vídeo simultâneo, utilizando o &amp;quot;Motion&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Instalação ==&lt;br /&gt;
&lt;br /&gt;
Primeiro instale o Motion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
      sudo apt-get install motion&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuração ==&lt;br /&gt;
&lt;br /&gt;
Localize os arquivos .conf. No Ubuntu o melhor lugar para procurar é /etc/motion. Nesta pasta serão encontrados 5 arquivos: &lt;br /&gt;
motion.conf;  thread1.conf;  thread2.conf;  thread3.conf;  thread4.conf.&lt;br /&gt;
&lt;br /&gt;
O arquivo motion.conf mantém as configurações globais de todas as câmeras utilizadas. &lt;br /&gt;
As configurações individuas para cada câmera são feitas nos arquivos thread#.conf&lt;br /&gt;
&lt;br /&gt;
Para utilizar 2 câmeras simultâneas será necessário modificar os arquivos motion.conf e 2 arquivos thread#.conf, ou seja, 3 arquivos no total&lt;br /&gt;
&lt;br /&gt;
=== motion.conf ===&lt;br /&gt;
&lt;br /&gt;
Neste arquivo devemos verificar se as seguintes linhas estão comentadas como abaixo&lt;br /&gt;
&lt;br /&gt;
     ;netcam_url value&lt;br /&gt;
     ;target_dir value&lt;br /&gt;
     ;webcam_port 8081&lt;br /&gt;
     ;videodevice /dev/video0&lt;br /&gt;
&lt;br /&gt;
como serão usadas duas câmeras será necessário descomentar as linhas correspondentes a 2 thread#.conf no final do arquivo motion.conf.&lt;br /&gt;
&lt;br /&gt;
      thread /etc/motion/thread1.conf&lt;br /&gt;
      thread /etc/motion/thread2.conf&lt;br /&gt;
      ;thread /etc/motion/thread3.conf&lt;br /&gt;
      ;thread /usr/local/etc/thread4.conf&lt;br /&gt;
&lt;br /&gt;
Agora basta configurar os arquivos thread#.conf&lt;br /&gt;
&lt;br /&gt;
=== thread#.conf ===&lt;br /&gt;
&lt;br /&gt;
Estes arquivos requerem pouca modificação, por exemplo &lt;br /&gt;
&lt;br /&gt;
==== thread1.conf ====&lt;br /&gt;
&lt;br /&gt;
     videodevice /dev/video0&lt;br /&gt;
     text_left Cam-1&lt;br /&gt;
     target_dir /home/Usuario/motion/Cam1&lt;br /&gt;
     webcam_port 8081&lt;br /&gt;
&lt;br /&gt;
==== thread2.conf ====&lt;br /&gt;
&lt;br /&gt;
     videodevice /dev/video1&lt;br /&gt;
     text_left Cam-2&lt;br /&gt;
     target_dir /home/Usuario/motion/Cam2&lt;br /&gt;
     webcam_port 8082  &lt;br /&gt;
&lt;br /&gt;
OBS:&lt;br /&gt;
&lt;br /&gt;
* videodevice: Deve ser configurado para o endereço /dev da webcam usada. Para descobrir basta digitar find /dev -name vídeo* no terminal. Este comando deverá mostrar as webcams que você tem. No meu caso, foi video0 e video1. &lt;br /&gt;
&lt;br /&gt;
*input - Deve ser configurado para 8 se for utilizar uma webcam, ou 1 se for utilizar uma placa de TV.&lt;br /&gt;
&lt;br /&gt;
*target_dir - Deve ser configurado para o local onde deseja armazenar as imagens e vídeos capturados.&lt;br /&gt;
&lt;br /&gt;
== Configurações adicionais ==&lt;br /&gt;
&lt;br /&gt;
No arquivo motion.conf é onde devem ser mantidas as configurações globais de ambas as câmeras. Aqui apresento algumas das possíveis configurações&lt;br /&gt;
&lt;br /&gt;
* width: largura da imagem. Intervalo válido: dependente da câmera &lt;br /&gt;
* height: altura da imagem. Intervalo válido: dependente da câmera &lt;br /&gt;
* framerate: Número máximo de frames a serem capturados por segundo. Intervalo válido: 2-100&lt;br /&gt;
* outpout_all: Esta opção quando ativada permite sempre gravar imagens mesmo quando movimentos não são identificados.&lt;/div&gt;</summary>
		<author><name>Mamorim</name></author>
	</entry>
	<entry>
		<id>http://wiki.nosdigitais.teia.org.br/index.php?title=MultiViewCam&amp;diff=33530</id>
		<title>MultiViewCam</title>
		<link rel="alternate" type="text/html" href="http://wiki.nosdigitais.teia.org.br/index.php?title=MultiViewCam&amp;diff=33530"/>
		<updated>2014-10-02T19:57:40Z</updated>

		<summary type="html">&lt;p&gt;Mamorim: Criou página com 'O objetivo desta página é fornecer um tutorial para montagem de um sistema de captura de múltiplas câmeras de vídeo simultâneo, utilizando o &amp;quot;Motion&amp;quot;  == Instalação ==...'&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;O objetivo desta página é fornecer um tutorial para montagem de um sistema de captura de múltiplas câmeras de vídeo simultâneo, utilizando o &amp;quot;Motion&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Instalação ==&lt;br /&gt;
&lt;br /&gt;
Primeiro instale o Motion&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&lt;br /&gt;
      sudo apt-get install motion&lt;br /&gt;
&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Configuração ==&lt;br /&gt;
&lt;br /&gt;
Localize os arquivos .conf. No Ubuntu o melhor lugar para procurar é /etc/motion. Nesta pasta serão encontrados 5 arquivos: &lt;br /&gt;
motion.conf;  thread1.conf;  thread2.conf;  thread3.conf;  thread4.conf.&lt;br /&gt;
&lt;br /&gt;
O arquivo motion.conf mantém as configurações globais de todas as câmeras utilizadas. &lt;br /&gt;
As configurações individuas para cada câmera são feitas nos arquivos thread#.conf&lt;br /&gt;
&lt;br /&gt;
Para utilizar 2 câmeras simultâneas será necessário modificar os arquivos motion.conf e 2 arquivos thread#.conf, ou seja, 3 arquivos no total&lt;br /&gt;
&lt;br /&gt;
=== motion.conf ===&lt;br /&gt;
&lt;br /&gt;
Neste arquivo devemos verificar se as seguintes linhas estão comentadas como abaixo&lt;br /&gt;
&lt;br /&gt;
     ;netcam_url value&lt;br /&gt;
     ;target_dir value&lt;br /&gt;
     ;webcam_port 8081&lt;br /&gt;
     ;videodevice /dev/video0&lt;br /&gt;
&lt;br /&gt;
como serão usadas duas câmeras será necessário descomentar as linhas correspondentes a 2 thread#.conf no final do arquivo motion.conf.&lt;br /&gt;
&lt;br /&gt;
      thread /etc/motion/thread1.conf&lt;br /&gt;
      thread /etc/motion/thread2.conf&lt;br /&gt;
      ;thread /etc/motion/thread3.conf&lt;br /&gt;
      ;thread /usr/local/etc/thread4.conf&lt;br /&gt;
&lt;br /&gt;
Agora basta configurar os arquivos thread#.conf&lt;br /&gt;
&lt;br /&gt;
=== thread#.conf ===&lt;br /&gt;
&lt;br /&gt;
Estes arquivos requerem pouca modificação, por exemplo &lt;br /&gt;
&lt;br /&gt;
==== thread1.conf ====&lt;br /&gt;
&lt;br /&gt;
     videodevice /dev/video0&lt;br /&gt;
     text_left Cam-1&lt;br /&gt;
     target_dir /home/Usuario/motion/Cam1&lt;br /&gt;
     webcam_port 8081&lt;br /&gt;
&lt;br /&gt;
==== thread2.conf ====&lt;br /&gt;
&lt;br /&gt;
     videodevice /dev/video1&lt;br /&gt;
     text_left Cam-2&lt;br /&gt;
     target_dir /home/Usuario/motion/Cam2&lt;br /&gt;
     webcam_port 8082  &lt;br /&gt;
&lt;br /&gt;
OBS:&lt;br /&gt;
&lt;br /&gt;
* videodevice: Deve ser configurado para o endereço /dev da webcam usada. Para descobrir basta digitar find /dev -name vídeo* no terminal. Este comando deverá mostrar as webcams que você tem. No meu caso, foi video0 e video1. &lt;br /&gt;
&lt;br /&gt;
*input - Deve ser configurado para 8 se for utilizar uma webcam, ou 1 se for utilizar uma placa de TV.&lt;br /&gt;
&lt;br /&gt;
*target_dir - Deve ser configurado para o local onde deseja armazenar as imagens e vídeos capturados.&lt;br /&gt;
&lt;br /&gt;
== Configurações adicionais ==&lt;br /&gt;
&lt;br /&gt;
No arquivo motion.conf é onde devem ser mantidas as configurações globais de ambas as câmeras. Aqui apresento algumas das possíveis configurações&lt;br /&gt;
&lt;br /&gt;
* width: largura da imagem. Intervalo válido: dependente da câmera &lt;br /&gt;
* height: altura da imagem. Intervalo válido: dependente da câmera &lt;br /&gt;
* framerate: Número máximo de frames a serem capturados por segundo. Intervalo válido: 2-100&lt;/div&gt;</summary>
		<author><name>Mamorim</name></author>
	</entry>
	<entry>
		<id>http://wiki.nosdigitais.teia.org.br/index.php?title=VXL&amp;diff=33044</id>
		<title>VXL</title>
		<link rel="alternate" type="text/html" href="http://wiki.nosdigitais.teia.org.br/index.php?title=VXL&amp;diff=33044"/>
		<updated>2014-05-28T14:04:49Z</updated>

		<summary type="html">&lt;p&gt;Mamorim: /* Compiling */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;VXL is a collection of C++ computer vision libraries (and python bindings) with contributions from Kitware, GE, Brown University, and others. This wiki page contains unofficial notes from some developers.&lt;br /&gt;
&lt;br /&gt;
== Git Repo ==&lt;br /&gt;
Folow the instructions at https://sourceforge.net/p/vxl/wiki/Git/&lt;br /&gt;
&lt;br /&gt;
== Hacking ==&lt;br /&gt;
&lt;br /&gt;
=== Apple OSX ===&lt;br /&gt;
There are a few bugs affecting compilation, see [https://trac.macports.org/ticket/41241]&lt;br /&gt;
&lt;br /&gt;
* make -j9 is having a non-deterministic behavior - try running it a few times, but make -j5 sometimes works better as far as errors go. A plain make is always safer.&lt;br /&gt;
* If you find an error related to ffmpeg, then I just left all FFMPEG-related entries in CMAKE blank. That removes support for video loading but thats about it.&lt;br /&gt;
* A compilation error related to X11 means the headers from the wrong place are being used. I had to modify the cmake flag for x11 includes to point to /opt/local/include&lt;br /&gt;
* My current CMake settings to compile in OSX are available on-line [https://gist.github.com/rfabbri/d0d6dc19cffef50aea60#file-cmakecache-txt]&lt;br /&gt;
&lt;br /&gt;
==== Patches to compile VXL in OSX ====&lt;br /&gt;
In addition to the above measures, a number of source code changes had to be implemented to get VXL to compile.&lt;br /&gt;
* All the source code changes I had to do in order to get VXL to compile are available in my Github copy of vxl, branch &amp;lt;tt&amp;gt;osx-compile-fixes&amp;lt;/tt&amp;gt; [https://github.com/rfabbri/vxl]&lt;br /&gt;
* A link time error related to OpenGL acceleration in vgui/tests means this test is outdated and should be ignored. Comment out that file or the offending lines. Alternatively, you could point the OpenGL CMake variables to /opt/... since those opengl libs contain the desired symbols, but they're older.&lt;br /&gt;
* The above link mentions a OPENJPEG2 work around&lt;br /&gt;
* '''See also''': [[Mac|General OSX-related development instructions]]&lt;br /&gt;
&lt;br /&gt;
== Writing a program that uses VXL ==&lt;br /&gt;
&lt;br /&gt;
A simple example using CMake is &amp;lt;tt&amp;gt;hello-vxl&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 git clone ssh://SOURCEFORGE_LOGIN@labmacambira.git.sourceforge.net/gitroot/labmacambira/hello-vxl&lt;br /&gt;
&lt;br /&gt;
Read the README.&lt;br /&gt;
&lt;br /&gt;
== Setting up VxL Programming environment at [[IPRJ]] ==&lt;br /&gt;
This is Ricardo Fabbri's recommended workflow for working with the official VXL plus an internal repo (here named LEMSVXL)&lt;br /&gt;
&lt;br /&gt;
* download vxl git&lt;br /&gt;
** place it into folder vxlprg/vxl&lt;br /&gt;
* we use LEMSVXL - an internal (closed) repo of vxl-based libs from Brown&lt;br /&gt;
** download lemsvxl git &lt;br /&gt;
** place it into folder vxlprg/lemsvxl&lt;br /&gt;
* create build directories lemsvxl-bin and vxl-bin inside vxlprg&lt;br /&gt;
 mkdir lemsvxl-bin vxlprg-bin&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
* on the commandline, enter vxl-bin&lt;br /&gt;
* type &lt;br /&gt;
 ccmake ../vxl&lt;br /&gt;
* type 'c' for &amp;quot;configure&amp;quot;&lt;br /&gt;
 BUILD_SHARED_LIBS = ON (faster link time)&lt;br /&gt;
 BUILD_UNMAINTAINED_LIBRARIES = ON&lt;br /&gt;
 at first BUILD_VGUI = OFF&lt;br /&gt;
 CMAKE_BUILD_TYPE = Debug (for now)&lt;br /&gt;
 VNL_CONFIG_LEGACY_METHODS = on (needed for lemsvxl)&lt;br /&gt;
* type 'c' once more&lt;br /&gt;
* inspect any CMAKE variables that might have changed (they have a star * attached to them)&lt;br /&gt;
* type 'c' again until no new variables show up and config is right&lt;br /&gt;
* once 'g' appears, press 'g' (generate)&lt;br /&gt;
* press 'q'&lt;br /&gt;
* type 'make -j9'&lt;br /&gt;
* if there is any error: &lt;br /&gt;
** retry with simply 'make'&lt;br /&gt;
** test your build&lt;br /&gt;
*** go inside 'core' and type 'make'. See if there are any errors. If not, good.&lt;br /&gt;
*** go inside contrib/brl and type 'make'. See if there are any errors. If so, you might not be able to build what you want from the internal lemsvxl repo. But keep going, at least core builds.&lt;br /&gt;
*** optionally if there are still errors just do 'make -j9 --keep-going' to&lt;br /&gt;
build as much as possible before moving on to your private lemsvxl repo&lt;br /&gt;
&lt;br /&gt;
==== Compiling lemsvxl ====&lt;br /&gt;
&lt;br /&gt;
* enter lemsvxl-bin&lt;br /&gt;
* ccmake ../lemsvxl&lt;br /&gt;
* Fill in where your vxl-bin folder is as the VXL path, then press 'c', then&lt;br /&gt;
 BUILD_SHARED_LIBS = ON (faster link time)&lt;br /&gt;
 BUILD_UNMAINTAINED_LIBRARIES = ON&lt;br /&gt;
 CMAKE_BUILD_TYPE = Debug (for now)&lt;br /&gt;
 BUILD_CONTRIB = on (for now)&lt;br /&gt;
 BUILD_ALGO = on&lt;br /&gt;
 BUILD_CONTRIB = on&lt;br /&gt;
 can be usefol to set USE_BOOST &lt;br /&gt;
* press 'c' and fill out info until you get a 'g'&lt;br /&gt;
* try out a first make -j9  - it will likely have errors&lt;br /&gt;
* if it does have errors, just make in your desired path:&lt;br /&gt;
** For the symbolic edge linker, for instance, you just need to get 'brcv/seg/dbdet' to compile. All dependencies will be compiled.&lt;br /&gt;
*** cd brcv/seg/dbdet/tests&lt;br /&gt;
*** make&lt;br /&gt;
*** cd brcv/seg/dbdet/algo/tests&lt;br /&gt;
*** make&lt;br /&gt;
*** cd brcv/seg/dbdet&lt;br /&gt;
*** make&lt;br /&gt;
** Once you compiled the key basic libs for your application, now move on to compile the GUI parts&lt;br /&gt;
** In the case of edge detection:&lt;br /&gt;
*** cd contrib/edge_det/gui&lt;br /&gt;
*** make&lt;br /&gt;
*** backtrack and compile each lib separately to solve problems.&lt;br /&gt;
* April 4 2014: I had to comment out anything related to bvis1_gl_codec, and vidl1, with no apparent harm to my research code&lt;br /&gt;
* My current CMake settings to compile LEMSVxL in OSX are available on-line [https://gist.github.com/rfabbri/d0d6dc19cffef50aea60#file-cmakecache-lemsvxl-txt]&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* Official website: http://vxl.sourceforge.net&lt;br /&gt;
* Our [[Pattern Theory]] course page&lt;br /&gt;
* Our [[Computer Vision]] grad and undergrad course page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Lab Macambira]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Video]]&lt;/div&gt;</summary>
		<author><name>Mamorim</name></author>
	</entry>
	<entry>
		<id>http://wiki.nosdigitais.teia.org.br/index.php?title=VXL&amp;diff=33043</id>
		<title>VXL</title>
		<link rel="alternate" type="text/html" href="http://wiki.nosdigitais.teia.org.br/index.php?title=VXL&amp;diff=33043"/>
		<updated>2014-05-28T13:57:22Z</updated>

		<summary type="html">&lt;p&gt;Mamorim: /* Compiling */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;VXL is a collection of C++ computer vision libraries (and python bindings) with contributions from Kitware, GE, Brown University, and others. This wiki page contains unofficial notes from some developers.&lt;br /&gt;
&lt;br /&gt;
== Git Repo ==&lt;br /&gt;
Folow the instructions at https://sourceforge.net/p/vxl/wiki/Git/&lt;br /&gt;
&lt;br /&gt;
== Hacking ==&lt;br /&gt;
&lt;br /&gt;
=== Apple OSX ===&lt;br /&gt;
There are a few bugs affecting compilation, see [https://trac.macports.org/ticket/41241]&lt;br /&gt;
&lt;br /&gt;
* make -j9 is having a non-deterministic behavior - try running it a few times, but make -j5 sometimes works better as far as errors go. A plain make is always safer.&lt;br /&gt;
* If you find an error related to ffmpeg, then I just left all FFMPEG-related entries in CMAKE blank. That removes support for video loading but thats about it.&lt;br /&gt;
* A compilation error related to X11 means the headers from the wrong place are being used. I had to modify the cmake flag for x11 includes to point to /opt/local/include&lt;br /&gt;
* My current CMake settings to compile in OSX are available on-line [https://gist.github.com/rfabbri/d0d6dc19cffef50aea60#file-cmakecache-txt]&lt;br /&gt;
&lt;br /&gt;
==== Patches to compile VXL in OSX ====&lt;br /&gt;
In addition to the above measures, a number of source code changes had to be implemented to get VXL to compile.&lt;br /&gt;
* All the source code changes I had to do in order to get VXL to compile are available in my Github copy of vxl, branch &amp;lt;tt&amp;gt;osx-compile-fixes&amp;lt;/tt&amp;gt; [https://github.com/rfabbri/vxl]&lt;br /&gt;
* A link time error related to OpenGL acceleration in vgui/tests means this test is outdated and should be ignored. Comment out that file or the offending lines. Alternatively, you could point the OpenGL CMake variables to /opt/... since those opengl libs contain the desired symbols, but they're older.&lt;br /&gt;
* The above link mentions a OPENJPEG2 work around&lt;br /&gt;
* '''See also''': [[Mac|General OSX-related development instructions]]&lt;br /&gt;
&lt;br /&gt;
== Writing a program that uses VXL ==&lt;br /&gt;
&lt;br /&gt;
A simple example using CMake is &amp;lt;tt&amp;gt;hello-vxl&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 git clone ssh://SOURCEFORGE_LOGIN@labmacambira.git.sourceforge.net/gitroot/labmacambira/hello-vxl&lt;br /&gt;
&lt;br /&gt;
Read the README.&lt;br /&gt;
&lt;br /&gt;
== Setting up VxL Programming environment at [[IPRJ]] ==&lt;br /&gt;
This is Ricardo Fabbri's recommended workflow for working with the official VXL plus an internal repo (here named LEMSVXL)&lt;br /&gt;
&lt;br /&gt;
* download vxl git&lt;br /&gt;
** place it into folder vxlprg/vxl&lt;br /&gt;
* we use LEMSVXL - an internal (closed) repo of vxl-based libs from Brown&lt;br /&gt;
** download lemsvxl git &lt;br /&gt;
** place it into folder vxlprg/lemsvxl&lt;br /&gt;
* create build directories lemsvxl-bin and vxl-bin inside vxlprg&lt;br /&gt;
 mkdir lemsvxl-bin vxlprg-bin&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
* on the commandline, enter vxl-bin&lt;br /&gt;
* type &lt;br /&gt;
 ccmake ../vxl&lt;br /&gt;
* type 'c' for &amp;quot;configure&amp;quot;&lt;br /&gt;
 BUILD_SHARED_LIBS = ON (faster link time)&lt;br /&gt;
 BUILD_UNMAINTAINED_LIBRARIES = ON&lt;br /&gt;
 at first BUILD_VGUI = OFF&lt;br /&gt;
 CMAKE_BUILD_TYPE = Debug (for now)&lt;br /&gt;
 VNL_CONFIG_LEGACY_METHODS = on (need to use lemsvxl)&lt;br /&gt;
* type 'c' once more&lt;br /&gt;
* inspect any CMAKE variables that might have changed (they have a star * attached to them)&lt;br /&gt;
* type 'c' again until no new variables show up and config is right&lt;br /&gt;
* once 'g' appears, press 'g' (generate)&lt;br /&gt;
* press 'q'&lt;br /&gt;
* type 'make -j9'&lt;br /&gt;
* if there is any error: &lt;br /&gt;
** retry with simply 'make'&lt;br /&gt;
** test your build&lt;br /&gt;
*** go inside 'core' and type 'make'. See if there are any errors. If not, good.&lt;br /&gt;
*** go inside contrib/brl and type 'make'. See if there are any errors. If so, you might not be able to build what you want from the internal lemsvxl repo. But keep going, at least core builds.&lt;br /&gt;
*** optionally if there are still errors just do 'make -j9 --keep-going' to&lt;br /&gt;
build as much as possible before moving on to your private lemsvxl repo&lt;br /&gt;
&lt;br /&gt;
==== Compiling lemsvxl ====&lt;br /&gt;
&lt;br /&gt;
* enter lemsvxl-bin&lt;br /&gt;
* ccmake ../lemsvxl&lt;br /&gt;
* Fill in where your vxl-bin folder is as the VXL path, then press 'c', then&lt;br /&gt;
 BUILD_SHARED_LIBS = ON (faster link time)&lt;br /&gt;
 BUILD_UNMAINTAINED_LIBRARIES = ON&lt;br /&gt;
 CMAKE_BUILD_TYPE = Debug (for now)&lt;br /&gt;
 BUILD_CONTRIB = on (for now)&lt;br /&gt;
 BUILD_ALGO = on&lt;br /&gt;
 BUILD_CONTRIB = on&lt;br /&gt;
 can be usefol to set USE_BOOST &lt;br /&gt;
* press 'c' and fill out info until you get a 'g'&lt;br /&gt;
* try out a first make -j9  - it will likely have errors&lt;br /&gt;
* if it does have errors, just make in your desired path:&lt;br /&gt;
** For the symbolic edge linker, for instance, you just need to get 'brcv/seg/dbdet' to compile. All dependencies will be compiled.&lt;br /&gt;
*** cd brcv/seg/dbdet/tests&lt;br /&gt;
*** make&lt;br /&gt;
*** cd brcv/seg/dbdet/algo/tests&lt;br /&gt;
*** make&lt;br /&gt;
*** cd brcv/seg/dbdet&lt;br /&gt;
*** make&lt;br /&gt;
** Once you compiled the key basic libs for your application, now move on to compile the GUI parts&lt;br /&gt;
** In the case of edge detection:&lt;br /&gt;
*** cd contrib/edge_det/gui&lt;br /&gt;
*** make&lt;br /&gt;
*** backtrack and compile each lib separately to solve problems.&lt;br /&gt;
* April 4 2014: I had to comment out anything related to bvis1_gl_codec, and vidl1, with no apparent harm to my research code&lt;br /&gt;
* My current CMake settings to compile LEMSVxL in OSX are available on-line [https://gist.github.com/rfabbri/d0d6dc19cffef50aea60#file-cmakecache-lemsvxl-txt]&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* Official website: http://vxl.sourceforge.net&lt;br /&gt;
* Our [[Pattern Theory]] course page&lt;br /&gt;
* Our [[Computer Vision]] grad and undergrad course page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Lab Macambira]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Video]]&lt;/div&gt;</summary>
		<author><name>Mamorim</name></author>
	</entry>
	<entry>
		<id>http://wiki.nosdigitais.teia.org.br/index.php?title=VXL&amp;diff=33042</id>
		<title>VXL</title>
		<link rel="alternate" type="text/html" href="http://wiki.nosdigitais.teia.org.br/index.php?title=VXL&amp;diff=33042"/>
		<updated>2014-05-28T13:55:52Z</updated>

		<summary type="html">&lt;p&gt;Mamorim: /* Compiling lemsvxl */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;VXL is a collection of C++ computer vision libraries (and python bindings) with contributions from Kitware, GE, Brown University, and others. This wiki page contains unofficial notes from some developers.&lt;br /&gt;
&lt;br /&gt;
== Git Repo ==&lt;br /&gt;
Folow the instructions at https://sourceforge.net/p/vxl/wiki/Git/&lt;br /&gt;
&lt;br /&gt;
== Hacking ==&lt;br /&gt;
&lt;br /&gt;
=== Apple OSX ===&lt;br /&gt;
There are a few bugs affecting compilation, see [https://trac.macports.org/ticket/41241]&lt;br /&gt;
&lt;br /&gt;
* make -j9 is having a non-deterministic behavior - try running it a few times, but make -j5 sometimes works better as far as errors go. A plain make is always safer.&lt;br /&gt;
* If you find an error related to ffmpeg, then I just left all FFMPEG-related entries in CMAKE blank. That removes support for video loading but thats about it.&lt;br /&gt;
* A compilation error related to X11 means the headers from the wrong place are being used. I had to modify the cmake flag for x11 includes to point to /opt/local/include&lt;br /&gt;
* My current CMake settings to compile in OSX are available on-line [https://gist.github.com/rfabbri/d0d6dc19cffef50aea60#file-cmakecache-txt]&lt;br /&gt;
&lt;br /&gt;
==== Patches to compile VXL in OSX ====&lt;br /&gt;
In addition to the above measures, a number of source code changes had to be implemented to get VXL to compile.&lt;br /&gt;
* All the source code changes I had to do in order to get VXL to compile are available in my Github copy of vxl, branch &amp;lt;tt&amp;gt;osx-compile-fixes&amp;lt;/tt&amp;gt; [https://github.com/rfabbri/vxl]&lt;br /&gt;
* A link time error related to OpenGL acceleration in vgui/tests means this test is outdated and should be ignored. Comment out that file or the offending lines. Alternatively, you could point the OpenGL CMake variables to /opt/... since those opengl libs contain the desired symbols, but they're older.&lt;br /&gt;
* The above link mentions a OPENJPEG2 work around&lt;br /&gt;
* '''See also''': [[Mac|General OSX-related development instructions]]&lt;br /&gt;
&lt;br /&gt;
== Writing a program that uses VXL ==&lt;br /&gt;
&lt;br /&gt;
A simple example using CMake is &amp;lt;tt&amp;gt;hello-vxl&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 git clone ssh://SOURCEFORGE_LOGIN@labmacambira.git.sourceforge.net/gitroot/labmacambira/hello-vxl&lt;br /&gt;
&lt;br /&gt;
Read the README.&lt;br /&gt;
&lt;br /&gt;
== Setting up VxL Programming environment at [[IPRJ]] ==&lt;br /&gt;
This is Ricardo Fabbri's recommended workflow for working with the official VXL plus an internal repo (here named LEMSVXL)&lt;br /&gt;
&lt;br /&gt;
* download vxl git&lt;br /&gt;
** place it into folder vxlprg/vxl&lt;br /&gt;
* we use LEMSVXL - an internal (closed) repo of vxl-based libs from Brown&lt;br /&gt;
** download lemsvxl git &lt;br /&gt;
** place it into folder vxlprg/lemsvxl&lt;br /&gt;
* create build directories lemsvxl-bin and vxl-bin inside vxlprg&lt;br /&gt;
 mkdir lemsvxl-bin vxlprg-bin&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
* on the commandline, enter vxl-bin&lt;br /&gt;
* type &lt;br /&gt;
 ccmake ../vxl&lt;br /&gt;
* type 'c' for &amp;quot;configure&amp;quot;&lt;br /&gt;
 BUILD_SHARED_LIBS = ON (faster link time)&lt;br /&gt;
 BUILD_UNMAINTAINED_LIBRARIES = ON&lt;br /&gt;
 at first BUILD_VGUI = OFF&lt;br /&gt;
 CMAKE_BUILD_TYPE = Debug (for now)&lt;br /&gt;
* type 'c' once more&lt;br /&gt;
* inspect any CMAKE variables that might have changed (they have a star * attached to them)&lt;br /&gt;
* type 'c' again until no new variables show up and config is right&lt;br /&gt;
* once 'g' appears, press 'g' (generate)&lt;br /&gt;
* press 'q'&lt;br /&gt;
* type 'make -j9'&lt;br /&gt;
* if there is any error: &lt;br /&gt;
** retry with simply 'make'&lt;br /&gt;
** test your build&lt;br /&gt;
*** go inside 'core' and type 'make'. See if there are any errors. If not, good.&lt;br /&gt;
*** go inside contrib/brl and type 'make'. See if there are any errors. If so, you might not be able to build what you want from the internal lemsvxl repo. But keep going, at least core builds.&lt;br /&gt;
*** optionally if there are still errors just do 'make -j9 --keep-going' to&lt;br /&gt;
build as much as possible before moving on to your private lemsvxl repo&lt;br /&gt;
&lt;br /&gt;
==== Compiling lemsvxl ====&lt;br /&gt;
&lt;br /&gt;
* enter lemsvxl-bin&lt;br /&gt;
* ccmake ../lemsvxl&lt;br /&gt;
* Fill in where your vxl-bin folder is as the VXL path, then press 'c', then&lt;br /&gt;
 BUILD_SHARED_LIBS = ON (faster link time)&lt;br /&gt;
 BUILD_UNMAINTAINED_LIBRARIES = ON&lt;br /&gt;
 CMAKE_BUILD_TYPE = Debug (for now)&lt;br /&gt;
 BUILD_CONTRIB = on (for now)&lt;br /&gt;
 BUILD_ALGO = on&lt;br /&gt;
 BUILD_CONTRIB = on&lt;br /&gt;
 can be usefol to set USE_BOOST &lt;br /&gt;
* press 'c' and fill out info until you get a 'g'&lt;br /&gt;
* try out a first make -j9  - it will likely have errors&lt;br /&gt;
* if it does have errors, just make in your desired path:&lt;br /&gt;
** For the symbolic edge linker, for instance, you just need to get 'brcv/seg/dbdet' to compile. All dependencies will be compiled.&lt;br /&gt;
*** cd brcv/seg/dbdet/tests&lt;br /&gt;
*** make&lt;br /&gt;
*** cd brcv/seg/dbdet/algo/tests&lt;br /&gt;
*** make&lt;br /&gt;
*** cd brcv/seg/dbdet&lt;br /&gt;
*** make&lt;br /&gt;
** Once you compiled the key basic libs for your application, now move on to compile the GUI parts&lt;br /&gt;
** In the case of edge detection:&lt;br /&gt;
*** cd contrib/edge_det/gui&lt;br /&gt;
*** make&lt;br /&gt;
*** backtrack and compile each lib separately to solve problems.&lt;br /&gt;
* April 4 2014: I had to comment out anything related to bvis1_gl_codec, and vidl1, with no apparent harm to my research code&lt;br /&gt;
* My current CMake settings to compile LEMSVxL in OSX are available on-line [https://gist.github.com/rfabbri/d0d6dc19cffef50aea60#file-cmakecache-lemsvxl-txt]&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* Official website: http://vxl.sourceforge.net&lt;br /&gt;
* Our [[Pattern Theory]] course page&lt;br /&gt;
* Our [[Computer Vision]] grad and undergrad course page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Lab Macambira]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Video]]&lt;/div&gt;</summary>
		<author><name>Mamorim</name></author>
	</entry>
	<entry>
		<id>http://wiki.nosdigitais.teia.org.br/index.php?title=VXL&amp;diff=33041</id>
		<title>VXL</title>
		<link rel="alternate" type="text/html" href="http://wiki.nosdigitais.teia.org.br/index.php?title=VXL&amp;diff=33041"/>
		<updated>2014-05-28T13:55:01Z</updated>

		<summary type="html">&lt;p&gt;Mamorim: /* Compiling */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;VXL is a collection of C++ computer vision libraries (and python bindings) with contributions from Kitware, GE, Brown University, and others. This wiki page contains unofficial notes from some developers.&lt;br /&gt;
&lt;br /&gt;
== Git Repo ==&lt;br /&gt;
Folow the instructions at https://sourceforge.net/p/vxl/wiki/Git/&lt;br /&gt;
&lt;br /&gt;
== Hacking ==&lt;br /&gt;
&lt;br /&gt;
=== Apple OSX ===&lt;br /&gt;
There are a few bugs affecting compilation, see [https://trac.macports.org/ticket/41241]&lt;br /&gt;
&lt;br /&gt;
* make -j9 is having a non-deterministic behavior - try running it a few times, but make -j5 sometimes works better as far as errors go. A plain make is always safer.&lt;br /&gt;
* If you find an error related to ffmpeg, then I just left all FFMPEG-related entries in CMAKE blank. That removes support for video loading but thats about it.&lt;br /&gt;
* A compilation error related to X11 means the headers from the wrong place are being used. I had to modify the cmake flag for x11 includes to point to /opt/local/include&lt;br /&gt;
* My current CMake settings to compile in OSX are available on-line [https://gist.github.com/rfabbri/d0d6dc19cffef50aea60#file-cmakecache-txt]&lt;br /&gt;
&lt;br /&gt;
==== Patches to compile VXL in OSX ====&lt;br /&gt;
In addition to the above measures, a number of source code changes had to be implemented to get VXL to compile.&lt;br /&gt;
* All the source code changes I had to do in order to get VXL to compile are available in my Github copy of vxl, branch &amp;lt;tt&amp;gt;osx-compile-fixes&amp;lt;/tt&amp;gt; [https://github.com/rfabbri/vxl]&lt;br /&gt;
* A link time error related to OpenGL acceleration in vgui/tests means this test is outdated and should be ignored. Comment out that file or the offending lines. Alternatively, you could point the OpenGL CMake variables to /opt/... since those opengl libs contain the desired symbols, but they're older.&lt;br /&gt;
* The above link mentions a OPENJPEG2 work around&lt;br /&gt;
* '''See also''': [[Mac|General OSX-related development instructions]]&lt;br /&gt;
&lt;br /&gt;
== Writing a program that uses VXL ==&lt;br /&gt;
&lt;br /&gt;
A simple example using CMake is &amp;lt;tt&amp;gt;hello-vxl&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 git clone ssh://SOURCEFORGE_LOGIN@labmacambira.git.sourceforge.net/gitroot/labmacambira/hello-vxl&lt;br /&gt;
&lt;br /&gt;
Read the README.&lt;br /&gt;
&lt;br /&gt;
== Setting up VxL Programming environment at [[IPRJ]] ==&lt;br /&gt;
This is Ricardo Fabbri's recommended workflow for working with the official VXL plus an internal repo (here named LEMSVXL)&lt;br /&gt;
&lt;br /&gt;
* download vxl git&lt;br /&gt;
** place it into folder vxlprg/vxl&lt;br /&gt;
* we use LEMSVXL - an internal (closed) repo of vxl-based libs from Brown&lt;br /&gt;
** download lemsvxl git &lt;br /&gt;
** place it into folder vxlprg/lemsvxl&lt;br /&gt;
* create build directories lemsvxl-bin and vxl-bin inside vxlprg&lt;br /&gt;
 mkdir lemsvxl-bin vxlprg-bin&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
* on the commandline, enter vxl-bin&lt;br /&gt;
* type &lt;br /&gt;
 ccmake ../vxl&lt;br /&gt;
* type 'c' for &amp;quot;configure&amp;quot;&lt;br /&gt;
 BUILD_SHARED_LIBS = ON (faster link time)&lt;br /&gt;
 BUILD_UNMAINTAINED_LIBRARIES = ON&lt;br /&gt;
 at first BUILD_VGUI = OFF&lt;br /&gt;
 CMAKE_BUILD_TYPE = Debug (for now)&lt;br /&gt;
* type 'c' once more&lt;br /&gt;
* inspect any CMAKE variables that might have changed (they have a star * attached to them)&lt;br /&gt;
* type 'c' again until no new variables show up and config is right&lt;br /&gt;
* once 'g' appears, press 'g' (generate)&lt;br /&gt;
* press 'q'&lt;br /&gt;
* type 'make -j9'&lt;br /&gt;
* if there is any error: &lt;br /&gt;
** retry with simply 'make'&lt;br /&gt;
** test your build&lt;br /&gt;
*** go inside 'core' and type 'make'. See if there are any errors. If not, good.&lt;br /&gt;
*** go inside contrib/brl and type 'make'. See if there are any errors. If so, you might not be able to build what you want from the internal lemsvxl repo. But keep going, at least core builds.&lt;br /&gt;
*** optionally if there are still errors just do 'make -j9 --keep-going' to&lt;br /&gt;
build as much as possible before moving on to your private lemsvxl repo&lt;br /&gt;
&lt;br /&gt;
==== Compiling lemsvxl ====&lt;br /&gt;
&lt;br /&gt;
* enter lemsvxl-bin&lt;br /&gt;
* ccmake ../lemsvxl&lt;br /&gt;
* Fill in where your vxl-bin folder is as the VXL path, then press 'c', then&lt;br /&gt;
 BUILD_SHARED_LIBS = ON (faster link time)&lt;br /&gt;
 BUILD_UNMAINTAINED_LIBRARIES = ON&lt;br /&gt;
 CMAKE_BUILD_TYPE = Debug (for now)&lt;br /&gt;
 BUILD_CONTRIB = on (for now)&lt;br /&gt;
 BUILD_ALGO = on&lt;br /&gt;
 BUILD_CONTRIB = on&lt;br /&gt;
 VNL_CONFIG_LEGACY_METHODS = on&lt;br /&gt;
 can be usefol to set USE_BOOST &lt;br /&gt;
* press 'c' and fill out info until you get a 'g'&lt;br /&gt;
* try out a first make -j9  - it will likely have errors&lt;br /&gt;
* if it does have errors, just make in your desired path:&lt;br /&gt;
** For the symbolic edge linker, for instance, you just need to get 'brcv/seg/dbdet' to compile. All dependencies will be compiled.&lt;br /&gt;
*** cd brcv/seg/dbdet/tests&lt;br /&gt;
*** make&lt;br /&gt;
*** cd brcv/seg/dbdet/algo/tests&lt;br /&gt;
*** make&lt;br /&gt;
*** cd brcv/seg/dbdet&lt;br /&gt;
*** make&lt;br /&gt;
** Once you compiled the key basic libs for your application, now move on to compile the GUI parts&lt;br /&gt;
** In the case of edge detection:&lt;br /&gt;
*** cd contrib/edge_det/gui&lt;br /&gt;
*** make&lt;br /&gt;
*** backtrack and compile each lib separately to solve problems.&lt;br /&gt;
* April 4 2014: I had to comment out anything related to bvis1_gl_codec, and vidl1, with no apparent harm to my research code&lt;br /&gt;
* My current CMake settings to compile LEMSVxL in OSX are available on-line [https://gist.github.com/rfabbri/d0d6dc19cffef50aea60#file-cmakecache-lemsvxl-txt]&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* Official website: http://vxl.sourceforge.net&lt;br /&gt;
* Our [[Pattern Theory]] course page&lt;br /&gt;
* Our [[Computer Vision]] grad and undergrad course page&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Lab Macambira]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Video]]&lt;/div&gt;</summary>
		<author><name>Mamorim</name></author>
	</entry>
</feed>