+- +-
Say hello if visiting :) by Gecko
11 Jan 2023, 07:43:05 pm

Seti is down again by Mike
09 Aug 2017, 10:02:44 am

Some considerations regarding OpenCL MultiBeam app tuning from algorithm view by Raistmer
11 Dec 2016, 06:30:56 am

Loading APU to the limit: performance considerations by Mike
05 Nov 2016, 06:49:26 am

Better sleep on Windows - new round by Raistmer
26 Aug 2016, 02:02:31 pm

Author Topic: optimized sources  (Read 548942 times)

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #375 on: 13 Sep 2008, 04:05:21 pm »
Hi  Joe, Jason and Raistmer,
today I added some links to our testproject,  all simple small text files.
regards


Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #376 on: 13 Sep 2008, 04:17:54 pm »
LoL, multiboot nightmares  ;D, reminds me of some guy installing Linux at school, he didn't follow directions properly and wiped all the other classes partitions (x8) ... he was made to reinstall all of them. 

I'm lazy so I only use VMs for Vista32 & 2 linux distros (just learning).  Curious, I would've thought if you had fedora installed before you'd be using grub for the boot menu.  I hope you can iron out these issues before Santa brings us all 16 thread Nehalems for Christmas, so we can use this thread to find out how to cope with the OS & driver issues. (well it's on my letter to Santa, but he never seems to read them and brings socks & t-shirts instead).

Jason

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #377 on: 13 Sep 2008, 05:23:21 pm »
Meanwhile there are several driver updates for D5400XS available...  :o
Time to setup again...

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #378 on: 13 Sep 2008, 08:41:14 pm »
Get my NT4-Server Domain-Controller running as VM.  ;D

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #379 on: 26 Oct 2008, 09:02:49 am »
To resolve the problem which I had have with the Acronis OS-Selector, I tried to uninstall the "Acronis Disk Director" completely. After this the OS Vista did not start anymore, some files are missing when the system starts up in its initial phase.
Looks like the deinstallation of "Acronis Disk Director" killed them.
After this I tried a repair of Vista from the install DVD, but this had no sucess also. Then I wrote back track 0 record 0, but the same, Vista did not start anymore.
Last chance before reinstall:
I wrote back the whole partition which resides Vista from a backup of september. This starts Vista again.
After several updates the system is now actual.
The problems wit the OS-Selector are not solved, support requests are still open.
My installed XP Professional is not booting now......OS-Selector is not functional anymore...

Jason, you are right...mutiboot nightmares  ;D   :'( :'(

heinz

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #380 on: 28 Oct 2008, 06:49:46 pm »
Multiboot is now repaired again and working.
Next step: testing developer environment under Vista64

heinz

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #381 on: 29 Oct 2008, 10:19:58 pm »
Installed VS2008 Express and setup the necessary environment to compile a project.
The INTel stuff ( IPP_5.2beta, MKL ) I copied from the XP-machine, set the environment and it works.(IPP_5.3 is now available, I know.)
Wounder why VS2008  did not find ml for masm. It is not included, so I must install the old masm32 V10.
MASM 8.0 requires VS2005 Express and does not support Vista, still XP.   uuuh  ::)

Now I download and install VS2005 Express parallel to VS2008.
VS2010 is availabel as CTP next.
Looking around for VS2008 Professional now.
heinz

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #382 on: 30 Oct 2008, 06:24:25 am »
Get the stackwalker problem under Vista with SDK and the problem with GL/glaux.h
remembered me to the Windows SDK patch
and google PSYM_ENUMMODULES_CALLBACK64 can help too
dont forget it if you new install.  ::)
 
