Download
Entwicklung
Konto
Download
Entwicklung
Anmelden
Vergessen Konto/Passwort
Konto erstellen
Sprache
Hilfe
Sprache
Hilfe
×
Anmelden
Anmeldename
Passwort
×
Vergessen Konto/Passwort
Übersetzungsstatus von Deutsch
Kategorie:
Software
Personen
PersonalForge
Magazine
Wiki
Suche
OSDN
>
Finden Software
>
Communications
>
Email
>
Email Clients (MUA)
>
pochy
>
Foren
>
Entwickler
>
コンパイル ビルド2
pochy
Beschreibung
Projekt Zusammenfassung
Entwickler-Dashboard
Web-Seite
Entwickler
Bildergalerie
RSS Feed-Liste
Aktivität
Statistiken
Historie
Downloads
Aller Releases-Liste
Statistiken
Quellcode
Quellcode-Repositorys-Liste
CVS
Repository ansehen
Ticket
Ticket-Liste
Liste der Meilensteine
Typenliste
Komponentenliste
Liste der zuletzt benutzten Tickets/RSS
Neue Ticket abschicken
Dokumente
Kommunikation
Foren
Forum-Liste
Entwickler (27)
Offene Diskussion (374)
Mailinglisten
Alle Mailinglisten
pochy-user
Neuigkeiten
Foren:
Entwickler
(Thread #12715)
Zurück zur Thread-Liste
RSS
コンパイル ビルド2 (2006-11-01 10:56 by
Anonym
#25715)
Antworten
Ticket erstellen
初めまして.
0.3.4のソースコードをダウンロードして,VC.NETでコンパイルしたのですが,以下のエラーが取れません.
解決方法を教えていただければ幸いです.
よろしくお願い致します.
c:\documents and settings\tanabe\デスクトップ\pochy-0.3.4-src\pluginlistdialog.cpp(76): error C2440: 'reinterpret_cast' : 'DWORD_PTR' から 'std::vector<_Ty>::const_iterator' に変換できません。
with
[
_Ty=CPlugin
]
c:\documents and settings\tanabe\デスクトップ\pochy-0.3.4-src\resource.h(11): warning C4005: 'RT_MANIFEST' : マクロが再定義されました。
Reply to #25715
×
Subjekt
Körper
Reply To Message #25715 > 初めまして. > > 0.3.4のソースコードをダウンロードして,VC.NETでコンパイルしたのですが,以下のエラーが取れません. > > 解決方法を教えていただければ幸いです. > よろしくお願い致します. > > c:\documents and settings\tanabe\デスクトップ\pochy-0.3.4-src\pluginlistdialog.cpp(76): error C2440: 'reinterpret_cast' : 'DWORD_PTR' から 'std::vector<_Ty>::const_iterator' に変換できません。 > with > [ > _Ty=CPlugin > ] > c:\documents and settings\tanabe\デスクトップ\pochy-0.3.4-src\resource.h(11): warning C4005: 'RT_MANIFEST' : マクロが再定義されました。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Anmelden
Nickname
Vorschau
Eintrag
Abbrechen
RE: コンパイル ビルド2 (2006-11-01 22:01 by
moogv
#25718)
Antworten
Ticket erstellen
VC.NETは2005でしょうか?
ちょっと調べてみたんですが、
こんな感じにかな?と思ってやってみたんですが、
どうもおかしいみたいです。
CPluginManager::PLUGIN_LIST::const_iterator *it = reinterpret_cast<CPluginManager::PLUGIN_LIST::const_iterator*>(m_listPlugin.GetItemData(pNMListView->iItem));
CPlugin::CInfo info = (*it)->GetInfo();
とりあえず、無理やり
BOOL CPluginListDialog::OnInitDialog() のなかの
- m_listPlugin.SetItemData(nIndex, reinterpret_cast<DWORD>(&it));
を
+ m_listPlugin.SetItemData(nIndex, reinterpret_cast<DWORD>(&info));
に変更して
void CPluginListDialog::OnItemChanged(NMHDR* pNMHDR, LRESULT* pResult) のなかの
- CPluginManager::PLUGIN_LIST::const_iterator it;
- it = reinterpret_cast<CPluginManager::PLUGIN_LIST::const_iterator>(m_listPlugin.GetItemData(pNMListView->iItem));
- const CPlugin::CInfo& info = it->GetInfo();
- infoString = info.m_name + _T("\r\n") +
- info.m_version + _T("\r\n") +
- info.m_copyright + _T("\r\n\r\n") +
- info.m_comments.c_str();
を
+ CPlugin::CInfo *it = reinterpret_cast<CPlugin::CInfo*>(m_listPlugin.GetItemData(pNMListView->iItem));
+ infoString = it->m_name + _T("\r\n") +
+ it->m_version + _T("\r\n") +
+ it->m_copyright + _T("\r\n\r\n") +
+ it->m_comments.c_str();
に変更することで、その場しのぎが出来ると思います。
私の方からも、誰か分かる方教えて下さい。
Reply to
#25715
Reply to #25718
×
Subjekt
Körper
Reply To Message #25718 > VC.NETは2005でしょうか? > > ちょっと調べてみたんですが、 > こんな感じにかな?と思ってやってみたんですが、 > どうもおかしいみたいです。 > CPluginManager::PLUGIN_LIST::const_iterator *it = reinterpret_cast<CPluginManager::PLUGIN_LIST::const_iterator*>(m_listPlugin.GetItemData(pNMListView->iItem)); > CPlugin::CInfo info = (*it)->GetInfo(); > > とりあえず、無理やり > BOOL CPluginListDialog::OnInitDialog() のなかの > - m_listPlugin.SetItemData(nIndex, reinterpret_cast<DWORD>(&it)); > を > + m_listPlugin.SetItemData(nIndex, reinterpret_cast<DWORD>(&info)); > に変更して > > void CPluginListDialog::OnItemChanged(NMHDR* pNMHDR, LRESULT* pResult) のなかの > - CPluginManager::PLUGIN_LIST::const_iterator it; > - it = reinterpret_cast<CPluginManager::PLUGIN_LIST::const_iterator>(m_listPlugin.GetItemData(pNMListView->iItem)); > - const CPlugin::CInfo& info = it->GetInfo(); > - infoString = info.m_name + _T("\r\n") + > - info.m_version + _T("\r\n") + > - info.m_copyright + _T("\r\n\r\n") + > - info.m_comments.c_str(); > を > + CPlugin::CInfo *it = reinterpret_cast<CPlugin::CInfo*>(m_listPlugin.GetItemData(pNMListView->iItem)); > + infoString = it->m_name + _T("\r\n") + > + it->m_version + _T("\r\n") + > + it->m_copyright + _T("\r\n\r\n") + > + it->m_comments.c_str(); > に変更することで、その場しのぎが出来ると思います。 > > 私の方からも、誰か分かる方教えて下さい。
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Anmelden
Nickname
Vorschau
Eintrag
Abbrechen
RE: コンパイル ビルド2 (2006-11-02 11:42 by
Anonym
#25733)
Antworten
Ticket erstellen
解答,ありがとうございます.
無事,コンパイルとおりました.
ちなみにVC.NETは2003です.
Reply to
#25715
Reply to #25733
×
Subjekt
Körper
Reply To Message #25733 > 解答,ありがとうございます. > 無事,コンパイルとおりました. > > ちなみにVC.NETは2003です.
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Anmelden
Nickname
Vorschau
Eintrag
Abbrechen
RE: コンパイル ビルド2 (2008-03-12 19:39 by
maimi09
#35533)
Antworten
Ticket erstellen
環境はVC.NET2005Expです。
http://lists.sourceforge.jp/pipermail/pochy-user/2006-February/000361.html
の投稿から、あまり進捗していないのですが・・・・
本日チェックアウトしたソースで、moogvさん上述の変更を加えると
d:\projects\pochy\main\summaryview.cpp(89) : error C4867: 'CSummaryView::MeasureItem': 関数呼び出しには引数リストがありません。メンバへのポインタを作成するために '&CSummaryView::MeasureItem' を使用してください
なんていうエラーが、でてくるような・・・
Reply to
#25715
Reply to #35533
×
Subjekt
Körper
Reply To Message #35533 > 環境はVC.NET2005Expです。 > > http://lists.sourceforge.jp/pipermail/pochy-user/2006-February/000361.html > の投稿から、あまり進捗していないのですが・・・・ > > 本日チェックアウトしたソースで、moogvさん上述の変更を加えると > > d:\projects\pochy\main\summaryview.cpp(89) : error C4867: 'CSummaryView::MeasureItem': 関数呼び出しには引数リストがありません。メンバへのポインタを作成するために '&CSummaryView::MeasureItem' を使用してください > > なんていうエラーが、でてくるような・・・
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Anmelden
Nickname
Vorschau
Eintrag
Abbrechen
RE: コンパイル ビルド2 (2008-03-16 00:02 by
moogv
#35579)
Antworten
Ticket erstellen
2005 Proでは正常にビルドできました。
ExpってMFC入っていましたっけ?
もし、MFCを使えるようにされているのでしたら
別スレッドで、改行コードを整理しましたので
もう一度、更新してみてビルドしてみてください。
Reply to
#35533
Reply to #35579
×
Subjekt
Körper
Reply To Message #35579 > 2005 Proでは正常にビルドできました。 > > ExpってMFC入っていましたっけ? > もし、MFCを使えるようにされているのでしたら > > 別スレッドで、改行コードを整理しましたので > もう一度、更新してみてビルドしてみてください。 >
You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.)
Anmelden
Nickname
Vorschau
Eintrag
Abbrechen