Pelles C forum

Pelles C => General discussions => Topic started by: JeanPaul on September 18, 2006, 05:16:17 AM

Title: dll help
Post by: JeanPaul on September 18, 2006, 05:16:17 AM
Hi everybody,
I'm trying to make a dynamic link library using Pelles C. I have some source files and header files (of course!). Here is what I did:
I started a project for making dlls (in the project wizard)
I added the source and header file to the project and tried to build the dll
The object files got built but when the dll should be built then I got an error saying that  POLINK couldn't find some symbols or something like that.
what did I do wrong?
The files can be found as attachement
Greatfull for any reply.
Title: dll help
Post by: frankie on September 18, 2006, 02:04:14 PM
Probably you have to add some WIN32 libraries to the link stream.
Please post the PellesC converted project (not the original source distribution) or tell us what symbols the linker miss.
Title: dll help
Post by: JeanPaul on September 18, 2006, 03:07:46 PM
Hi,
thanx for the suggestion. The thing is that all symbols miss. That why I sent the source codes...
Title: dll help
Post by: frankie on September 18, 2006, 04:15:18 PM
Source code is ok. But in the pellesC format not the downloaded form.
If you want you can: open the project in the PelleC ide, in the menu Project->Zip files, this will create a zip with your project containing sources and defs. Then post the project.
Title: dll help
Post by: JeanPaul on September 19, 2006, 12:24:38 AM
ok, thanx. I will
Title: dll help
Post by: JeanPaul on September 19, 2006, 12:32:44 AM
Et voilĂ ...
Title: dll help
Post by: frankie on September 19, 2006, 03:42:36 PM
Sorry JeanPaul,
your code is correct more or less, but the library you want compile is just a wrapper to call from C the BasicLinearAlgebraSubprogram library that is write in FORTRAN :cry:
The symbols you miss are from the real BLAS Fortran library, that is in fortran  #-o
You cannot compile this unless you also build the fortran library (means you need also a fortran77 compiler). Maybe you can find a precompiled version somewhere...
Good luck
Title: dll help
Post by: JeanPaul on September 19, 2006, 04:31:52 PM
Thanx a lot for your time.  I will try to find a precompiled version.  But if you know some C library that can handle large scale vector (or matrix) then let me know.
Thanx again...  :wink: