[Ecls-list] MT linking to C app fails

Dean O'Connor dean.oconnor at ite.com.au
Tue Oct 11 17:38:51 UTC 2005


doh !!

yeah I thought I'd tried that, but was missing a comma next to 
ECL_THREADS (in MSVC project settings) and it happily ignored it :)

My app compiles ok now. Thx :)

Dean.

Goffioul Michael wrote:

>>Hello
>>
>>With today's CVS copy, I can compile and get all the 
>>Multithreaded exe 
>>and libs, but when I link it with my C++ app I now get:
>>
>>error LNK2001: unresolved external symbol __imp__cl_env
>>
>>Am initialsing ECL wrongly ??? I didn't change anything from 
>>my single 
>>threaded approach yet !!
>>I see in the elc-threads.def there is no cl_env ... only 
>>cl_process_env.
>>
>>So I am probably being silly but I can't find the doco on 
>>what I should 
>>use for MT !!!!
>>    
>>
>
>You should compile your C++ app with -DECL_THREADS
>
>Michael.
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Power Architecture Resource Center: Free content, downloads, discussions,
>and more. http://solutions.newsforge.com/ibmarch.tmpl
>_______________________________________________
>Ecls-list mailing list
>Ecls-list at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/ecls-list
>  
>




More information about the ecl-devel mailing list