jmoore wrote:Under Linux, I upgraded Ubuntu, hoping some of the distribution patches might help...
However, I could not even start to compile OMERO because of some "Fatal Error: Ice/Ice.h not found", which didn't occur before...
If this is the error I think it is, it's something of a misnomer. It means compiling of a simple Ice application failed. Could you look in OmeroCpp/config.log and find the deeper error?
Thanks,
~Josh
Well, it seems Ubuntu had re-installed G++ 4.7 on top of G++ 4.4, and that's why it didn't work...
I corrected it and tried again, but it seems the Ubuntu version of Ice does not include the fixes...
So I'm trying to focus on Windows for now...
jmoore wrote:I recompiled slice2cpp under Windows (through Visual Studio 2010 Express - although I'd have preferred MinGW), but the program crashes when compiling OMERO (for an unknown reason).
I assume there's no stack trace or error message?
Indeed, there was an error message in the Windows log... It was just a missing dll. Silly me.
So now, it works better, but I get stuck at the same point as in Ubuntu :
"Fatal Error: CXX compiler not working. CXX = $CC"
I tried to set the CXX variable to my compiler (e.g. C:\MinGW64\bin\g++.exe), both in the environment and in blitz_tools.py, but it does not work.
When I set CXX as an OS variable, I get the same error as above, if I set it in the py file, I get
"Fatal Error: CXX compiler not working. CXX = C:\MinGW64\bin\g++.exe"
Should I use Visual Studio ?