2011/6/27 Amir Pakdel <span dir="ltr"><<a href="mailto:a.pakdel@karafarinbank.net" target="_blank">a.pakdel@karafarinbank.net</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Dears,<br></blockquote><div>Hi Amir!<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
First working version of Fusioninventory-Agent Win32 Remote Installer is ready and available here:<br>
<a href="https://github.com/fusinv/fusioninventory-agent-gui" target="_blank">https://github.com/fusinv/<u></u>fusioninventory-agent-gui</a><br></blockquote><div>I think you speak about this repository:<br>  <a href="https://github.com/fusinv/fusioninventory-agent-win32-remote-installer" target="_blank">https://github.com/fusinv/fusioninventory-agent-win32-remote-installer</a><br>
<br>I try the build on Linux, I had too apply this changes:<br>diff --git a/console.cpp b/console.cpp<br>index 024eda4..5e6bd26 100644<br>--- a/console.cpp<br>+++ b/console.cpp<br>@@ -150,7 +150,7 @@ Console::remoteExecError Console::startRemoteWin(QString curHost="") {<br>
                  .arg(config->get("server"));<br>     processExec(tempWinexe, arguments);<br> <br>-    checkConsoleOut();<br>+    checkConsoleOut(targetHost);<br> <br>     QFile(tempWinexe).remove();<br> <br>
 
<br>And I got this error:<br>tosh-r630:~/tmp/fusioninventory-agent-win32-remote-installer (master)$make<br>g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o console.o console.cpp<br>
/usr/bin/moc-qt4 -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. dialog.h -o moc_dialog.cpp<br>
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_dialog.o moc_dialog.cpp<br>
/usr/bin/moc-qt4 -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. console.h -o moc_console.cpp<br>
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o moc_console.o moc_console.cpp<br>
/usr/bin/rcc -name FusionInventory FusionInventory.qrc -o qrc_FusionInventory.cpp<br>g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o qrc_FusionInventory.o qrc_FusionInventory.cpp<br>
g++ -m64 -Wl,-O1 -o agentWizard FusionInventory.exe FusionInventory.o main.o dialog.o config.o console.o moc_dialog.o moc_console.o qrc_FusionInventory.o    -L/usr/lib -lQtGui -lQtNetwork -lQtCore -lpthread <br>/usr/bin/ld: i386 architecture of input file `FusionInventory.exe' is incompatible with i386:x86-64 output<br>
collect2: ld returned 1 exit status<br>make: *** [agentWizard] Erreur 1<br><br></div></div><br>Cheers<br>-- <br>     Gonéri Le Bouder<br>