Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » my app doesn't compile under Linux ubuntu 5.10
my app doesn't compile under Linux ubuntu 5.10 [message #3405] Tue, 23 May 2006 22:50 Go to previous message
forlano is currently offline  forlano
Messages: 1187
Registered: March 2006
Location: Italy
Senior Contributor
Hello,

here http://www.arilect.com/upp/forum/index.php?t=msg&th=1026 &start=0& I've posted my package that work pretty well under windows (with mingw compiler).
I tried to compile it under linux (ubuntu 5.10) but I get some error regarding the file .iml. It seems, say the compiler, I've redefined the images present in the *iml file. To say the truth I have non completely understood how the .iml works inside the package and the #define and #include that are used to let it to work. But it works under windows and it is OK. But why do not wotk under linux?
If somebody has time to loose with that package under linux should be aware to substitued in the file Newtournament.cpp
//#ifdef PRINT_DOS
    f1 = TD.PATHDIR + "\\www" + TD.FILETORNEO;
    mkdir(f1);
//#endif

//#ifdef LINUX
//    f1 = "mkdir " + TD.PATHDIR + "/www/" + TD.FILETORNEO;
//    system( f1 );
//#endif

with
//#ifdef PRINT_DOS
//    f1 = TD.PATHDIR + "\\www" + TD.FILETORNEO;
//    mkdir(f1);
//#endif

//#ifdef LINUX
    f1 = "mkdir " + TD.PATHDIR + "/www/" + TD.FILETORNEO;
    system( f1 );
//#endif

(a quick a dirty way to create a directory. Perhaps I should prefer the MkDir method of FileSel class)

Luigi
 
Read Message
Read Message
Read Message
Previous Topic: How to produce target *.lib?
Next Topic: BRC reference example problem
Goto Forum:
  


Current Time: Tue May 28 12:33:28 CEST 2024

Total time taken to generate the page: 0.01835 seconds