[Graph] compilation error under Windows but not under Linux
Hello,
I have a compilation error under Windows (Visual C++ 2008) with a code that
works well under Linux (gcc 4.6.1 and before).
The compilation error is:
===========
/FsaAccess16.tcc(833) : error C2784:
'std::pair
On Tue, 22 Nov 2011, Gaël de Chalendar wrote:
Hello,
I have a compilation error under Windows (Visual C++ 2008) with a code that works well under Linux (gcc 4.6.1 and before).
You will need to give some more information about the code -- where is boost::subgraph coming from? I don't see that mentioned in your description of the problem. In FsaAccess16.tcc, what are "G" and "Graph" defined as? -- Jeremiah Willcock
Hello, It's a long long time since I asked my question and got Jeremiah's answer below. Sorry for that. I was completely lost and was not able to find the answers to Jeremiah's questions. Then I had to switch to other tasks and forgot to continue this thread. I had just restart working on the Windows port and hit this problem again. This time I was able to solve it: in fact, the graph that was used here was set as directedS and the code was calling in_edges... I don't understand why it worked under Linux. Setting the graph to bidirectionalS was the solution. BTW, error messages were useless to point me to the right direction. There was no subgraph at all in all the code... Jeremiah, thanks for your help. Best regards, Gaël Le mardi 22 novembre 2011 14:57:22 Jeremiah Willcock a écrit :
On Tue, 22 Nov 2011, Gaël de Chalendar wrote:
Hello,
I have a compilation error under Windows (Visual C++ 2008) with a code that works well under Linux (gcc 4.6.1 and before).
You will need to give some more information about the code -- where is boost::subgraph coming from? I don't see that mentioned in your description of the problem. In FsaAccess16.tcc, what are "G" and "Graph" defined as?
-- Jeremiah Willcock -- Gael de Chalendar CEA LIST Laboratoire Vision et Ingénierie des Contenus (Vision and Content Engineering Laboratory)
CEA SACLAY - NANO INNOV BAT. 861 Point courier 173 91191 GIF SUR YVETTE Tél.:+33.1.69.08.01.50 Fax:+33.1.69.08.01.15 Email : Gael.D.O.T.de-Chalendar.A@T.cea.D.O.T.fr
participants (2)
-
Gaël de Chalendar
-
Jeremiah Willcock