help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Octave/Windows compiled with VS2008 available. I have problem to use oct


From: Mehmet Ata BODUR
Subject: Octave/Windows compiled with VS2008 available. I have problem to use octave libraries with Visual studio
Date: Thu, 9 Oct 2008 16:01:21 +0300

Dear Michael

I tried to use the dll's and libs from my Visual Studio 2008 but I couldn't succeed. I am just trying to run the below code. It is giving me errors for some dll functions not found. What may be the problem.

Any help will be appreciated.

Thanks in advance.

Best regards.

//MyCpp:
#include "stdafx.h"


int _tmain(int argc, _TCHAR* argv[])

{
    Matrix A (2,2,0);
   
    std::cout<<A<<std::endl;
    return 0;
}


//stdafx.h
#pragma once

#include "targetver.h"

#include <conio.h>


#include <stdio.h>
#include <tchar.h>



#include <iostream>
#include <fstream>   
#include <sstream>
#include <stdlib.h>
#include <ios>
#include <iomanip>
#include <string>

#include <math.h>
#include <numeric>
#include <float.h>
#include <iterator>


// TODO: reference additional headers your program requires here

#include <config.h>
#include <octave.h>
#include <oct.h>


Linking...
OctaveDenVC.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall symbol_record::~symbol_record(void)" (__imp_??1symbol_record@@address@hidden) referenced in function "public: void * __thiscall symbol_record::`vector deleting destructor'(unsigned int)" (??_Esymbol_record@@address@hidden)
stdafx.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall symbol_record::~symbol_record(void)" (__imp_??1symbol_record@@address@hidden)
OctaveDenVC.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall Matrix::~Matrix(void)" (__imp_??1Matrix@@address@hidden) referenced in function _main
OctaveDenVC.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall Matrix::Matrix(int,int,double)" (__imp_??0Matrix@@address@hidden@Z) referenced in function _main
OctaveDenVC.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl octave_value::operator delete(void *,unsigned int)" (__imp_??3octave_value@@address@hidden) referenced in function "public: void * __thiscall octave_value::`vector deleting destructor'(unsigned int)" (??_Eoctave_value@@address@hidden)
stdafx.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static void __cdecl octave_value::operator delete(void *,unsigned int)" (__imp_??3octave_value@@address@hidden)
OctaveDenVC.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall octave_value::~octave_value(void)" (__imp_??1octave_value@@address@hidden) referenced in function "public: void * __thiscall octave_value::`vector deleting destructor'(unsigned int)" (??_Eoctave_value@@address@hidden)
stdafx.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall octave_value::~octave_value(void)" (__imp_??1octave_value@@address@hidden)
E:\OctaveDenVC\Debug\OctaveDenVC.exe : fatal error LNK1120: 5 unresolved externals
Build log was saved at "file://e:\OctaveDenVC\Debug\BuildLog.htm"
OctaveDenVC - 9 error(s), 48 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========




Hi all,

Just a short notice to let you know I uploaded on SF.net a version
of octave-3.0.1 compiled with Visual Studio 2008. Future releases
will only be compiled with that compiler.

This package is functionally equivalent to the other package (that
was compiled with VS2005). The main differences are:
- inclusion of additional packages (ftp, database, video and ann)
- ATLAS-3.8.1 with SSE3 support:
* SSE2-only processors should use the generic F77 libs
* SSE3 detection in the installer does not work well yet, so
if you know your CPU has SSE3, select the right libs in the
installer
- additional exported symbols for the tree walker (basically all
the tree_xxx classes are now exported)
- some fancy graphics in the installer (just for fun...)

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]