Descargar
Desarrollar
Cuenta
Descargar
Desarrollar
Entrar
Forgot Account/Password
Crear Cuenta
Idioma
Ayuda
Idioma
Ayuda
×
Entrar
Nombre de usuario
Contraseña
×
Forgot Account/Password
Translation Status of Español
Categoría:
Software
Gente
PersonalForge
Magazine
Wiki
Buscar
OSDN
>
Buscar Software
>
Communications
>
Email
>
Email Clients (MUA)
>
pochy
>
Foros
>
Developers
>
コンパイル ビルド2
pochy
Descripción
Project Summary
Developer Dashboard
Página Web
Developers
Image Gallery
List of RSS Feeds
Activity
Statistics
Historial
Descargas
List of Releases
Stats
Código Fuente
Code Repository list
CVS
Ver Repositorio
Incidencia
Ticket List
Milestone List
Type List
Component List
List of frequently used tickets/RSS
Submit New Ticket
Documents
Communication
Foros
List of Forums
Developers (27)
Open Discussion (374)
Mailing Lists
list of ML
pochy-user
Noticias
Foros:
Developers
(Thread #12715)
Return to Thread list
RSS
コンパイル ビルド2 (2006-11-01 10:56 by
Anónimo
#25715)
Responder
Crear incidencia
初めまして.
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' : マクロが再定義されました。
Responder al #25715
×
Sujeto
Body
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.)
Entrar
Nickname
Vista previa
Post
Cancelar
RE: コンパイル ビルド2 (2006-11-01 22:01 by
moogv
#25718)
Responder
Crear incidencia
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();
に変更することで、その場しのぎが出来ると思います。
私の方からも、誰か分かる方教えて下さい。
Responder al
#25715
Responder al #25718
×
Sujeto
Body
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.)
Entrar
Nickname
Vista previa
Post
Cancelar
RE: コンパイル ビルド2 (2006-11-02 11:42 by
Anónimo
#25733)
Responder
Crear incidencia
解答,ありがとうございます.
無事,コンパイルとおりました.
ちなみにVC.NETは2003です.
Responder al
#25715
Responder al #25733
×
Sujeto
Body
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.)
Entrar
Nickname
Vista previa
Post
Cancelar
RE: コンパイル ビルド2 (2008-03-12 19:39 by
maimi09
#35533)
Responder
Crear incidencia
環境は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' を使用してください
なんていうエラーが、でてくるような・・・
Responder al
#25715
Responder al #35533
×
Sujeto
Body
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.)
Entrar
Nickname
Vista previa
Post
Cancelar
RE: コンパイル ビルド2 (2008-03-16 00:02 by
moogv
#35579)
Responder
Crear incidencia
2005 Proでは正常にビルドできました。
ExpってMFC入っていましたっけ?
もし、MFCを使えるようにされているのでしたら
別スレッドで、改行コードを整理しましたので
もう一度、更新してみてビルドしてみてください。
Responder al
#35533
Responder al #35579
×
Sujeto
Body
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.)
Entrar
Nickname
Vista previa
Post
Cancelar