heinz

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #383 on: 30 Oct 2008, 10:11:40 am »
To test the installation I compiled the old seti_boinc_2k3_2.2B-Ben-Joe and get a linker error:
1>------ Erstellen gestartet: Projekt: seti_boinc, Konfiguration: Release32-NOGFX Win32 ------
1>Verknüpfen...
1>Microsoft (R) Incremental Linker Version 9.00.21022.08
1>Copyright (C) Microsoft Corporation.  All rights reserved.
1>"/OUT:C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX\seti_boinc.exe" "/LIBPATH:C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\Optimizer\Release32-NOGFX" "/LIBPATH:C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX" "/LIBPATH:C:\I\INTEL\IPP\5.2_beta\ia32\lib" "/LIBPATH:C:\I\INTEL\MKL\9.0\ia32\lib" "/LIBPATH:C:\I\VS9\VC\lib" "/LIBPATH:C:\masm32\lib" "/LIBPATH:C:\masm32\m32lib" "/LIBPATH:C:\I\SDK\Lib" "/LIBPATH:C:\I\SDK\Lib\IA64" "/LIBPATH:C:\I\SDK\Lib\AMD64" "/LIBPATH:C:\Programme\Intel\Compiler\C++\10.0.025\IA32\lib" /MANIFEST:NO /DEBUG "/PDB:C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX\seti_boinc.pdb" /MAP /SUBSYSTEM:WINDOWS /DYNAMICBASE:NO /MACHINE:X86 glut32.lib Optimizer.lib image_libs.lib jpeglib.lib libboinc.lib libboincapi.lib non_ICC.lib setiboincdb.lib ippsmerged.lib ippvmmerged.lib ippchmerged.lib ippcorel.lib delayimp.lib libcpmtd.lib WinMM.lib OpenGL32.lib Kernel32.Lib oldnames.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
1>".\Release32-NOGFX\analyzeFuncs.obj"
1>".\Release32-NOGFX\analyzePoT.obj"
1>".\Release32-NOGFX\analyzeReport.obj"
1>".\Release32-NOGFX\app_ipc.obj"
1>".\Release32-NOGFX\boinc_api.obj"
1>".\Release32-NOGFX\chirpfft.obj"
1>".\Release32-NOGFX\fft8g.obj"
1>".\Release32-NOGFX\filesys.obj"
1>".\Release32-NOGFX\gaussfit.obj"
1>".\Release32-NOGFX\gdata.obj"
1>".\Release32-NOGFX\graphics_api.obj"
1>".\Release32-NOGFX\graphics_data.obj"
1>".\Release32-NOGFX\gutil.obj"
1>".\Release32-NOGFX\lcgamm.obj"
1>".\Release32-NOGFX\main.obj"
1>".\Release32-NOGFX\malloc_a.obj"
1>".\Release32-NOGFX\parse.obj"
1>".\Release32-NOGFX\progress.obj"
1>".\Release32-NOGFX\pulsefind.obj"
1>".\Release32-NOGFX\s_util.obj"
1>".\Release32-NOGFX\sah_gfx.obj"
1>".\Release32-NOGFX\sah_gfx_base.obj"
1>".\Release32-NOGFX\schema_master.obj"
1>".\Release32-NOGFX\seti.obj"
1>".\Release32-NOGFX\seti_header.obj"
1>".\Release32-NOGFX\shmem.obj"
1>".\Release32-NOGFX\spike.obj"
1>".\Release32-NOGFX\sqlblob.obj"
1>".\Release32-NOGFX\sqlrow.obj"
1>".\Release32-NOGFX\tgalib.obj"
1>".\Release32-NOGFX\timecvt.obj"
1>".\Release32-NOGFX\util.obj"
1>".\Release32-NOGFX\version.obj"
1>".\Release32-NOGFX\windows_opengl.obj"
1>".\Release32-NOGFX\worker.obj"
1>".\Release32-NOGFX\xml_util.obj"
1>libcpmtd.lib(iostream.obj) : fatal error LNK1112: Modul-Computertyp "IA64" steht in Konflikt mit dem Zielcomputertyp "X86".
1>Das Buildprotokoll wurde unter "file://c:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX\BuildLog.htm" gespeichert.
1>seti_boinc - 1 Fehler, 0 Warnung(en)
========== Erstellen: 0 erfolgreich, Fehler bei 1, 0 aktuell, 0 übersprungen ==========
*****************************************************************************
a search over libcpmtd.lib give following results:
Alle suchen "libcpmtd.lib", Unterordner, Suchergebnisse: 1, "C:\I"
  C:\I\SC\ltm_client\boinc\win_build\boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\ltm_client\boinc\win_build\cpdnbbc_boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\ltm_client\boinc\win_build\gr_boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\ltm_client\boinc\win_build\seed_boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\ltm_client\boinc\win_build\installerv2\redist\Windows\src\boinccas\boinccas.vcproj(36):            AdditionalDependencies="msi.lib libcmtd.lib libcpmtd.lib delayimp.lib netapi32.lib advapi32.lib kernel32.lib user32.lib"
  C:\I\SC\ltm_client\boinc\win_build\installerv2\redist\Windows\src\boinccas\boinccas95.vcproj(36):            AdditionalDependencies="msi.lib libcmtd.lib libcpmtd.lib delayimp.lib netapi32.lib advapi32.lib kernel32.lib user32.lib"
  C:\I\SC\ltm_client\ltm_client\win_build\upper_case.vcproj(179):            AdditionalDependencies="libcmtd.lib libcpmtd.lib kernel32.lib user32.lib gdi32.lib opengl32.lib glu32.lib glaux.lib ole32.lib delayimp.lib"
  C:\I\SC\PulTimB_5\client\pultime.vcproj(72):            AdditionalDependencies="Optimizer.lib asmlibm.lib ippsmerged.lib ippchmerged.lib ippcorel.lib delayimp.lib libcpmtd.lib WinMM.lib OpenGL32.lib Kernel32.Lib oldnames.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib $(NOINHERIT)"
  C:\I\SC\PulTimB_5\client\pultime.vcproj(160):            AdditionalDependencies="Optimizer.lib asmlibm.lib ippsmerged.lib ippchmerged.lib ippcorel.lib delayimp.lib libcpmtd.lib WinMM.lib OpenGL32.lib Kernel32.Lib oldnames.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib $(NOINHERIT)"
  C:\I\SC\PulTimB_5\client\Debug\BuildLog.htm(15):/OUT:"Debug\pultime.exe" /INCREMENTAL /LIBPATH:"C:\I\SC\PulTimB_5\client" /LIBPATH:"C:\I\SC\PulTimB_5\client\Debug" /LIBPATH:"C:\I\SC\PulTimB_5\Optimizer\Debug" /LIBPATH:"C:\I\SC\PulTimB_5\Optimizer" /MANIFEST /MANIFESTFILE:"Debug\pultime.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"c:\I\SC\PulTimB_5\client\Debug\pultime.pdb" /SUBSYSTEM:CONSOLE /DYNAMICBASE:NO /MACHINE:X86 Optimizer.lib asmlibm.lib ippsmerged.lib ippchmerged.lib ippcorel.lib delayimp.lib libcpmtd.lib WinMM.lib OpenGL32.lib Kernel32.Lib oldnames.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
  C:\I\SC\PulTimB_5\client\Release\BuildLog.htm(34):/OUT:"Release\pultime.exe" /LIBPATH:"C:\I\SC\PulTimB_5\Optimizer\Release" /LIBPATH:"C:\I\SC\PulTimB_5\Optimizer" /LIBPATH:"C:\I\SC\PulTimB_5\client\release" /LIBPATH:"C:\I\VS9\VC\lib" /LIBPATH:"C:\I\INTEL\IPP\5.2_beta\ia32\lib" /LIBPATH:"C:\I\INTEL\MKL\9.0\ia32\lib" /LIBPATH:"C:\masm32\lib" /LIBPATH:"C:\I\SDK\Lib" /LIBPATH:"C:\masm32\m32lib" /LIBPATH:"C:\I\SDK\Lib\IA64" /LIBPATH:"C:\I\SDK\Lib\AMD64" /MANIFEST /MANIFESTFILE:"Release\pultime.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG /PDB:"c:\I\SC\PulTimB_5\client\release\pultime.pdb" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /DYNAMICBASE:NO /MACHINE:X86 /LTCG Optimizer.lib asmlibm.lib ippsmerged.lib ippchmerged.lib ippcorel.lib delayimp.lib libcpmtd.lib WinMM.lib OpenGL32.lib Kernel32.Lib oldnames.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
  C:\I\SC\seti\boinc\win_build\boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\seti\boinc\win_build\cpdnbbc_boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\seti\boinc\win_build\gr_boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\seti\boinc\win_build\seed_boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\seti\boinc\win_build\installerv2\redist\Windows\src\boinccas\boinccas.vcproj(36):            AdditionalDependencies="msi.lib libcmtd.lib libcpmtd.lib delayimp.lib netapi32.lib advapi32.lib kernel32.lib user32.lib"
  C:\I\SC\seti\boinc\win_build\installerv2\redist\Windows\src\boinccas\boinccas95.vcproj(36):            AdditionalDependencies="msi.lib libcmtd.lib libcpmtd.lib delayimp.lib netapi32.lib advapi32.lib kernel32.lib user32.lib"
  C:\I\SC\vs90\boinc\win_build\boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\vs90\boinc\win_build\cpdnbbc_boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\vs90\boinc\win_build\gr_boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\vs90\boinc\win_build\seed_boinc_ss.vcproj(46):            AdditionalDependencies="libcmtd.lib libcpmtd.lib wsock32.lib wininet.lib winmm.lib kernel32.lib user32.lib gdi32.lib advapi32.lib"
  C:\I\SC\vs90\boinc\win_build\installerv2\redist\Windows\src\boinccas\boinccas.vcproj(36):            AdditionalDependencies="msi.lib libcmtd.lib libcpmtd.lib delayimp.lib netapi32.lib advapi32.lib kernel32.lib user32.lib"
  C:\I\SC\vs90\boinc\win_build\installerv2\redist\Windows\src\boinccas\boinccas95.vcproj(36):            AdditionalDependencies="msi.lib libcmtd.lib libcpmtd.lib delayimp.lib netapi32.lib advapi32.lib kernel32.lib user32.lib"
  C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\seti_boinc.vcproj(91):            AdditionalDependencies="glut32.lib Optimizer.lib image_libs.lib jpeglib.lib libboinc.lib libboincapi.lib non_ICC.lib setiboincdb.lib ippsmerged.lib ippvmmerged.lib ippchmerged.lib ippcorel.lib delayimp.lib libcpmtd.lib WinMM.lib OpenGL32.lib Kernel32.Lib oldnames.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib $(NOINHERIT)"
  C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX\BuildLog.htm(13):/OUT:"C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX\seti_boinc.exe" /LIBPATH:"C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\Optimizer\Release32-NOGFX" /LIBPATH:"C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX" /LIBPATH:"C:\I\INTEL\IPP\5.2_beta\ia32\lib" /LIBPATH:"C:\I\INTEL\MKL\9.0\ia32\lib" /LIBPATH:"C:\I\VS9\VC\lib" /LIBPATH:"C:\masm32\lib" /LIBPATH:"C:\masm32\m32lib" /LIBPATH:"C:\I\SDK\Lib" /LIBPATH:"C:\I\SDK\Lib\IA64" /LIBPATH:"C:\I\SDK\Lib\AMD64" /LIBPATH:"C:\Programme\Intel\Compiler\C++\10.0.025\IA32\lib" /MANIFEST:NO /DEBUG /PDB:"C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX\seti_boinc.pdb" /MAP /SUBSYSTEM:WINDOWS /DYNAMICBASE:NO /MACHINE:X86 glut32.lib Optimizer.lib image_libs.lib jpeglib.lib libboinc.lib libboincapi.lib non_ICC.lib setiboincdb.lib ippsmerged.lib ippvmmerged.lib ippchmerged.lib ippcorel.lib delayimp.lib libcpmtd.lib WinMM.lib OpenGL32.lib Kernel32.Lib oldnames.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
  C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX\BuildLog.htm(90):"/OUT:C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX\seti_boinc.exe" "/LIBPATH:C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\Optimizer\Release32-NOGFX" "/LIBPATH:C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX" "/LIBPATH:C:\I\INTEL\IPP\5.2_beta\ia32\lib" "/LIBPATH:C:\I\INTEL\MKL\9.0\ia32\lib" "/LIBPATH:C:\I\VS9\VC\lib" "/LIBPATH:C:\masm32\lib" "/LIBPATH:C:\masm32\m32lib" "/LIBPATH:C:\I\SDK\Lib" "/LIBPATH:C:\I\SDK\Lib\IA64" "/LIBPATH:C:\I\SDK\Lib\AMD64" "/LIBPATH:C:\Programme\Intel\Compiler\C++\10.0.025\IA32\lib" /MANIFEST:NO /DEBUG "/PDB:C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX\seti_boinc.pdb" /MAP /SUBSYSTEM:WINDOWS /DYNAMICBASE:NO /MACHINE:X86 glut32.lib Optimizer.lib image_libs.lib jpeglib.lib libboinc.lib libboincapi.lib non_ICC.lib setiboincdb.lib ippsmerged.lib ippvmmerged.lib ippchmerged.lib ippcorel.lib delayimp.lib libcpmtd.lib WinMM.lib OpenGL32.lib Kernel32.Lib oldnames.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
  C:\I\SC\vs90\seti_boinc_2k3_2.2B-Ben-Joe\client\win_build\Release32-NOGFX\BuildLog.htm(127):libcpmtd.lib(iostream.obj) : fatal error LNK1112: Modul-Computertyp "IA64" steht in Konflikt mit dem Zielcomputertyp "X86".
  C:\I\VS8\Microsoft Visual C++ 2005 Express Edition - DEU\Logs\VSMsiLog19E2.txt(4464):MSI (s) (38:D0) [14:36:37:328]: Executing op: ComponentRegister(ComponentId={2C4024A5-B667-44DD-BD4A-54FCA48E8907},KeyPath=C:\I\VS8\VC\lib\libcpmtd.lib,State=3,,Disk=1,SharedDllRefCount=0,BinaryType=0)
  C:\I\VS8\Microsoft Visual C++ 2005 Express Edition - DEU\Logs\VSMsiLog19E2.txt(8156):MSI (s) (38:D0) [14:36:45:390]: Executing op: FileCopy(SourceName=libcpmtd.lib|libcpmtd.lib,SourceCabKey=FL_libcpmtd_lib_____X86.3643236F_FC70_11D3_A536_0090278A1BB8,DestName=libcpmtd.lib,Attributes=0,FileSize=6703474,PerTick=32768,,VerifyMedia=1,,,,,CheckCRC=0,,,InstallMode=58982400,HashOptions=0,HashPart1=-1378151864,HashPart2=-640444595,HashPart3=-1526918150,HashPart4=1542994153,,)
  C:\I\VS8\Microsoft Visual C++ 2005 Express Edition - DEU\Logs\VSMsiLog19E2.txt(8157):MSI (s) (38:D0) [14:36:45:390]: File: C:\I\VS8\VC\lib\libcpmtd.lib;   To be installed;   Won't patch;   No existing file
  C:\I\VS8\Microsoft Visual C++ 2005 Express Edition - DEU\Logs\VSMsiLog19E2.txt(8159):MSI (s) (38:D0) [14:36:45:390]: Note: 1: 2318 2: C:\I\VS8\VC\lib\libcpmtd.lib
  Übereinstimmende Zeilen: 31    Übereinstimmende Dateien: 25    Insgesamt durchsuchte Dateien: 28802


Any idea ? Looks like I must install VS8 and SDK2003 new under Vista64 and not use a XP_32 copy....

heinz

Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #384 on: 30 Oct 2008, 12:22:09 pm »
Heinz, 2.2 is too old. Though I can't read the German errors I would avoid older versions (that old) like the plague because of Boincapi, compiler, and target platform changes. please consider starting with AK_v8 build as we tried to make it much easier.  simply changing the ICC & IPP directories (in the project includes and linker linraiy paths) should allow you to build against our boincapi. If you need some help let me know, as I am coming to some heavy multithreaded opportuntities and would like you to be up to speed for some collaboration.

Jason

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #385 on: 30 Oct 2008, 02:08:30 pm »
Heinz, 2.2 is too old. Though I can't read the German errors I would avoid older versions (that old) like the plague because of Boincapi, compiler, and target platform changes. please consider starting with AK_v8 build as we tried to make it much easier.  simply changing the ICC & IPP directories (in the project includes and linker linraiy paths) should allow you to build against our boincapi. If you need some help let me know, as I am coming to some heavy multithreaded opportuntities and would like you to be up to speed for some collaboration.

Jason

on my old xp-machine this older version 2.2 compiles complete without error. So I thought it is a good complete test.
The problem is perhaps the following: OS is Vista64, compile  a program as 32 bit program
libcpmtd.lib(iostream.obj) : fatal error LNK1112: Modul-Computertyp "IA64" is in conflict with goal-computertyp "X86".
--------------------------------------------------------------
In the SDK Realease notes we found:
Visual C++® Search Paths and Registering Environment Variables
Selecting to Register Environment Variables places the Platform SDK bin, include, and library directories at the beginning of the search paths used when building programs in the Visual Studio IDE.

Note To target a specific version of Windows, you must still define the _WIN32_WINNT, _WIN32_IE, and _WIN32_WINDOWS macros as appropriate.

To register the SDK bin, include, and library directories with Microsoft Visual Studio® version 6.0 and Visual Studio .NET, click Start, point to All Programs, point to Microsoft Platform SDK for Windows Server 2003 SP1, point to Visual Studio Registration, and then click Register PSDK Directories with Visual Studio. This registration process places the SDK bin, include, and library directories at the beginning of the search paths, which ensures that the latest headers and libraries are used when building applications in the IDE.

Note that for Visual Studio 6.0 integration to succeed, Visual Studio 6.0 must run at least once before you select Register PSDK Directories with Visual Studio. Also note that when this option is run, the IDEs should not be running.

To develop a 32-bit C/C++ application on 64-bit Windows, do not register environment variables when you install Visual C++ 6.0. Instead, open a command window and run Vcvars32.bat (from the Visual C++ \bin folder), followed by Setenv.bat (from the SDK bin folder), specifying the appropriate switches (such as /SVR32 /2000 /XP32).
Maybe this is the problem
did you remember todo so Jason?

some other projects(arprec) I tried did not have this problem... will try some others now too

with akv8 I believe I must use IPP5.3,  have still 5.2beta.
there is still something to install (ITBB and latest IPP)
some closer collaboration would I like  ;D

