Re: [eigen] Function 'assert' unknown |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
It would be more enlightening to see the compiler errors output by MSVC...
Since it works in release mode, we already know that <cassert> exists.
One quick idea: could it be a linker error where it complains that it can't
resolve the reference to the helper function printing the assert message...
Cheers,
Benoit
On Monday 22 September 2008 22:33:45 Matthias Pospiech wrote:
> I tried in release mode and that works, in debug however not.
>
> Maybe someone can understand from this comandline if there is a
> difference in the compilation that causes this problem:
>
> Debug: (does not work)
> /O2 /Ob2 /Ot /I
> "M:\IQO\Daten\Dev\SVN\abcd\LaserDesignStudio\LaserDesign\\include" /I
> "C:\Programme\Qt\msvc\4.4.1\include" /I
> "C:\Programme\Qt\msvc\4.4.1\include\Qt" /I
> "C:\Programme\Qt\msvc\4.4.1\include\QtCore" /I
> "C:\Programme\Qt\msvc\4.4.1\include\QtGui" /I
> "C:\Programme\Qt\msvc\4.4.1\include\phonon" /I
> "C:\Programme\Qt\msvc\4.4.1\include\QtOpenGL" /I
> "M:\IQO\Daten\Dev\SVN\abcd\LaserDesignStudio\LaserDesign\\src" /I
> "M:\IQO\Daten\Dev\SVN\abcd\LaserDesignStudio\LaserDesign\\ui" /I
> "include\qextserialport" /I "include\boost" /I "include\fftw" /I
> "include\qwt" /I "nclude\matthias\GPIB" /I "include\matthias\PI" /I
> "nclude\matthias\PiezoJena" /I "include\matthias\Math" /I
> "include\matthias\qwtplot" /I "include\matthias\Common" /I
> "include\matthias\SMX" /I "include\matthias\qtwidgets" /I
> "include\eigen" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D
> "QT_LARGEFILE_SUPPORT" /D "QT_DLL" /D "QT_THREAD_SUPPORT" /D "QWT_DLL"
> /D "NOMINMAX" /D "QT" /D "_CRT_SECURE_NO_WARNINGS" /D "_MBCS" /Gm /EHsc
> /MDd
> /Fo"M:\IQO\Daten\Dev\SVN\abcd\LaserDesignStudio\LaserDesign\Build\LaserDesi
>gn\Debug\\"
> /Fd"M:\IQO\Daten\Dev\SVN\abcd\LaserDesignStudio\LaserDesign\Build\LaserDesi
>gn\Debug\vc80.pdb" /W3 /nologo /c /Zi /TP /errorReport:prompt
>
> Release (does work)
> /O2 /Ob2 /Ot /I
> "M:\IQO\Daten\Dev\SVN\abcd\LaserDesignStudio\LaserDesign\\include" /I
> "C:\Programme\Qt\msvc\4.4.1\include" /I
> "C:\Programme\Qt\msvc\4.4.1\include\Qt" /I
> "C:\Programme\Qt\msvc\4.4.1\include\QtCore" /I
> "C:\Programme\Qt\msvc\4.4.1\include\QtGui" /I
> "C:\Programme\Qt\msvc\4.4.1\include\phonon" /I
> "C:\Programme\Qt\msvc\4.4.1\include\QtOpenGL" /I
> "M:\IQO\Daten\Dev\SVN\abcd\LaserDesignStudio\LaserDesign\\src" /I
> "M:\IQO\Daten\Dev\SVN\abcd\LaserDesignStudio\LaserDesign\\ui" /I
> "include\qextserialport" /I "include\boost" /I "include\fftw" /I
> "include\qwt" /I "nclude\matthias\GPIB" /I "include\matthias\PI" /I
> "nclude\matthias\PiezoJena" /I "include\matthias\Math" /I
> "include\matthias\qwtplot" /I "include\matthias\Common" /I
> "include\matthias\SMX" /I "include\matthias\qtwidgets" /I
> "include\eigen" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D
> "QT_LARGEFILE_SUPPORT" /D "QT_NO_DEBUG" /D "QT_THREAD_SUPPORT" /D
> "QWT_DLL" /D "NOMINMAX" /D "QT" /D "_CRT_SECURE_NO_WARNINGS" /D "_MBCS"
> /FD /EHsc /MD
> /Fo"M:\IQO\Daten\Dev\SVN\abcd\LaserDesignStudio\LaserDesign\Build\LaserDesi
>gn\Release\\"
> /Fd"M:\IQO\Daten\Dev\SVN\abcd\LaserDesignStudio\LaserDesign\Build\LaserDesi
>gn\Release\vc80.pdb" /W3 /nologo /c /Zi /TP /errorReport:prompt
>
> Matthias