qwertzui11
23-08-2011 21:01:56
Hi
there were several errors when i was compiling for ubuntu 11.04 64bit with the latest rev;
here's the correction:
Next error is, that in MyGui all Ogre-Headers get included with
instead of
and that everytime boost/thread/tss.hpp is missing. U have to copy these files to the OgreIncludeDir, maybe an entry at the cmake-file would be cool which links to the boost-Include-Dir
Howevery great job, all works berkeliumPlugin too
Is there a chance to become LinuxMaintainer?
Have fun
Markus
there were several errors when i was compiling for ubuntu 11.04 64bit with the latest rev;
here's the correction:
Index: Plugins/Plugin_BerkeliumWidget/Buffer.h
===================================================================
--- Plugins/Plugin_BerkeliumWidget/Buffer.h (revision 4306)
+++ Plugins/Plugin_BerkeliumWidget/Buffer.h (working copy)
@@ -6,6 +6,10 @@
#ifndef __BUFFER_H__
#define __BUFFER_H__
+#include <stdio.h>
+#include <string.h>
+#include <complex>
+
namespace helpers
{
class Buffer
Index: Common/Input/InputConverter.h
===================================================================
--- Common/Input/InputConverter.h (revision 4306)
+++ Common/Input/InputConverter.h (working copy)
@@ -993,14 +993,14 @@
#undef ADD_MAP
#undef ADD_MAP2
}
-
+#if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
int VirtualKeyToScanCode(WPARAM _virtualKey) const
{
if (_virtualKey < VLK_MAX)
return (int)mVirtualKeyToScanCode[_virtualKey];
return 0;
}
-
+#endif
int ScanCodeToVirtualKey(int _scanCode) const
{
if (_scanCode < SC_MAX)
@@ -1040,12 +1040,13 @@
static Table table;
return table;
}
-
+#if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
int VirtualKeyToScanCode(WPARAM _virtualKey)
{
const Table& table = getTable();
return table.VirtualKeyToScanCode(_virtualKey);
}
+#endif
int ScanCodeToVirtualKey(int _scanCode)
{
Next error is, that in MyGui all Ogre-Headers get included with
#include "Ogre*.h"
instead of
#include "OGRE/Ogre*.h"
and that everytime boost/thread/tss.hpp is missing. U have to copy these files to the OgreIncludeDir, maybe an entry at the cmake-file would be cool which links to the boost-Include-Dir
Howevery great job, all works berkeliumPlugin too

Is there a chance to become LinuxMaintainer?

Have fun
Markus