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++ Library support » U++ Library : Other (not classified elsewhere) » U++ 1977 compile broblem.
U++ 1977 compile broblem. [message #24760] Fri, 29 January 2010 14:13 Go to next message
rett is currently offline  rett
Messages: 15
Registered: January 2010
Promising Member
HELP!!! I've updated to SVN 1977 and can't compile my application (Ubuntu linux)

I use linux_scripts/dosvn

plugin\png: 3 file(s) built in (0:00.64), 213 msecs / file, duration = 1784 msecs, parallelization 100%
ide: 42 file(s) built in (0:21.57), 513 msecs / file, duration = 22062 msecs, parallelization 18%
Linking...

/tmp/idebuild.ciL8186/CtrlLib/GCC.Blitz.Gui.Shared/$blitz.o: In function `Upp::TrayIcon::Message(int, char const*, char const*, int)':
$blitz.cpp:(.text+0x10056): undefined reference to `notify_init'
$blitz.cpp:(.text+0x10089): undefined reference to `notify_notification_new'
$blitz.cpp:(.text+0x1009b): undefined reference to `notify_notification_set_timeout'
$blitz.cpp:(.text+0x100a7): undefined reference to `notify_notification_show'
$blitz.cpp:(.text+0x100af): undefined reference to `notify_uninit'
collect2: ld returned 1 exit status

There were errors. (2:02.16)

ERROR - TheIDE returned '1' error code
Creating package......


b4b9ef0096f53f85f38f8c84bc5eabec

[Updated on: Fri, 29 January 2010 14:15]

Report message to a moderator

Re: U++ 1977 compile broblem. [message #24761 is a reply to message #24760] Fri, 29 January 2010 14:28 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
You need to install libnotify-dev package (name may be changed under different distributions). It is a new requirement.
Re: U++ 1977 compile broblem. [message #24764 is a reply to message #24760] Fri, 29 January 2010 14:43 Go to previous messageGo to next message
mr_ped is currently offline  mr_ped
Messages: 825
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
And I suggest Rebuild All afterwards ... just to be sure every object file is up to date.
Re: U++ 1977 compile broblem. [message #24768 is a reply to message #24761] Fri, 29 January 2010 14:59 Go to previous messageGo to next message
rett is currently offline  rett
Messages: 15
Registered: January 2010
Promising Member
cbpporter wrote on Fri, 29 January 2010 14:28

You need to install libnotify-dev package (name may be changed under different distributions). It is a new requirement.


$ sudo apt-get install libnotify-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libnotify-dev is already the newest version.

Quote:

And I suggest Rebuild All afterwards ... just to be sure every object file is up to date.


I rebuild all, but mistake remained.


b4b9ef0096f53f85f38f8c84bc5eabec
Re: U++ 1977 compile broblem. [message #24772 is a reply to message #24760] Fri, 29 January 2010 15:55 Go to previous messageGo to next message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
rett wrote on Fri, 29 January 2010 15:13

HELP!!! I've updated to SVN 1977 and can't compile my application (Ubuntu linux)

I use linux_scripts/dosvn

plugin\png: 3 file(s) built in (0:00.64), 213 msecs / file, duration = 1784 msecs, parallelization 100%
ide: 42 file(s) built in (0:21.57), 513 msecs / file, duration = 22062 msecs, parallelization 18%
Linking...

/tmp/idebuild.ciL8186/CtrlLib/GCC.Blitz.Gui.Shared/$blitz.o: In function `Upp::TrayIcon::Message(int, char const*, char const*, int)':
$blitz.cpp:(.text+0x10056): undefined reference to `notify_init'
$blitz.cpp:(.text+0x10089): undefined reference to `notify_notification_new'
$blitz.cpp:(.text+0x1009b): undefined reference to `notify_notification_set_timeout'
$blitz.cpp:(.text+0x100a7): undefined reference to `notify_notification_show'
$blitz.cpp:(.text+0x100af): undefined reference to `notify_uninit'
collect2: ld returned 1 exit status

There were errors. (2:02.16)

ERROR - TheIDE returned '1' error code
Creating package......


You better start to use uppbox/Scripts as linux_script are deprecated.
Your problem is related to linkage step. You may miss notify lib from libraries dependencies (it was added as dependency to CtrlCore), check if it exists there. If it's there then check if you have it installed in /usr/lib/ (libnotify.a /so).
Re: U++ 1977 compile broblem. [message #24777 is a reply to message #24772] Fri, 29 January 2010 17:33 Go to previous messageGo to next message
rett is currently offline  rett
Messages: 15
Registered: January 2010
Promising Member
andrei_natanael wrote on Fri, 29 January 2010 15:55

rett wrote on Fri, 29 January 2010 15:13

HELP!!! I've updated to SVN 1977 and can't compile my application (Ubuntu linux)

I use linux_scripts/dosvn

plugin\png: 3 file(s) built in (0:00.64), 213 msecs / file, duration = 1784 msecs, parallelization 100%
ide: 42 file(s) built in (0:21.57), 513 msecs / file, duration = 22062 msecs, parallelization 18%
Linking...

/tmp/idebuild.ciL8186/CtrlLib/GCC.Blitz.Gui.Shared/$blitz.o: In function `Upp::TrayIcon::Message(int, char const*, char const*, int)':
$blitz.cpp:(.text+0x10056): undefined reference to `notify_init'
$blitz.cpp:(.text+0x10089): undefined reference to `notify_notification_new'
$blitz.cpp:(.text+0x1009b): undefined reference to `notify_notification_set_timeout'
$blitz.cpp:(.text+0x100a7): undefined reference to `notify_notification_show'
$blitz.cpp:(.text+0x100af): undefined reference to `notify_uninit'
collect2: ld returned 1 exit status

There were errors. (2:02.16)

ERROR - TheIDE returned '1' error code
Creating package......


You better start to use uppbox/Scripts as linux_script are deprecated.
Your problem is related to linkage step. You may miss notify lib from libraries dependencies (it was added as dependency to CtrlCore), check if it exists there. If it's there then check if you have it installed in /usr/lib/ (libnotify.a /so).


Thank you,

I change uppsrc/CtrlCore/CtrlCore.upp
add "notify" in "library((LINUX | BSD) & !NOGTK)" line Smile

but uppbox/Scripts not work:
$ make
sh domake
make: *** uppsrc: No such file or directory.  Stop.
cp: cannot stat `uppsrc/ide.out': No such file or directory
make: *** [all] Error 1



b4b9ef0096f53f85f38f8c84bc5eabec
Re: U++ 1977 compile broblem. [message #24787 is a reply to message #24777] Fri, 29 January 2010 22:05 Go to previous messageGo to next message
andrei_natanael is currently offline  andrei_natanael
Messages: 262
Registered: January 2009
Experienced Member
Sorry but i'm confused. In first post you wanted to create a deb package (that's what dosvn is doing) and in last one you wanted to compile the ide with make. If you want to use make then download latest src package from http://code.google.com/p/upp-mirror/downloads/list and build it using make. If you have upp installed and want to build a newer version use the existing ide and make it pointing to new version, build it and use it. Only small changes were introduced in theIDE and they exist in latest builds from googlecode so you may use deb package from there(the easy way).
Re: U++ 1977 compile broblem. [message #24818 is a reply to message #24760] Sun, 31 January 2010 16:19 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
Hello

In linux_scripts there is a script to build .deb that works very well for me.

It has been done by dolik.rce based in the work of mdelfede.

It is used in the U++ announcements to get the i386 .deb.


Best regards
Iñaki
Re: U++ 1977 compile broblem. [message #24823 is a reply to message #24818] Sun, 31 January 2010 20:23 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Sun, 31 January 2010 10:19

Hello

In linux_scripts there is a script to build .deb that works very well for me.

It has been done by dolik.rce based in the work of mdelfede.

It is used in the U++ announcements to get the i386 .deb.


Actual script used for nightly builds is in uppbox/Scripts. It is still the same script.
Re: U++ 1977 compile broblem. [message #24824 is a reply to message #24823] Sun, 31 January 2010 21:10 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

luzr wrote on Sun, 31 January 2010 20:23

koldo wrote on Sun, 31 January 2010 10:19

Hello

In linux_scripts there is a script to build .deb that works very well for me.

It has been done by dolik.rce based in the work of mdelfede.

It is used in the U++ announcements to get the i386 .deb.


Actual script used for nightly builds is in uppbox/Scripts. It is still the same script.


Hi Mirek!

Sorry for off-topic, I just want to clarify the situation about scripts. The original script used for producing debs (which clone is still used for nightly builds) didn't work for Koldo for some reason. I couldn't really find why, since on my machine it was working fine. But in the process I've noticed few places in the code that could have been written better or simpler. Therefore I rewrote the stuff and it is now in linux_scripts and Koldo uses it for 32bit builds he puts on sf.net. (By the way, I recently found there is quite a lot of mistakes in all of those scripts and I'm working on their corrections.)

Honza
Re: U++ 1977 compile broblem. [message #24825 is a reply to message #24824] Sun, 31 January 2010 21:43 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3356
Registered: August 2008
Senior Veteran
dolik.rce wrote on Sun, 31 January 2010 21:10

luzr wrote on Sun, 31 January 2010 20:23

koldo wrote on Sun, 31 January 2010 10:19

Hello

In linux_scripts there is a script to build .deb that works very well for me.

It has been done by dolik.rce based in the work of mdelfede.

It is used in the U++ announcements to get the i386 .deb.


Actual script used for nightly builds is in uppbox/Scripts. It is still the same script.


Hi Mirek!

Sorry for off-topic, I just want to clarify the situation about scripts. The original script used for producing debs (which clone is still used for nightly builds) didn't work for Koldo for some reason. I couldn't really find why, since on my machine it was working fine. But in the process I've noticed few places in the code that could have been written better or simpler. Therefore I rewrote the stuff and it is now in linux_scripts and Koldo uses it for 32bit builds he puts on sf.net. (By the way, I recently found there is quite a lot of mistakes in all of those scripts and I'm working on their corrections.)

Honza

Hello Mirek

If linux_scripts is deprecated it is better to remove it.

Until today linux_scripts was the place to put these scripts so updates have been uploaded to that folder and .deb have been generated using it.


Best regards
Iñaki
Re: U++ 1977 compile broblem. [message #24832 is a reply to message #24824] Mon, 01 February 2010 09:37 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Sorry for the confusion. Should I delete linux_scripts now or wait for dolik to tell me to do so?

Mirek
Re: U++ 1977 compile broblem. [message #24833 is a reply to message #24832] Mon, 01 February 2010 09:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Well, after a bit of thinking, I have moved obsolete dirs to 'archive'.
Re: U++ 1977 compile broblem. [message #24834 is a reply to message #24787] Mon, 01 February 2010 10:28 Go to previous message
rett is currently offline  rett
Messages: 15
Registered: January 2010
Promising Member
andrei_natanael wrote on Fri, 29 January 2010 22:05

Sorry but i'm confused. In first post you wanted to create a deb package (that's what dosvn is doing) and in last one you wanted to compile the ide with make. If you want to use make then download latest src package from http://code.google.com/p/upp-mirror/downloads/list and build it using make. If you have upp installed and want to build a newer version use the existing ide and make it pointing to new version, build it and use it. Only small changes were introduced in theIDE and they exist in latest builds from googlecode so you may use deb package from there(the easy way).


Thank you.


b4b9ef0096f53f85f38f8c84bc5eabec
Previous Topic: Wrong icon16x16.png file
Next Topic: [BUG] Win32DnD.cpp: tagPOINT has no member named ToString
Goto Forum:
  


Current Time: Thu Apr 18 22:52:24 CEST 2024

Total time taken to generate the page: 0.03651 seconds