|
|
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Can't link the project if package contains no any cpp/c files
Can't link the project if package contains no any cpp/c files [message #22354] |
Tue, 07 July 2009 17:40 |
gridem
Messages: 45 Registered: August 2008
|
Member |
|
|
For example, I downloaded Eigen library and used it as package. This package contains only header files (a lot of templates).
On non-debug version the following error appears:
----- Eigen ( MSC8 WIN32 MSC ) (1 / 2)
----- EigenValues ( MAIN MSC8 WIN32 MSC ) (2 / 2)
main.cpp
EigenValues: 1 file(s) built in (0:04.89), 4890 msecs / file, duration = 5000 msecs, parallelization 0%
Linking...
LINK : fatal error LNK1181: cannot open input file 'd:\upp\out\Eigen\MSC8.\Eigen.lib'
There were errors. (0:05.42)
The problem was disappeared when I excluded Eigen package, but it's not a good solution: Assist++ can't resolve the used package classes/functions.
The Eigen package with tests is attached.
-
Attachment: Eigen.zip
(Size: 297.85KB, Downloaded 330 times)
[Updated on: Wed, 15 July 2009 20:47] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Can't link the project if package contains no any cpp/c files [message #22859 is a reply to message #22851] |
Sun, 23 August 2009 10:20 |
|
koldo
Messages: 3394 Registered: August 2008
|
Senior Veteran |
|
|
Hello Grigory
The samples are not a big problem. I have been involved in an Eigen fork called cminpack (http://bitbucket.org/orzel/eigen2-cminpack/) that includes support to non linear sets of equations and minimization of equations. This is a good source of samples. If you want I could work on this.
I see you comfortable with Streams. I am an old C programmer so I do not feel comfortable with Streams and Templates. If you can it would be great if you work on this.
About performance, I propose you to choose a sample benchmark in Mathematica, do it in Eigen and post both in the Eigen Forum. Very probably in few time somebody will fix your sample or somebody will improve the library to get the performance. They are really good in numerical methods and are waiting this kind of challenges to demonstrate it.
Best regards
Koldo
Best regards
Iñaki
|
|
|
Goto Forum:
Current Time: Fri Sep 20 03:20:12 CEST 2024
Total time taken to generate the page: 0.05340 seconds
|
|
|