heinz



« Last Edit: 30 Oct 2008, 02:45:04 pm by _heinz »

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #386 on: 30 Oct 2008, 03:15:56 pm »
Looked up for the link error and found:
Linker Tools Error LNK1112
The object files specified as input were compiled for different computer types.
libcpmtd.lib(iostream.obj) : fatal error LNK1112: Modul-Computertyp "IA64" is compiled for IA64, but should for x86
hmm.....
look as a error in the environment... ?
----------------------------------------------------
The Platform SDK 64-bit build tools use a version of CRT that still has support for the older style iostream.h, (iostream.h is no longer supported in Visual Studio 2003.  Visual Studio 2003 supports iostream instead.) As a consequence of this, there are some samples in the PSDK, using iostream.h that build for 64-bit Windows platforms, but not for 32-bit platforms.

looks like using old iostream headers here
maybe this is the error ?

heinz
« Last Edit: 30 Oct 2008, 03:26:57 pm by _heinz »

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #387 on: 30 Oct 2008, 06:51:15 pm »
set the environment
but no possibility to do this for Vista64, not in script...
REM "Usage:    Setenv [/2000 | XP32 | /XP64 | /SRV32 | /SRV64 | /X64] [/DEBUG | /RETAIL]"
REM
REM                  /2000   - target Windows 2000 and IE 5.0
REM                  /XP32   - target Windows XP 32 (default)
REM                  /XP64   - target Windows XP 64
REM                  /SRV32  - target Windows Server 2003 32 bit
REM                  /SRV64  - target Windows Server 2003 64 bit
REM                  /X64    - target Windows for the X64 bit platform
REM                  /DEBUG  - set the environment to DEBUG
REM                  /RETAIL - set the environment to RETAIL

-----------------------------------------------------------------------------------

C:\I\SDK>SetEnv /X64
Targeting Windows Server 2003 X64 DEBUG


C:\I\SDK>SetEnv /SRV64
Targeting Windows Server 2003 IA64-bit DEBUG
---------------------------------------------------------------------------------
there is vcvarsall.bat -->
@echo off
if "%1" == "" goto x86
if not "%2" == "" goto usage

if /i %1 == x86       goto x86
if /i %1 == amd64     goto amd64
if /i %1 == x64       goto amd64
if /i %1 == ia64      goto ia64
if /i %1 == x86_amd64 goto x86_amd64
if /i %1 == x86_ia64  goto x86_ia64
goto usage

:x86
if not exist "%~dp0bin\vcvars32.bat" goto missing
call "%~dp0bin\vcvars32.bat"
goto :eof

:amd64
if not exist "%~dp0bin\amd64\vcvarsamd64.bat" goto missing
call "%~dp0bin\amd64\vcvarsamd64.bat"
goto :eof

:ia64
if not exist "%~dp0bin\ia64\vcvarsia64.bat" goto missing
call "%~dp0bin\ia64\vcvarsia64.bat"
goto :eof

:x86_amd64
if not exist "%~dp0bin\x86_amd64\vcvarsx86_amd64.bat" goto missing
call "%~dp0bin\x86_amd64\vcvarsx86_amd64.bat"
goto :eof

