Author Topic: Issue with MS VS 2008  (Read 6088 times)

Offline David Raphael

  • PixInsight Addict
  • ***
  • Posts: 226
    • Astrofactors CCD Cameras
Issue with MS VS 2008
« on: 2011 January 11 20:27:17 »
I'm trying to build my new module...but I am running into this problem:

Code: [Select]
1>------ Build started: Project: ImageAcquisition, Configuration: Debug Win32 ------
1>Compiling...
1>ImageAcquisitionModule.cpp
1>Linking...
1>LINK : cannot create map for .ILK file; linking nonincrementally
1>LINK : fatal error LNK1104: cannot open file 'C:\Program Files (x86)\PixInsight\bin\ImageAcquisition-pxm.dll'
1>Build log was saved at "file://c:\ImageAcquisition\windows\vc9\Win32\Debug\BuildLog.htm"
1>ImageAcquisition - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I also tried building the included project for ImageCalibration, and I got this error:

Code: [Select]
1>Linking...
1>LINK : cannot create map for .ILK file; linking nonincrementally
1>LINK : fatal error LNK1104: cannot open file 'C:\Program Files (x86)\PixInsight\bin\ImageCalibration-pxm.dll'
1>Build log was saved at "file://c:\PCL-SDK\src\modules\processes\ImageCalibration\windows\vc9\Win32\Debug\BuildLog.htm"
1>ImageCalibration - 1 error(s), 7 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Instead of chasing my tail too much...I thought maybe I missed something stupid during the makefile generation process...

Thanks!

Dave
David Raphael

Offline David Raphael

  • PixInsight Addict
  • ***
  • Posts: 226
    • Astrofactors CCD Cameras
Re: Issue with MS VS 2008
« Reply #1 on: 2011 January 11 20:49:59 »
I answered my question I think.  I had the 32-bit version installed in Program files(x86), and the linker doesn't like spaces...so I moved it to PCL32.

But now I think I failed to install 64bit support for VS 2008.  Has anyone had any luck with VS 2010 yet?
David Raphael

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: Issue with MS VS 2008
« Reply #2 on: 2011 January 11 22:00:06 »
I haven't tried building my modules yet with the latest version. In fact I installed W7 x64 on a new SSD and haven't added VS to it yet. I have some work to do :)
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: Issue with MS VS 2008
« Reply #3 on: 2011 January 12 01:35:46 »
Hi David
There is another thread here that explains how to "force" MSVC2008 Express to compile at 64bits. If you have the full VS2008 pack, it is supposed that it is already supported... but it may help you too.
http://pixinsight.com/forum/index.php?topic=1902.0

BTW, try compiling in the Release mode. Sometimes I get linker problems with the debug mode, that are gone with the release.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline David Raphael

  • PixInsight Addict
  • ***
  • Posts: 226
    • Astrofactors CCD Cameras
Re: Issue with MS VS 2008
« Reply #4 on: 2011 January 12 07:34:27 »
Thanks for the feedback guys.


I'm running VS2008 Professional.  My problem was that I haven't installed 2008 in a while, and I forgot you have to select the x64 support when you install.  You can't retroactively add it - there is a bug with the installer and Windows 7 I guess. 

So I reinstalled VS2008 Pro and made sure to enable the x64 settings.  Now I can build 32bit or 64bit.

Cheers,
Dave
David Raphael

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: Issue with MS VS 2008
« Reply #5 on: 2011 January 12 08:01:32 »
Bummer but thanks for the update.
Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity