<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>pnotepad.org forums &#187; Tag: build - Recent Posts</title>
		<link>http://pnotepad.org/forums/tags/build</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 07:12:10 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://pnotepad.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://pnotepad.org/forums/rss/tags/build" rel="self" type="application/rss+xml" />

		<item>
                        <title>About how to compile PN (simon)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7908</link>
			<pubDate>Mon, 16 May 2011 17:55:19 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7908@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;The &#34;d&#34; stands for &#34;debug&#34; - it's the debug version of the runtime libraries. If you build the Release build you'll only need the ones that PN includes.&#60;/p&#62;
&#60;p&#62;Nice to hear about it working on OSX, thanks!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7907</link>
			<pubDate>Mon, 16 May 2011 16:49:08 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7907@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Ok thanks. I copied the config.xml from portable-pn rc1 and also the msvcr100.dll and msvcp100.dll. When i launched pn.exe, it gave me error: msvcr100d.dll / msvcp100d.dll not found.&#60;/p&#62;
&#60;p&#62;Renaming the dlls without d at the end gives another error (entry point not found...), so I downloaded the needed DLLs from dll-files.com and it's now working. I guess the d stands for deutsch (german), 'cause i built PN on german Windows 7?!&#60;/p&#62;
&#60;p&#62;With portable settings and the DLLs, it works on Mac OSX using Crossover (Wine core) too.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (simon)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7906</link>
			<pubDate>Mon, 16 May 2011 08:16:48 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7906@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;This is done with a flag in config.xml. If you look under the &#60;code&#62;installer\configs\&#60;/code&#62; directory you'll find the config.xml to drop in for portable mode. Put that in the same directory as pn.exe and you're running &#34;portable&#34; - the build itself is identical.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7892</link>
			<pubDate>Thu, 12 May 2011 18:45:00 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7892@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I built all projects of the solution, SciLexer.dll was created in that process and everything is working perfectly.&#60;/p&#62;
&#60;p&#62;Got another question: how to switch build type between portable and installation distribution?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7818</link>
			<pubDate>Mon, 04 Apr 2011 18:03:25 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7818@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I'll check for the SciLexer.dll, thanks Simon!&#60;/p&#62;
&#60;p&#62;Code for description attribute attached: &#60;a href=&#34;http://code.google.com/p/pnotepad/issues/detail?id=609#c5&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/pnotepad/issues/detail?id=609#c5&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;BTW: i see many appearences of func=&#34;yes&#34; in the API files but there is no code for it. Can we drop it and add the APIs to our repo for later improvement?&#60;/p&#62;
&#60;p&#62;About the How to compile tutorial (needs another update):&#60;/p&#62;
&#60;p&#62;Microsoft deprecated the Visual C++ include directories. Now it's necessary to add boost and wtl to each project of the solution.&#60;/p&#62;
&#60;p&#62;VS2010 stores the information as property sheet along with the project files, therefore one has to change the already added paths (or place boost and wtl where Simon put them)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (simon)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7812</link>
			<pubDate>Mon, 04 Apr 2011 10:28:32 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7812@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;For change submission there are two options:&#60;/p&#62;
&#60;p&#62;1. Create a fork on Google Code and push to that as you please, then ask me to pull the changes with a patch issue on Google Code.&#60;/p&#62;
&#60;p&#62;2. Create a patch and attach it to a patch issue.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (simon)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7810</link>
			<pubDate>Mon, 04 Apr 2011 10:05:29 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7810@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;&#60;code&#62;CXX0030: Error: expression cannot be evaluated&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;This is an error from the watch window or the debugger at any rate, and shouldn't be related to the actual problem you're seeing. You'll definitely need the accelerator method because otherwise you'll have an invalid accelerator table which will cause all sorts of problems (as you're seeing).&#60;/p&#62;
&#60;p&#62;If the text view is not drawing, then the most likely problem is that the scintilla DLL has not built, or is not working properly. Can you check you have a SciLexer.dll in your bin directory?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7809</link>
			<pubDate>Sun, 03 Apr 2011 21:24:00 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7809@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I went back to revision f2a2b6461cb6 and converted it, but same errors:&#60;/p&#62;
&#60;p&#62;The call stack:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
&#38;gt;	pn.exe!CChildFrame::GetToolAccelerators()  Line 2959 + 0x1b bytes	C++&#60;/p&#62;
&#60;p&#62; 	pn.exe!CMainFrame::OnChildNotify(unsigned int __formal, unsigned int wParam, long lParam, int &#38;amp; bHandled)  Line 532 + 0x8 bytes	C++&#60;/p&#62;
&#60;p&#62; 	pn.exe!CMainFrame::ProcessWindowMessage(HWND__ * hWnd, unsigned int uMsg, unsigned int wParam, long lParam, long &#38;amp; lResult, unsigned long dwMsgMapID)  Line 112 + 0x28 bytes	C++&#60;/p&#62;
&#60;p&#62; 	pn.exe!WTL::CMDIFrameWindowImpl&#38;lt;CMainFrame,WTL::CMDIWindow,dockwins::CDockingFrameTraitsT&#38;lt;dockwins::CSimpleSplitterBar&#38;lt;3&#38;gt;,114229248,262400&#38;gt; &#38;gt;::MDIFrameWindowProc(HWND__ * hWnd, unsigned int uMsg, unsigned int wParam, long lParam)  Line 1499 + 0x27 bytes	C++&#60;/p&#62;
&#60;p&#62;__vfptr = CXX0030: Error: expression cannot be evaluated&#60;br /&#62;
m_hAccel  CXX0030: Error: expression cannot be evaluated&#60;/p&#62;
&#60;p&#62;m_hSubMenu = CXX0017: Error: symbol &#34;&#34; not found&#60;br /&#62;
CSMenuT&#38;lt;1&#38;gt; = {m_hMenu=??? }&#60;br /&#62;
m_hSubMenu = CXX0030: Error: expression cannot be evaluated&#60;/p&#62;
&#60;p&#62;m_Tools = [...] only contains bunch of (error) = 0&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If i skip the accel function and ignore the window check, PN shows up but the text view is broken (doesn't draw itself)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7808</link>
			<pubDate>Sun, 03 Apr 2011 17:59:54 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7808@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Ok, new problems. I moved to a new system, Windows 7 Starter and VS 2010 +SP1. Sources compile without errors, but when i run it, i get &#34;cant evaluate&#34; error here:&#60;/p&#62;
&#60;p&#62;HACCEL CChildFrame::GetToolAccelerators()&#60;br /&#62;
{&#60;br /&#62;
        SchemeTools* pTools = ToolsManager::GetInstance()-&#38;gt;GetToolsFor( GetTextView()-&#38;gt;GetCurrentScheme()-&#38;gt;GetName() );&#60;br /&#62;
        return pTools-&#38;gt;GetAcceleratorTable();&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;I replaced the function body by return NULL; but it gave me new error in atlwin.h&#60;br /&#62;
(Expression: ::isWindow(m_hWnd);&#60;/p&#62;
&#60;p&#62;I used the latest code from repo. Please help, Simon!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7806</link>
			<pubDate>Sat, 02 Apr 2011 00:09:22 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7806@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I got it working, now thinking about how extend the *.api files&#60;/p&#62;
&#60;p&#62;Either i add a &#34;desc&#34; attribute to KeyWord and Param tag* or introduce an ending Param tag and a Description block to put the text as character data into the XML apis (got that working as well, although it's ugly code...)&#60;/p&#62;
&#60;p&#62;*(not for Overload, because i don't think anyone will need it)&#60;/p&#62;
&#60;p&#62;Currently i tend to the former&#60;/p&#62;
&#60;p&#62;Simon, do i have to send you my code so you can merge it or can i push it to the repo somehow myself?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7773</link>
			<pubDate>Thu, 24 Mar 2011 13:04:24 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7773@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Okay, i performend &#60;code&#62;hg update -r f2a2b6461cb6&#60;/code&#62; for VS 2008 compatible source code and it built without errors :)&#60;br /&#62;
(Using Boost 1.42)&#60;/p&#62;
&#60;p&#62;My change to CallTip is experimental at the moment.&#60;br /&#62;
I changed the background color for xp-like quickinfo look:&#60;br /&#62;
&#60;code&#62;colourBG.desired = ColourDesired(0xff, 0xff, 0xe1);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;And i tested the multi-line support, which already exists! &#60;a href=&#34;http://pnotepad.googlecode.com/issues/attachment?aid=3212458882931685048&#38;amp;name=PNotepad_API_Tooltip_Multiline_Support.png&#38;amp;token=ab48ed7a7ada13b4521b187b7fe3c370&#38;amp;inline=1&#34;&#62;Screenshot&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Posted here: &#60;a href=&#34;http://code.google.com/p/pnotepad/issues/detail?id=609&#38;amp;q=tooltip&#34;&#62;PN @ Google Code&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'm only a hobby coder and not familiar with serious C++, so I don't know if I can get a calltip enhancement working; help always appreciated :)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (simon)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7760</link>
			<pubDate>Mon, 21 Mar 2011 13:51:23 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7760@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Oh also, I think you now need Boost 1.45 and that explains a couple of other errors.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (simon)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7759</link>
			<pubDate>Mon, 21 Mar 2011 13:49:21 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7759@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Also, what's your change to CallTip? If it's of general interest then please send as a patch for consideration!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (simon)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7758</link>
			<pubDate>Mon, 21 Mar 2011 13:48:52 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7758@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks, and sorry!&#60;/p&#62;
&#60;p&#62;2010 is right, and as of that switch I don't think you should need to download a separate SDK - the included bits are up-to-date (equivalent to 7.0a I think).&#60;/p&#62;
&#60;p&#62;The errors in your trace look largely to be related to 2010's C++0x syntax features, you'll need to revert more files to get 2008 to work again.&#60;/p&#62;
&#60;p&#62;I'll update the docs.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>About how to compile PN (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5197#post-7749</link>
			<pubDate>Fri, 18 Mar 2011 12:00:29 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7749@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hey there,&#60;/p&#62;
&#60;p&#62;i wanted to compile PN with minimal changes in the CallTip.cxx and followed the tutorial instruction: &#60;a href=&#34;http://pnotepad.org/docs/dev/how_to_compile_pn&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/docs/dev/how_to_compile_pn&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So i downloaded the &#60;a href=&#34;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505&#38;amp;displaylang=en&#34;&#62;latest Windows SDK&#60;/a&#62; for Windows 7 and .NET 3.5.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;&#34;Make sure to register the SDK with Visual Studio&#34;&#60;/strong&#62;&#60;br /&#62;
--&#38;gt; error thrown: &#34;Your system does not have Visual Studio 2005 or Visual Studio 2008 installed.&#34;&#60;br /&#62;
I found a solution &#60;a href=&#34;http://blogs.msdn.com/b/windowssdk/archive/2009/08/21/windows-sdk-configuration-tool-may-report-an-error-when-os-display-format-is-not-english.aspx&#34;&#62;here&#60;/a&#62;:&#60;br /&#62;
At the Windows SDK command prompt, type &#34;WindowsSdkVer.exe -version:v7.0&#34; without quotes&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;&#34;Add the boost directory to your Visual C++ include directories&#34;&#60;/strong&#62;&#60;br /&#62;
--&#38;gt; i added it to the include files category (for “Show directories for” i selected “Include Files”). This gave me least errors on build.&#60;br /&#62;
May i have to add the libs directory to the library category as well?&#60;/p&#62;
&#60;p&#62;No problems with WTL, but i had to revert several PN source files to revision &#60;code&#62;f2a2b6461cb6&#60;/code&#62; to make it work with VS 2008 (since rev &#60;code&#62;b69cc67a9020&#60;/code&#62; VS 2010 is required)&#60;/p&#62;
&#60;p&#62;On build, i got more than &#60;a href=&#34;http://nopaste.info/62b60a014d_nl.html&#34;&#62;300 errors&#60;/a&#62;. Any ideas how to solve these problems?&#60;/p&#62;
&#60;p&#62;@Simon: please update the tutorial&#60;br /&#62;
1) VS 2008 --&#38;gt; VS 2010&#60;br /&#62;
2) WinSDK 2008 (v6.0A / v6.1) --&#38;gt; WinSDK v7.0&#60;br /&#62;
3) more details on how to add boost in VS&#60;br /&#62;
Thanks you very much!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>How to compile multiple files - one project (mohseni)</title>
			<link>http://pnotepad.org/forums/topic/322#post-7038</link>
			<pubDate>Mon, 07 Jun 2010 18:36:30 +0000</pubDate>
			<dc:creator>mohseni</dc:creator>
			<guid isPermaLink="false">7038@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Dear Members,&#60;/p&#62;
