• Welcome to World Machine Community. Please login or sign up.
 
September 18, 2019, 05:28:35 pm

News:

Read the Development Diary for an inside look at World Machine's progress!


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - lwiseman

1
Macros and Plugins / Rotator
October 04, 2011, 03:55:28 pm
Hey guys, I figured posting here would get more views.

I've generated a series of colormaps and heightmaps for a bunch of objects I wanted to place on terrains, but I wanted their placement to convey a natural appearance and having them all facing the same direction was hindering me. I found Rhalph's clever rotation macro that helped some, but it could only rotate in 90° increments. So I expounded on Rhalph's idea with this link to create a plugin that can rotate in arbitrary degrees between 0 and 45 (other angles are achievable in combination with Rhalph's macro).

There's a catch, though. Without trigonometric devices I'm losing edge information (see details here). I think it's currently good enough for my application (and possibly yours), but if someone could provide a basic trigonometric device or help me with my environment, it could be better.
2
Plugin Development Forum / MSVC 2010 Express
October 03, 2011, 12:55:51 am
Hello, I'm trying to build the Example Devices solution with MSVC 2010 Express and am receiving linker errors:

1>PluginCore.lib(WMPacket.obj) : error LNK2019: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" ([email protected]@[email protected]@@[email protected]@Z) referenced in function "public: __thiscall std::locale::locale(void)" ([email protected]@@[email protected])
1>PluginCore.lib(DeviceWorld.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" ([email protected]@[email protected]@@[email protected]@Z)
1>PluginCore.lib(Device.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" ([email protected]@[email protected]@@[email protected]@Z)
1>PluginCore.lib(Parameter.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" ([email protected]@[email protected]@@[email protected]@Z)
1>PluginCore.lib(HField.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" ([email protected]@[email protected]@@[email protected]@Z)
1>PluginCore.lib(IODevices.obj) : error LNK2001: unresolved external symbol "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" ([email protected]@[email protected]@@[email protected]@Z)
1>PluginCore.lib(WMPacket.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(DeviceWorldBuilder.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(Ports.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(DeviceWorld.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(Device.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::erase(unsigned int,unsigned int)" ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected]@Z)
1>PluginCore.lib(Parameter.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(HField.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(IODevices.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xran(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(WMPacket.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(DeviceWorldBuilder.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(Ports.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(DeviceWorld.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(Device.obj) : error LNK2019: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ) referenced in function "protected: bool __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Grow(unsigned int,bool)" ([email protected][email protected][email protected]@[email protected]@[email protected]@[email protected]@[email protected]@[email protected])
1>PluginCore.lib(Parameter.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(HField.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(IODevices.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl std::_String_base::_Xlen(void)" ([email protected][email protected]@@SAXXZ)
1>PluginCore.lib(WMPacket.obj) : error LNK2019: unresolved external symbol "long const std::_BADOFF" ([email protected]@@3JB) referenced in function "protected: virtual class std::fpos<int> __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::seekoff(long,int,int)" ([email protected][email protected][email protected]@[email protected]@@[email protected]@[email protected]@[email protected]@Z)
1>PluginCore.lib(DeviceWorld.obj) : error LNK2001: unresolved external symbol "long const std::_BADOFF" ([email protected]@@3JB)
1>Release\Example Devices.dll : fatal error LNK1120: 4 unresolved externals


Does anyone know what the problem is or perhaps have a successfully-converted, MSVC 2010 Express solution?