AFAIK, 32bit OS can only run 32bit apps. 64bit OS can run both, 64 and 32bit apps.Phantom wrote:EDIT2: Does anyone know if XP32bit accepts 64bit executables if the host platform is 64bit?
If you don't count the #include <windows.h> you have almost everywhere then you are correctPlease note that besides soloapp.cpp, there should be no platform-specific code anywhere
I'll take a look at it but it seemed like there was only a single place where alingment was used. I'll fix it later when I've got the other things working._MM_ALIGN16 comes with Intel SSE headers and provide portable alignment.
In scehe.h, Material class:SetColor shouldn't need a temporary, but you don't quote enough code for me help.
Until you do that I'll use my replacement that I hope works OK.I said i'll post proper code for the wallclock_t thingy, code which works on win32/linux with gcc/msvc etc...
Do you happen to know where could I see a plain "hello world" example for that?There's no need for sdl, it's bloated and slow, just use some bare X11 with shm extension for fast buffer copy.
Thanks, that fixed it.tbp wrote:Dunno, try with this signature "void SetColor(const Color &a_Color)"
I know that. Basically all there is different between classes and structs is that in class, everything is private by default but public in struct.tbp wrote:Btw a class with only public members/methods is really a struct in disguise
And what do you think, how many programs use plain X?tbp wrote:But that shouldn't be too hard to find, i mean you have the sources for the whole system, don't you?
Ho Ho wrote:And what do you think, how many programs use plain X?
Of cource I could if I had a 32bit OS installed. I tried some livecd but as it's kernel didn't have half the needed modules I couldn't even access my files.Phantom wrote:64bit stuff: Can't you just port to 32bit linux first? That way, you can start with working code before diving into 64bit stuff...
Thanks, that seems to do the trick and I don't have to install 32bit OS for now.tbp wrote:See -m32 for 32bit codegen.
I found that the framerate I reported earlier was wrong. It actually showed that images are written to file at 2.7 images per secondPhantom wrote:That frame rate includes writing to a file?
Intel provides non-commercial versions of its software for Linux. Unfortunately their versoins are a bit behind compared to the latest ones. ICC 9.0 has been availiable for quite some time already but vtune newest version will be availiable a few months from now.And if any Intel guy is reading this: Could Intel support this community with some free icc licenses? Right now I'm basically moving from one evaluation to another.
Didn't you try what tbp suggested here? It worked for me.Phantom wrote:FYI, the icc9.1 compiler complained about the same SetColor( Color(r,g,b) ) that you mentioned, so I fixed it in the latest source code. It was really just a couple of instances, and it's all in init code (file loading, primarily).
Phantom wrote:No, didn't bother. In my experience this causes problems in other places, where the passed argument is not const. And since this is not mission-critical, who cares.
Phantom wrote:I didn't have to go through any kind of special trouble to create a tree directly in a renderable format.
Return to Tools, demos & sources
Users browsing this forum: No registered users and 0 guests