&#60;p&#62;I'am trying to define a function(a simple function which make a led on/off) and add it to main source code by including a header but the main source couldn't determine/define the function. I recieve below error:&#60;/p&#62;
&#60;p&#62;********* main.c12: undefined reference to 'ledon' ********&#60;/p&#62;
&#60;p&#62;some told me I should compile and linke them together. how?&#60;br /&#62;
Would you please tell me where is problem?&#60;/p&#62;
&#60;p&#62;%%%%%%%%% here is the codes %%%%%%%%%&#60;br /&#62;
main:&#60;br /&#62;
------------------------&#60;br /&#62;
#include &#38;lt;avr/io.h&#38;gt;&#60;br /&#62;
#include &#38;lt;util/delay.h&#38;gt;&#60;br /&#62;
#include &#34;ledon.h&#34;&#60;/p&#62;
&#60;p&#62;int main()&#60;br /&#62;
{&#60;br /&#62;
DDRA=0xff;&#60;br /&#62;
while(1)&#60;br /&#62;
{&#60;br /&#62;
ledon();&#60;br /&#62;
}&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;--------------------------- Function( it's a simple function which make a led on/off---------&#60;/p&#62;
&#60;p&#62;void ledon()&#60;/p&#62;
&#60;p&#62;{&#60;br /&#62;
PORTA &#124;= 0x80;&#60;br /&#62;
_delay_ms(100);&#60;br /&#62;
PORTA &#38;amp;= ~0x80;&#60;br /&#62;
_delay_ms(100);&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;------------------------- header---------------------&#60;br /&#62;
#ifndef MYHEADER_H&#60;br /&#62;
#define MYHEADER_H&#60;br /&#62;
void ledon();&#60;br /&#62;
#endif
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1592</link>
			<pubDate>Wed, 30 Jul 2008 11:46:02 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1592@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Like you said, everything &#60;strong&#62;SHOULD&#60;/strong&#62; have worked :) Instead though I got a bunch of &#60;code&#62;unresolved externals&#60;/code&#62;. Here's the whole error set from PyPN after the above changes:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) public: __thiscall boost::python::objects::enum_base::~enum_base(void)&#38;quot; (__imp_??1enum_base@objects@python@boost@@QAE@XZ) referenced in function &#38;quot;public: __thiscall boost::python::enum_&#38;lt;enum FindNextResult&#38;gt;::~enum_&#38;lt;enum FindNextResult&#38;gt;(void)&#38;quot; (??1?$enum_@W4FindNextResult@@@python@boost@@QAE@XZ)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) public: __thiscall boost::python::objects::class_base::~class_base(void)&#38;quot; (__imp_??1class_base@objects@python@boost@@QAE@XZ) referenced in function &#38;quot;public: __thiscall boost::python::class_&#38;lt;class extensions::IDocument,class boost::noncopyable_::noncopyable,struct boost::python::detail::not_specified,struct boost::python::detail::not_specified&#38;gt;::~class_&#38;lt;class extensions::IDocument,class boost::noncopyable_::noncopyable,struct boost::python::detail::not_specified,struct boost::python::detail::not_specified&#38;gt;(void)&#38;quot; (??1?$class_@VIDocument@extensions@@Vnoncopyable@noncopyable_@boost@@Unot_specified@detail@python@5@U6785@@python@boost@@QAE@XZ)
1&#38;gt;mod_scintilla.obj : error LNK2001: unresolved external symbol &#38;quot;__declspec(dllimport) public: __thiscall boost::python::objects::class_base::~class_base(void)&#38;quot; (__imp_??1class_base@objects@python@boost@@QAE@XZ)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) protected: __thiscall boost::python::objects::enum_base::enum_base(char const *,struct _object * (__cdecl*)(void const *),void * (__cdecl*)(struct _object *),void (__cdecl*)(struct _object *,struct boost::python::converter::rvalue_from_python_stage1_data *),struct boost::python::type_info,char const *)&#38;quot; (__imp_??0enum_base@objects@python@boost@@IAE@PBDP6APAU_object@@PBX@ZP6APAXPAU4@@ZP6AX3PAUrvalue_from_python_stage1_data@converter@23@@ZUtype_info@23@0@Z) referenced in function &#38;quot;public: __thiscall boost::python::enum_&#38;lt;enum FindNextResult&#38;gt;::enum_&#38;lt;enum FindNextResult&#38;gt;(char const *,char const *)&#38;quot; (??0?$enum_@W4FindNextResult@@@python@boost@@QAE@PBD0@Z)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) protected: void __thiscall boost::python::objects::enum_base::add_value(char const *,long)&#38;quot; (__imp_?add_value@enum_base@objects@python@boost@@IAEXPBDJ@Z) referenced in function &#38;quot;public: struct boost::python::enum_&#38;lt;enum FindNextResult&#38;gt; &#38;#38; __thiscall boost::python::enum_&#38;lt;enum FindNextResult&#38;gt;::value(char const *,enum FindNextResult)&#38;quot; (?value@?$enum_@W4FindNextResult@@@python@boost@@QAEAAU123@PBDW4FindNextResult@@@Z)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) protected: static struct _object * __cdecl boost::python::objects::enum_base::to_python(struct _typeobject *,long)&#38;quot; (__imp_?to_python@enum_base@objects@python@boost@@KAPAU_object@@PAU_typeobject@@J@Z) referenced in function &#38;quot;private: static struct _object * __cdecl boost::python::enum_&#38;lt;enum FindNextResult&#38;gt;::to_python(void const *)&#38;quot; (?to_python@?$enum_@W4FindNextResult@@@python@boost@@CAPAU_object@@PBX@Z)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) public: __thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &#38;#38;)&#38;quot; (__imp_??0shared_ptr_deleter@converter@python@boost@@QAE@ABU0123@@Z) referenced in function &#38;quot;private: static void __cdecl boost::python::converter::shared_ptr_from_python&#38;lt;class extensions::IDocument&#38;gt;::construct(struct _object *,struct boost::python::converter::rvalue_from_python_stage1_data *)&#38;quot; (?construct@?$shared_ptr_from_python@VIDocument@extensions@@@converter@python@boost@@CAXPAU_object@@PAUrvalue_from_python_stage1_data@234@@Z)
1&#38;gt;mod_scintilla.obj : error LNK2001: unresolved external symbol &#38;quot;__declspec(dllimport) public: __thiscall boost::python::converter::shared_ptr_deleter::shared_ptr_deleter(struct boost::python::converter::shared_ptr_deleter const &#38;#38;)&#38;quot; (__imp_??0shared_ptr_deleter@converter@python@boost@@QAE@ABU0123@@Z)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) void __cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair&#38;lt;void *,struct boost::python::type_info&#38;gt; (__cdecl*)(void *))&#38;quot; (__imp_?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z) referenced in function &#38;quot;void __cdecl boost::python::objects::register_dynamic_id&#38;lt;class extensions::IDocument&#38;gt;(class extensions::IDocument *)&#38;quot; (??$register_dynamic_id@VIDocument@extensions@@@objects@python@boost@@YAXPAVIDocument@extensions@@@Z)
1&#38;gt;mod_scintilla.obj : error LNK2001: unresolved external symbol &#38;quot;__declspec(dllimport) void __cdecl boost::python::objects::register_dynamic_id_aux(struct boost::python::type_info,struct std::pair&#38;lt;void *,struct boost::python::type_info&#38;gt; (__cdecl*)(void *))&#38;quot; (__imp_?register_dynamic_id_aux@objects@python@boost@@YAXUtype_info@23@P6A?AU?$pair@PAXUtype_info@python@boost@@@std@@PAX@Z@Z)
1&#38;gt;mod_pn.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) void * __cdecl boost::python::objects::find_dynamic_type(void *,struct boost::python::type_info,struct boost::python::type_info)&#38;quot; (__imp_?find_dynamic_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) referenced in function &#38;quot;private: virtual void * __thiscall boost::python::objects::pointer_holder&#38;lt;class boost::shared_ptr&#38;lt;class extensions::IDocument&#38;gt;,class extensions::IDocument&#38;gt;::holds(struct boost::python::type_info,bool)&#38;quot; (?holds@?$pointer_holder@V?$shared_ptr@VIDocument@extensions@@@boost@@VIDocument@extensions@@@objects@python@boost@@EAEPAXUtype_info@34@_N@Z)
1&#38;gt;mod_scintilla.obj : error LNK2019: unresolved external symbol &#38;quot;__declspec(dllimport) void * __cdecl boost::python::objects::find_static_type(void *,struct boost::python::type_info,struct boost::python::type_info)&#38;quot; (__imp_?find_static_type@objects@python@boost@@YAPAXPAXUtype_info@23@1@Z) referenced in function &#38;quot;private: virtual void * __thiscall boost::python::objects::value_holder&#38;lt;class PNScintilla&#38;gt;::holds(struct boost::python::type_info,bool)&#38;quot; (?holds@?$value_holder@VPNScintilla@@@objects@python@boost@@EAEPAXUtype_info@34@_N@Z)
1&#38;gt;..\bin/pypn.dll : fatal error LNK1120: 9 unresolved externals&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1591</link>
			<pubDate>Tue, 29 Jul 2008 22:26:29 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1591@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Ah, lightbulb moment! The project is set to link to that DLL by the inclusion of &#60;code&#62;boost_python-vc80-mt-gd-1_35.lib&#60;/code&#62; in the linker inputs in the project settings. Change that to the relevant lib built for vc90 and then everything should start working. The vc80 dll is copied by the post build step, also configured in the project settings.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1590</link>
			<pubDate>Mon, 28 Jul 2008 20:25:32 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1590@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Concerning option 1:&#60;/p&#62;
&#60;p&#62;I already have &#60;code&#62;boost_python-vc90-mt-gd-1_35.dll&#60;/code&#62; and &#60;code&#62;boost_python-vc90-mt-gd-1_35.lib&#60;/code&#62; in &#60;code&#62;lib\boost-python-2.5&#60;/code&#62; folder because I can't compile PN without vc90 version. To me that would seem to fulfil option 1 but obviously it doesn't. What additional steps am I missing from option 1?&#60;/p&#62;
&#60;p&#62;Also (possibly related) why does &#60;code&#62;boost_python-vc80-mt-gd-1_35.dll&#60;/code&#62; still end up in the &#60;code&#62;bin&#60;/code&#62; directory while compiling requires vc90 version (if I replace it with vc90 version I get an error than vc80 version isn't found)?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1589</link>
			<pubDate>Mon, 28 Jul 2008 19:17:20 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1589@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Ah, this is because the vc80-mt-gd-1_35.dll version of boost python is built against the Visual Studio 2005 debug libraries, these are not on your machine because you only have VS 2008. You have a few options:&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;Build boost python for vc90 and use that
&#60;/li&#62;
&#60;li&#62;Download a copy of the 2005 DebugCRT and install it, that should work ok but no guarantees
&#60;/li&#62;
&#60;li&#62;Just use a release build of pypn, hopefully all the dlls you need should be on the machine already and if not they're in the prerequisites folder under the installer.&#60;/li&#62;
&#60;/ol&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1588</link>
			<pubDate>Mon, 28 Jul 2008 18:34:21 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1588@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Assuming I did it correctly this is the debugger output concerning PyPN:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;#39;pn.exe&#38;#39;: Loaded &#38;#39;E:\Tomi\Ohjelmointi\pnwtl\bin\pypn.dll&#38;#39;, Symbols loaded.
&#38;#39;pn.exe&#38;#39;: Loaded &#38;#39;E:\Tomi\Ohjelmointi\pnwtl\bin\boost_python-vc80-mt-gd-1_35.dll&#38;#39;
LDR: LdrpWalkImportDescriptor() failed to probe e:\Tomi\Ohjelmointi\pnwtl\bin\boost_python-vc80-mt-gd-1_35.dll for its manifest, ntstatus 0xc0150002
&#38;#39;pn.exe&#38;#39;: Unloaded &#38;#39;E:\Tomi\Ohjelmointi\pnwtl\bin\pypn.dll&#38;#39;
&#38;#39;pn.exe&#38;#39;: Unloaded &#38;#39;E:\Tomi\Ohjelmointi\pnwtl\bin\boost_python-vc80-mt-gd-1_35.dll&#38;#39;
Failed to load extension: pypn.dll&#38;#39;pn.exe&#38;#39;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Does it ring any bells for you (I'm, as expected, drawing a blank)?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1585</link>
			<pubDate>Sun, 27 Jul 2008 20:39:29 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1585@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks, done.&#60;/p&#62;
&#60;p&#62;For PyPN, as you have built PN you can put a breakpoint in App::LoadExtensions() and then run the program in the debugger. You'll then be able to walk step by step through the extensions being loaded and find out at what point PN fails to load PyPN.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1584</link>
			<pubDate>Fri, 25 Jul 2008 20:15:40 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1584@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;First, two more fixes. In file &#60;code&#62;actests.cpp&#60;/code&#62; there are two more imports with extra &#60;code&#62;pnwtl&#60;/code&#62;:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#include &#38;quot;../pnwtl/autocomplete.h&#38;quot;
#include &#38;quot;../pnwtl/pnstrings.h&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then about PyPN. I don't (again) fully grasp the meaning of your advice. How do I &#34;step into&#34; extension loading? Is there a log somewhere or what? And yes, with PN home directory I was referring to &#60;code&#62;bin&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;Thanks for all the help this far.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1580</link>
			<pubDate>Fri, 25 Jul 2008 12:50:03 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1580@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks, I fixed the allocator and string thing, they should have been:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#include &#38;quot;../allocator.h&#38;quot;
#include &#38;quot;../pnextstring.h&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The string file was renamed recently to fix clashes with the standard library.&#60;/p&#62;
&#60;p&#62;As for PyPN, you could step into the extension loading to find out why it doesn't work. When you say the PN home directory, I presume you mean inside bin? PyPN needs your bin folder to look like:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;bin
 &#124;- pypn
 &#124;   &#124;- decorators.py
 &#124;- scripts
 &#124;- schemes
 &#124;- taggers&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In terms of the include directories, I personally think it's easier to just add Boost and WTL to your global include directories (Tools&#124;Options&#124;Projects and Solutions&#124;VC++ Directories) which then makes these things available to all projects where needed. YMMV.&#60;/p&#62;
&#60;p&#62;I'll have to look more into the GetThemeSysFont thing. Is &#60;code&#62;NTDDI_WIN6&#60;/code&#62; even defined in your environment?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1574</link>
			<pubDate>Thu, 24 Jul 2008 04:53:45 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1574@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Finally I had time to return to this compile attempt. I got the PN to compile but I'll return to remaining problems a bit later. Now I'd need to know if any of the things I did are somehow wrong.&#60;/p&#62;
&#60;p&#62;First, to fix the &#60;code&#62;GetThemeSysFont&#60;/code&#62; I ended up commenting out the whole if-else part and left only &#60;code&#62;::GetThemeSysFont(m_winTheme, TMT_SMALLCAPTIONFONT, &#38;#38;lf);&#60;/code&#62; in its place. Just changing &#60;code&#62;NTDDI_WIN6SP1&#60;/code&#62; to &#60;code&#62;NTDDI_WIN6&#60;/code&#62; didn't make any difference.&#60;/p&#62;
&#60;p&#62;Second, in addition to changes mentioned in 'how to' above I had to include boost in two other projects as well (&#60;code&#62;ctagsnavigator&#60;/code&#62;, &#60;code&#62;pypn&#60;/code&#62;). For &#60;code&#62;pypn&#60;/code&#62; I also had to replace the Python related include with full path to &#60;code&#62;\Python25\include&#60;/code&#62; library as it didn't find it otherwise and add vc90 boost files to &#60;code&#62;\lib\boost-python-2.5&#60;/code&#62;. And finally I had to change &#60;code&#62;atlres.h&#60;/code&#62; in &#60;code&#62;pn.rc&#60;/code&#62; to full path to that file.&#60;/p&#62;
&#60;p&#62;With the above changes PN compiles and works. Project &#60;code&#62;tests&#60;/code&#62; still gives errors though because of the following:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;#include &#38;quot;../pnwtl/allocator.h&#38;quot;
#include &#38;quot;../pnwtl/string.h&#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;These two files don't exist. I can fix the first by dropping &#60;code&#62;pnwtl&#60;/code&#62; from the path but there's no obvious fix to second.&#60;/p&#62;
&#60;p&#62;My main concern though is the fact that while &#60;code&#62;pypn&#60;/code&#62; compiles without errors or warnings it doesn't work. PN doesn't find it at all. I made &#60;code&#62;config.xml&#60;/code&#62; for it and it finds &#60;code&#62;ctags&#60;/code&#62; correctly but &#60;code&#62;pypn&#60;/code&#62; doesn't show up. I copied the &#60;code&#62;pypn&#60;/code&#62; and &#60;code&#62;scripts&#60;/code&#62; folders from svn to PN's home directory but it made no difference. I have no idea how to make &#60;code&#62;pypn&#60;/code&#62; work.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1552</link>
			<pubDate>Thu, 17 Jul 2008 08:00:02 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1552@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;jumpfroggy has put an excellent summary of the current build steps here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pnotepad.org/docs/dev/how_to_compile_pn&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/docs/dev/how_to_compile_pn&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Note that as of a couple of days ago, you should be able to get the current scintilla source (it's not been released as an official package yet) and use that without the patches. I'll confirm when I've tried it. This should simplify things.&#60;/p&#62;
&#60;p&#62;Another thing to note is that I put boost and WTL in my directories configuration in Visual Studio meaning that I don't need to modify the project files. This saves the project files from having library paths specific to me in them. The method in the wiki will work fine, though.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (jumpfroggy)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1546</link>
			<pubDate>Wed, 16 Jul 2008 06:11:46 +0000</pubDate>
			<dc:creator>jumpfroggy</dc:creator>
			<guid isPermaLink="false">1546@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I'd love to capture this on a wiki page, so others can find a step-by-step to compile PN.  I know it'd help me a lot (I've spent about 5-8 hours so far, still can't get it to compile).&#60;/p&#62;
&#60;p&#62;Can we fix the wiki so we can get this information in there?  Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1530</link>
			<pubDate>Tue, 08 Jul 2008 18:47:31 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1530@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;GetThemeSysFont:&#60;/p&#62;
&#60;p&#62;The bit of code we're looking at is this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;LOGFONTW lf;
// Newer SDKs fix this define:
#ifdef NTDDI_WIN6SP1
    ::GetThemeSysFont(m_winTheme, TMT_SMALLCAPTIONFONT, &#38;#38;lf);
#else
    ::GetThemeSysFont(m_winTheme, TMT_SMALLCAPTIONFONT, (LOGFONT *)&#38;#38;lf);
#endif&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The bit in the #else section is the code giving you trouble, and it's there because older versions of the platform SDK incorrectly defined the GetThemeSysFont method as taking &#60;code&#62;LOGFONT&#60;/code&#62; instead of &#60;code&#62;LOGFONTW&#60;/code&#62; which is what they really wanted (so &#60;code&#62;LOGFONTW&#60;/code&#62; is cast to &#60;code&#62;LOGFONT&#60;/code&#62;).&#60;/p&#62;
&#60;p&#62;I suspect that instead of &#60;code&#62;NTDDI_WIN6SP1&#60;/code&#62; we want something earlier, perhaps you could see if &#60;code&#62;NTDDI_WIN6&#60;/code&#62; works for you? If so, let me know and I'll change it in the code for good.&#60;/p&#62;
&#60;p&#62;Answers to your other questions:&#60;/p&#62;
&#60;p&#62;1. Unfortunately there's no easy way to tell which prerequisites you are missing, it does get easier with experience to guess ;)&#60;/p&#62;
&#60;p&#62;2. I think the way boost works you'll have to stick with the vc90 version for your build of PyPN. Is this a problem?&#60;/p&#62;
&#60;p&#62;3. I generally select &#34;Not using ATL&#34; and haven't found this to be a problem - this is only relevant when using the non-template parts of ATL anyway which we're not doing at the moment. If you do have to use it, go for dynamic linking but note we'll need to add extra files to the installer if we ship that change.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (kuukkeli)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1519</link>
			<pubDate>Thu, 03 Jul 2008 18:37:24 +0000</pubDate>
			<dc:creator>kuukkeli</dc:creator>
			<guid isPermaLink="false">1519@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;simon:&#60;br /&#62;
&#34;As for the GetThemeSysFont thing I think you can just change it to LOGFONTW and it should work.&#34;&#60;/p&#62;
&#60;p&#62;Could you be a bit more precise? I looked at the file that gives the error but I have no idea what you mean (I guess that's a symptom of being C++ newbie).&#60;/p&#62;
&#60;p&#62;Couple more questions too.&#60;/p&#62;
&#60;p&#62;1. I've been building and checking the error messages to see which projects need which additional includes. Is there easier (and more refined) way to do it?&#60;/p&#62;
&#60;p&#62;2. As I mentioned earlier I couldn't get PyPN to compile without copying vc90 version of required boost library. Is there a way to keep vc80 version after the project conversion?&#60;/p&#62;
&#60;p&#62;3. For PN projects that require ATL should I use static or dynamic linking?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Compiling with Visual Studio 2008 (simon)</title>
			<link>http://pnotepad.org/forums/topic/430#post-1518</link>
			<pubDate>Thu, 03 Jul 2008 16:34:24 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">1518@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi, please update to the latest WTL from their subversion (sorry!) as this should fix the CDialogBaseUnits bit. As for the GetThemeSysFont thing I think you can just change it to LOGFONTW and it should work. Let me know, and I'll try and see if there's some pattern - it's different in different versions of the Platform SDK.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

