這讓我瘋狂,我試圖構建log4cxx庫,以便在我一直使用的C++項目中使用。我在運行VS2010 express C++版本的win7主機上運行。我遵循每個log4cxx方向()的指示(包括下載apr 和apr-util並且啓動.hw文件,但不幸的是,當我嘗試加載log4cxx.dsw解決方案並將其轉換爲當前VS時,我收到一個錯誤,試圖構建apr.apr/dsw和一堆其他相關的.dsw文件。有什麼建議麼?在vs 2010中構建log4cxx C++
具體來說,我所看到的是:
The Project file 'C:\...projects\apr-util\xml\expat\lib\xml.dsp' cannot be loaded. Do you want to remove the unloadable project from the solution?
我看到了一堆其他.DSP文件。
然後在VC的輸出框:
C:\Users\x\Documents\Visual Studio 2010\Projects\apr\apr.dsp : error : Project upgrade failed.
C:\Users\x\Documents\Visual Studio 2010\Projects\apr-util\xml\expat\lib\xml.dsp : error : Project upgrade failed.
C:\Users\x\Documents\Visual Studio 2010\Projects\apr-util\aprutil.dsp : error : Project upgrade failed.
C:\Users\x\Documents\Visual Studio 2010\Projects\apache-log4cxx-0.10.0\projects\log4cxx.dsp : error : Project upgrade failed.
感謝
的文件是在正確的路徑。
那麼以後的視覺工作室比2010年呢?有沒有更簡單的路徑? –