Quantcast
Channel: SystemC Language Forum RSS Feed
Viewing all articles
Browse latest Browse all 595

target systemc-2.3.0 to 64-bits windows platform with Visual Studio

$
0
0
 
hi, 
   I tried to re-target the SystemC.lib to 64-bits windows system.
 
   What I did is,
   (1) Downloaded systemc-2.3.0 and extract it.
   (2) Opened the C++ project in systemc 2.3.0\....\msvc80\SystemC (within my Visual Studio 2005)
         (according to INSTALL: installation notes for Windows)
   (3) New x64 solution/project and copy project setting from Win32
         (according to http://msdn.microsoft.com/en-us/library/9yb4317s(VS.80).aspx).
   (4) Build the new library within the x64 projects.
 
   In this way I can actually get new SystemC.lib from msvc80\SystemC\x64\Release(or Debug).
 
   Unfortunately when I link this SystemC.lib with other 64bits binaries for a final 64bits EXE I got below error message:
 
   SystemC.lib(sc_time.obj) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
   So I think the systemc.lib what I built is still 32bits.
 
   I checked the content of SystemC.vcproj and see it is somehow simple.
   Anyway I just want to know if others have similar experiences. Thanks.

Viewing all articles
Browse latest Browse all 595

Trending Articles