:x86_ia64
if not exist "%~dp0bin\x86_ia64\vcvarsx86_ia64.bat" goto missing
call "%~dp0bin\x86_ia64\vcvarsx86_ia64.bat"
goto :eof

:usage
echo Error in script usage. The correct usage is:
echo     %0 [option]
echo where [option] is: x86 ^| ia64 ^| amd64 ^| x86_amd64 ^| x86_ia64
echo:
echo For example:
echo     %0 x86_ia64
goto :eof

:missing
echo The specified configuration type is missing.  The tools for the
echo configuration might not be installed.
goto :eof

-----------------------------------------------------------------
and now call vcvarsall.bat

C:\Program Files (x86)\Microsoft Visual Studio 8\VC>vcvarsall.bat ia64
The specified configuration type is missing.  The tools for the
configuration might not be installed.
try then this -->
C:\Program Files (x86)\Microsoft Visual Studio 8\VC>vcvarsall.bat
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
hmmm....
we will se if it works on Vista64
the arprec project I can compile sucessful  with VS2005 Express
the old 2.2  shows the same link error as before with VS2008 Express....
tried to compile a project which has asm source and it fails with VS2008 Express...
with VS2005 Express the asm works correct.....hmmmm

any ideas ?

heinz

heinz


Offline Jason G

  • Construction Fraggle
  • Knight who says 'Ni!'
  • *****
  • Posts: 8980
Re: optimized sources
« Reply #388 on: 31 Oct 2008, 03:47:16 am »
Try this one Heinz:

Quote
REM                  /X64    - target Windows for the X64 bit platform

Offline _heinz

  • Volunteer Developer
  • Knight who says 'Ni!'
  • *****
  • Posts: 2117
Re: optimized sources
« Reply #389 on: 31 Oct 2008, 08:34:15 pm »
Had have a look at the system variables of Vista64 and wounder what I found there:

NUMBER_OF_PROCESSORS 8
PROCESSOR_ARCHITECTURE AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 23 Stepping 6, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 1706
----------------------------------------------------------------------------
If I look at the package of the Processor E5405 we see:
Quad-Core
Intel Xeon Processor 5400 Series
QUOAD-CORE SERVER
Intel Core Microarchitecture
Support for Two-Socket Systems
Intel 64 Architecture
Intel Virtualization Technology
--------------------------------------------------
and Everst shows:
Computertyp   ACPI x64-basierter PC
Betriebssystem   Microsoft Windows Vista Ultimate
.....
Motherboard   
CPU Typ   2x QuadCore Intel Xeon E5405, 2400 MHz (6 x 400)
Motherboard Name   Intel Skulltrail D5400XS  (2 PCI, 4 PCI-E x16, 4 FB-DIMM, Audio, Gigabit LAN)
Motherboard Chipsatz   Intel Seaburg 5400B
Arbeitsspeicher   [ TRIAL VERSION ]
Channel0-DIMM1: Kingston   4 GB DDR2-800 ECC DDR2 SDRAM FB-DIMM  (4-4-4-15 @ 320 MHz)  (5-5-5-18 @ 400 MHz)
Channel1-DIMM1: Kingston   4 GB DDR2-800 ECC DDR2 SDRAM FB-DIMM  (4-4-4-15 @ 320 MHz)  (5-5-5-18 @ 400 MHz)
BIOS Typ   Intel (08/25/08)
---------------------------------------------
I cant believe it, Vista 64 shows PROCESSOR_ARCHITECTURE AMD64  :o

heinz

 

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?
Members
Total Members: 97
Latest: ToeBee
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 59559
Total Topics: 1672
Most Online Today: 652
Most Online Ever: 983
(20 Jan 2020, 03:17:55 pm)
Users Online
Members: 0
Guests: 630
Total: 630
Powered by EzPortal